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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
sarah1212
New Member

Certificate Chain Issue

I am an employee of the Dept. of Veterans Affairs, so I am able to login to Power BI with my government login. I have put in the correct server information to pull data from a SQL server. I get the following information "We encountered an error while trying to connect. Details: "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.)""

3 REPLIES 3
Nick_Oetjen
New Member

Problem might occur from an outdated version of SQL Server, since v14 does not encrypt by default. Younger versions do, and it is possible to establish an encrypted communication for v14. However, this is not always easy to solve. PowerBI nowadays expects an encryption and lets the connection fail.

 

You might try to set up a ODBC-Connection, which accepts the way the SQL Server is configured: 

- run dialog box by pressing Windows+R and click OK

- Enter command odbcad32 , choose 64-Bit-Version , and press ENTER, then Add

- Select an appropriate Driver, at least "ODBC Driver 17 for SQL Server", not the Native Client (!). (Install if needed.)

- Work your way through. On the last page of setting, choose

 

Nick_Oetjen_0-1716461590235.png

 

That's it. In PowerBI / PowerQuery, use a new source for ODBC , not SQL Server.

 

Nick_Oetjen_1-1716461708441.png

 

Select the new ODBC-Connection and enter your credentials.

 

 

josef78
Memorable Member
Memorable Member

Ask our database administrator, how connect to this server. If you trying connect from Power BI Desktop,, probably, there are two options, you must install correct authority certificate, or you must turn off SLL in connection to SQL server.

MattThomas
Frequent Visitor

Were you able to figure this out? I am having the same issue

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

Dec Fabric Community Survey

We want your feedback!

Your insights matter. That’s why we created a quick survey to learn about your experience finding answers to technical questions.

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.