Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

To celebrate FabCon Vienna, we are offering 50% off select exams. Ends October 3rd. Request your discount now.

Reply
Pavan_123456789
Helper III
Helper III

Assistance Required with SQL Server Standard Mode On-Premises Gateway Connection Error

I am encountering an error while attempting to connect to SQL Server Standard Edition through the on-premises data gateway. The issue seems to be related to the configuration or connection in Standard mode. Please note that I have provided the correct credentials, so the problem does not appear to be related to authentication.

Could you kindly assist in reviewing the setup or provide guidance on resolving this error? Any help you can offer would be greatly appreciated. Please let me know if you need further details or logs to assist with troubleshooting


Unable to update connection credentials. Unable to connect to the data source. Either the data source is inaccessible, a connection timeout occurred, or the data source credentials are invalid. Please verify the data source configuration and contact a data source administrator to troubleshoot this issue.

Details: Production Gateway: Microsoft SQL: A connection was successfully established with the server, but then an error occurred during the login process. (provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.) Please have this information handy if you choose to create a support ticket.
1 ACCEPTED SOLUTION
Anonymous
Not applicable

Thank you @Daryl-Lynch-Bzy 

Hi, @Pavan_123456789 

The current error is that it is now the default behavior for all PBI desktop and gateway versions that are equal to or higher than the February 2024 release.
You can solve this problem by doing the following:
In the gateway configuration (Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.dll.config), you can use a new setting called "SqlTrustedServers" in the same way:

<setting name="SqlTrustedServers" serializeAs="String">
    <value> *spintoptoys,sql*,*.contoso.com</value>
</setting>

This will match the local SQL servers "sqlservertopspintoptoys", "sql-yyz-5", "sqlazure.contoso.com" and "SQL5150.contoso.com ".
Note that wildcards expand only in the server name, not in the domain extension. The example above doesn't match the "SQL33.subsite.contoso.com" example.
Also note that SQL Server instances that require a port number cannot specify the port in the usual way, i.e., "*spintopsql,1443", because a comma indicates the new server name. Instead, add a wildcard at the end, for example: "spintopsql*" or ".contoso.com"

You can refer to the following official documentation:

Power Query SQL Server connector - Power Query | Microsoft Learn

vjianpengmsft_0-1726798142827.png

To prevent unexpected errors, you need to back up your gateway profile in advance and work with your IT department to practice this method.

 

 

Best Regards

Jianpeng 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

6 REPLIES 6
Anonymous
Not applicable

Thank you @Daryl-Lynch-Bzy 

Hi, @Pavan_123456789 

The current error is that it is now the default behavior for all PBI desktop and gateway versions that are equal to or higher than the February 2024 release.
You can solve this problem by doing the following:
In the gateway configuration (Microsoft.PowerBI.DataMovement.Pipeline.GatewayCore.dll.config), you can use a new setting called "SqlTrustedServers" in the same way:

<setting name="SqlTrustedServers" serializeAs="String">
    <value> *spintoptoys,sql*,*.contoso.com</value>
</setting>

This will match the local SQL servers "sqlservertopspintoptoys", "sql-yyz-5", "sqlazure.contoso.com" and "SQL5150.contoso.com ".
Note that wildcards expand only in the server name, not in the domain extension. The example above doesn't match the "SQL33.subsite.contoso.com" example.
Also note that SQL Server instances that require a port number cannot specify the port in the usual way, i.e., "*spintopsql,1443", because a comma indicates the new server name. Instead, add a wildcard at the end, for example: "spintopsql*" or ".contoso.com"

You can refer to the following official documentation:

Power Query SQL Server connector - Power Query | Microsoft Learn

vjianpengmsft_0-1726798142827.png

To prevent unexpected errors, you need to back up your gateway profile in advance and work with your IT department to practice this method.

 

 

Best Regards

Jianpeng Li

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

Hi @Anonymous  

Thank you so much for providing the solution. It looks promising, and I believe it will work for my requirements. I will test it and get back to you with any feedback.

Anonymous
Not applicable

hi, @Pavan_123456789 

Thank you very much for your reply. Hope to be able to solve your current problem with it.

 

Best Regards

Jianpeng Li

Hi @Anonymous 

Thank you so much for your assistance. The solution works perfectly!

Pavan_123456789
Helper III
Helper III

Hi @Daryl-Lynch-Bzy  Thanks very much I will check with my Network team 

Daryl-Lynch-Bzy
Resident Rockstar
Resident Rockstar

Hi @Pavan_123456789 - I am sorry, but you really need to discuss this with your DBA and Networking team to resolve the issue, or create a Microsoft Support ticket to trouble-shoot this type of issue.

Helpful resources

Announcements
September Power BI Update Carousel

Power BI Monthly Update - September 2025

Check out the September 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors
Top Kudoed Authors