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

Join us for an expert-led overview of the tools and concepts you'll need to become a Certified Power BI Data Analyst and pass exam PL-300. Register now.

Reply
Anonymous
Not applicable

DataSource.Error: Microsoft SQL: A connection was successfully established with the server, but then

hi all,

since this morning i suddenly have this message "DataSource.Error: 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.)". Am using a SQL db connection and use a Microsoft account to logon. Unfortunately, the connection refuses to work ( Message=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.)
Number=-2146893019
Class=20)

Hope you can help me out

thanks

M

1 ACCEPTED SOLUTION
Anonymous
Not applicable

hi Qiuyun,

 

i do not think it was related to the connection, this morning i changed from organisational account to windows account and the issue was solved.... So, thank you very much for your support, the issue is been solved.

M

View solution in original post

3 REPLIES 3
tamsan
New Member

hello There, 

 

I have the same error message- I retrieve data into Power BI desktop from a query in Excel, but when refreshing the data in Power BI i get the error

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.)

 

How can i solve?

 

thank you so much in advance

 

tamsan

 

Anonymous
Not applicable

hi Qiuyun,

 

i do not think it was related to the connection, this morning i changed from organisational account to windows account and the issue was solved.... So, thank you very much for your support, the issue is been solved.

M

v-qiuyu-msft
Community Support
Community Support

Hi @Anonymous, 

 

Does the issue happen in Power BI desktop or service? It looks like you are using the encrypted connection to connect to SQL database then causes the error. 

 

Please refer to this similar thread to troubleshoot the issue: https://stackoverflow.com/questions/17615260/the-certificate-chain-was-issued-by-an-authority-that-is-not-trusted-when-conn

 

Best Regards,
Qiuyun Yu 

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

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 2025 Power BI Update Carousel

Power BI Monthly Update - June 2025

Check out the June 2025 Power BI 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.