Forum Discussion
IS the problem in gateway or credentials?
- 8 months ago
Hi JulieKucher ,
To what I can understand from your post you have a connection trough a gateway correct? Did you create the connection string in Power BI Service?
If you have check if on the gateway of the semantic model you have the correct connection selected.
When using a gateway the credentials come from the gateway connection so the problem may be on your connection.
Go and double check if the connection string is making the correct login.
If you see “Failed to test the connection”, it means the Service cannot authenticate or reach the database, even though Desktop can.
If you used Azure AD (MFA) in Desktop, it will often fail in Service.
For scheduled refresh, use:
Azure AD – Service Principal (recommended), or
SQL authentication (username/password).
MFA user accounts are a common reason for “Failed to test connection”.