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

Compete to become Power BI Data Viz World Champion! First round ends August 18th. Get started.

Reply
PremK
Resolver I
Resolver I

Unable to connect SQL Server with PBI

I had connected this SQL Server with SSMS and its connected well and able to interact with the data bases and tables in it.

But while i tried to connect the same SQL Server with Power BI to create reports its showing error like 

PremK_0-1726139574976.png

 

 

provider: SSL Provider, error: 0 - The certificate chain was issued by an authority that is not trusted.

I had tried with these Certificate Revocation options in PBI Desktop Settings, but it doesn't help me out 

PremK_1-1726139575189.png

 

Also done these two steps, but nothing helps - 
1. Adding / Editing Environment Variable  - the variable name should be Name of the SQL Server.
2. Updating PBI Desktop Config file in this path
C:\Users\<YourUsername>\AppData\Local\Microsoft\Power BI Desktop\User.zip
updating this - <setting name="SqlTrustedServers" serializeAs="String"> <value>NAMES OF YOUR SQL SERVERS </value> </setting>

 


kindly provide me solution to Connect SQL Server and PBI...

3 REPLIES 3
Anonymous
Not applicable

Hi dharmendars007 ,thanks for the quick reply, I'll add more.

Hi @PremK ,

Regarding your issue, please make sure that the certificate used by SQL Server is in the Trusted Root Certification Authority store of the computer running Power BI Desktop. For more information, please refer to the following article, I hope it will help you.

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

 

Best Regards,
Wenbin Zhou

dharmendars007
Super User
Super User

Hello @PremK ,

 

You can connect try the below step also you can in the global permission setting re-connect the data source you are trying to connect.

 

Update Power BI Settings:

  • Go to the "Data Source Settings" in Power BI.
  • Select your SQL Server connection and click on "Edit Permissions."
  • Ensure that "Encrypt Connection" is checked if SSL is required. If your server doesn’t require SSL, you may uncheck this option, but this may compromise security.

If you find this helpful , please mark it as solution and Your Kudos are much appreciated!

 

Thank You

Dharmendar S

LinkedIN 

The Encrypt Connection was already unchecked, and this doesn't solved this issue.

 

kindly give any other solutiones pls

Helpful resources

Announcements
August Power BI Update Carousel

Power BI Monthly Update - August 2025

Check out the August 2025 Power BI update to learn about new features.

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.

Top Solution Authors