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
christina4444
Helper I
Helper I

Certificate Chain Not Trusted Error Effecting PowerBI Only

Hi Community,

 

I am receiving the following error message when trying to connect to SQL Server:

 

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

 

I only receive this error when connecting PowerBI, but not connecting through Sql Server Management Studio.

 

I need to connect to a Database (versus using Microsoft or Windows acct):

Picture.png

 

Thank you! 

Christina

1 ACCEPTED SOLUTION

Thank you @v-linyulu-msft !

 

I ended up adding an ODBC Driver 17 for SQL Server Connector and accessing the data in Power BI through ODBC instead and it seems to work.

 

Thanks again!

Christina

View solution in original post

4 REPLIES 4
christina4444
Helper I
Helper I

Hi @v-linyulu-msft!   Thanks for the reply.

 

I am not able to access this server through SSMS using Windows Authentication.  I use SQL Server Authentication using a log in and password.  Does this alter any of the instructions given above?

 

Also, I did review this blog prior:

SSL Security Error with Data Source | Microsoft Power BI Blog | Microsoft Power BI

I'm unclear on what Trusted Root CA I would be looking for to verify I have it on my computer.  It mentions:  "What is missing here is the item that will cause us to trust the certificate that is being presented by SQL Server."

 

But do you know what the CA woud be called that I am looking for to verify if I have it or not?

 

Thanks so much,

Christina

HI,@christina4444

Thanks for your quick reply, I can feel your effort.

 

Here is my solution to your question:

 

1.First of all,if you want to log in using SQL Server Authentication, you can also try it, except that the first step is different, the other steps are the same. I'm not sure if your sql account can create a new login, but you can try it, it's the easiest way I've found so far.

 

2.In my research on your problem, I found a screenshot of an error similar to yours:

vlinyulumsft_0-1719389500032.png

 

 

If you also encounter this problem, you can try clicking on the icon below

 

vlinyulumsft_1-1719389500033.png

 

3.And, if you are not sure which CA is missing, you may need to contact your IT department or SQL Server's administrator for more help. What we can see now is limited.

 

If you need any further help, please don't hesitate to let me know. I will do my best to support you.

 

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.


 

Thank you @v-linyulu-msft !

 

I ended up adding an ODBC Driver 17 for SQL Server Connector and accessing the data in Power BI through ODBC instead and it seems to work.

 

Thanks again!

Christina

v-linyulu-msft
Community Support
Community Support

Hi,@christina4444 

Regarding the issue you raised, my solution is as follows:

In my test, using Microsoft account verification, the following error screenshot appeared:

vlinyulumsft_0-1719297504512.png

1.If you have created a credential authentication method for sql data sources, you can edit the permission in the following page in the desktop:

vlinyulumsft_1-1719297526641.png

vlinyulumsft_2-1719297536389.png

https://www.c-sharpcorner.com/article/edit-or-remove-permission-from-existing-data-source-connection...

2.First you need to open SQL server Configuration Management, open the project, and then restart the computer:

vlinyulumsft_3-1719297565071.pngvlinyulumsft_4-1719297570623.png

3.Log in to the database using window authentication:
 

vlinyulumsft_5-1719297588077.png

4.Next, right-click on the server to open properties:

vlinyulumsft_6-1719297602503.png

5.Select Security in the pop-up server tree menu, then select SQL server and windows Authentication Mode:

vlinyulumsft_7-1719297615372.png

6.Log in to SQLserver as your domain user, change the password, and continue to restart the computer.

vlinyulumsft_8-1719297628406.png

vlinyulumsft_9-1719297632940.png

7.Then you can select "Database" in the SQLserver connection credentials, the following screenshot may appear, click "ok" can be.

vlinyulumsft_10-1719297649182.png

 

8.The following relevant documentation hope to help you:

SSL Security Error with Data Source | Microsoft Power BI Blog | Microsoft Power BI

Power Query SQL Server connector - Power Query | Microsoft Learn

 

Best Regards,

Leroy Lu

If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

 

 

 

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.