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

Data Days is here! Join us now for 60+ days of learning, challenges, and connection. Learn more

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

4 REPLIES 4
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

Thanks, I did the same and issue resolved now.

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

 

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
Fabric Data Days is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

Check out the May 2026 Power BI update to learn about new features.

Power BI DataViz World Championships carousel

Power BI DataViz World Championships - June 2026

A new Power BI DataViz World Championship is coming this June! Don't miss out on submitting your entry.