cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
VinnyClegg
Advocate I
Advocate I

Gateway Error - We weren't able to add this connection. Please try again

 

 I currently am trying to connect to an on premis gateway, which works in Power BI.However, in PowerApps i get the following error:

 

 

Credentials are missing or not valid.
     inner exception: The credentials provided for the SQL source are invalid. (Source at XXXXX;XXXXX.)
clientRequestId: 813134a7-ca9e-3e10-e844-65ec1592e95b

Session ID: 102b82ee-847f-c041-aa89-1940671a38a8

 

I have chosen windows authentication, as this is the typr we use to connect to the server. 

 

 

 

2 ACCEPTED SOLUTIONS

Accepted Solutions
v-monli-msft
Community Support
Community Support

Hi @VinnyClegg,

 

Make sure that you have followed the steps the documention below:

https://powerapps.microsoft.com/en-us/tutorials/gateway-reference/

https://powerapps.microsoft.com/en-us/tutorials/gateway-management/

https://powerapps.microsoft.com/en-us/blog/connect-to-your-on-premises-data-sources-using-on-premise...

 

If you still get the error, please take a screenshot of your configuration.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Its fine, I actuallt solved it just before your response. I hadnt put my domain before my username. Thank you for your response though. 

 

For anyone else who has an issue, the username needs to be in the format:

 

Domain\Username

 

 

View solution in original post

2 REPLIES 2
v-monli-msft
Community Support
Community Support

Hi @VinnyClegg,

 

Make sure that you have followed the steps the documention below:

https://powerapps.microsoft.com/en-us/tutorials/gateway-reference/

https://powerapps.microsoft.com/en-us/tutorials/gateway-management/

https://powerapps.microsoft.com/en-us/blog/connect-to-your-on-premises-data-sources-using-on-premise...

 

If you still get the error, please take a screenshot of your configuration.

 

Regards,

Mona

Community Support Team _ Mona Li
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

View solution in original post

Its fine, I actuallt solved it just before your response. I hadnt put my domain before my username. Thank you for your response though. 

 

For anyone else who has an issue, the username needs to be in the format:

 

Domain\Username

 

 

View solution in original post

Helpful resources

Announcements
UG GA Amplification 768x460.png

Launching new user group features

Learn how to create your own user groups today!

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

M365 768x460.jpg

Microsoft 365 Collaboration Conference | December 7–9, 2021

Join us, in-person, December 7–9 in Las Vegas, for the largest gathering of the Microsoft community in the world.

Top Solution Authors
Top Kudoed Authors
Users online (2,366)