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

Join us at FabCon Vienna from September 15-18, 2025, for the ultimate Fabric, Power BI, SQL, and AI community-led learning event. Save €200 with code FABCOMM. Get registered

Reply
VictorMed
Frequent Visitor

On-Premises Data Gateway Error

Hi All,

 

We encountered an issue with an on-premises data gateway connecting to a VM hosting an on-premises SQL Server.

 

For context, the solution has been running for almost 10 months without connectivity issues.

The first encountered error was:

VictorMed_0-1744371809488.png

We then fixed the issue by updating the data gateway agent to the latest version; the one used was from a year ago.

That fixed that issue, but then it brought a new one:

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.),},],''Type=System.ComponentModel.Win32Exception,Message=The certificate chain was issued by an authority that is not trusted,Source=,'

 

We fixed the above by changing the connection to the SQL server to non-encrypted.

The question is, we never ticked the box of encrypted connexion. Is this a known case when updating the gateway? What could have caused the change?

 

Thanks,

Victor

 

2 ACCEPTED SOLUTIONS
lbendlin
Super User
Super User

yes, you will want to consider hard before disabling encryption.  Better to update the certificate on the SQL server.

View solution in original post

v-pbandela-msft
Community Support
Community Support

Hi @VictorMed,

Thank you for reaching out in Microsoft Community Forum.

Thank you @lbendlin  for the helpful response.

Please follow below steps to resolve the error;

1.Make sure the certificate is valid, not expired, and signed by a trusted certificate authority (CA).

2.Install any missing intermediate or root certificates on the gateway machine.

3.Make sure the gateway and SQL Server support SSL/TLS encryption, and the settings align.

4.Test the connection again with encryption enabled after fixing the certificate trust issues.

Please continue using Microsoft community forum.

If you found this post helpful, please consider marking it as "Accept as Solution" and give it a 'Kudos'. if it was helpful. help other members find it more easily.

Regards,
Pavan.

View solution in original post

5 REPLIES 5
v-pbandela-msft
Community Support
Community Support

Hi @VictorMed,

I wanted to follow up since we haven't heard back from you regarding our last response. We hope your issue has been resolved.
If the community member's answer your query, please mark it as "Accept as Solution" and select "Yes" if it was helpful.
If you need any further assistance, feel free to reach out.

Please continue using Microsoft community forum.

Thank you,
Pavan.

v-pbandela-msft
Community Support
Community Support

Hi @VictorMed,

I hope this information is helpful. Please let me know if you have any further questions or if you'd like to discuss this further. If this answers your question, kindly "Accept  as  Solution" and give it a 'Kudos' so others can find it easily.

Thank you,
Pavan.

v-pbandela-msft
Community Support
Community Support

Hi @VictorMed,

I wanted to check if you had the opportunity to review the information provided. Please feel free to contact us if you have any further questions. If my response has addressed your query, please "Accept  as  Solution" and give a 'Kudos' so other members can easily find it.

Thank you,
Pavan.

v-pbandela-msft
Community Support
Community Support

Hi @VictorMed,

Thank you for reaching out in Microsoft Community Forum.

Thank you @lbendlin  for the helpful response.

Please follow below steps to resolve the error;

1.Make sure the certificate is valid, not expired, and signed by a trusted certificate authority (CA).

2.Install any missing intermediate or root certificates on the gateway machine.

3.Make sure the gateway and SQL Server support SSL/TLS encryption, and the settings align.

4.Test the connection again with encryption enabled after fixing the certificate trust issues.

Please continue using Microsoft community forum.

If you found this post helpful, please consider marking it as "Accept as Solution" and give it a 'Kudos'. if it was helpful. help other members find it more easily.

Regards,
Pavan.

lbendlin
Super User
Super User

yes, you will want to consider hard before disabling encryption.  Better to update the certificate on the SQL server.

Helpful resources

Announcements
Join our Fabric User Panel

Join our Fabric User Panel

This is your chance to engage directly with the engineering team behind Fabric and Power BI. Share your experiences and shape the future.

June FBC25 Carousel

Fabric Monthly Update - June 2025

Check out the June 2025 Fabric update to learn about new features.

June 2025 community update carousel

Fabric Community Update - June 2025

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