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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register 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
April Power BI Update Carousel

Power BI Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.