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

Next up in the FabCon + SQLCon recap series: The roadmap for Microsoft SQL and Maximizing Developer experiences in Fabric. All sessions are available on-demand after the live show. Register now

Reply
Paramjit
Helper II
Helper II

SSL provider error while connecting to SQL server from Power BI

Hello Team,

 

one of our user is getting SSL provider error "the certificate chain issued by authority that is not trusted" while connecting to SQL server from Powre BI.

 

But he is able to connect by passing the port number with server name.

 

It looks like it is system specific. 

 

Do you have any suggestions so that we can solve this error. 

 

Thank you,

Paramjit 

1 ACCEPTED SOLUTION
v-easonf-msft
Community Support
Community Support

Hi, @Paramjit 

Please switch the connection type from MSFT account to Windows.

veasonfmsft_0-1655090173823.png

For more details, please refer to thses same thread.

Certificate-Chain-Not-Trusted-Error-Effecting-PowerBI-Only 

login-error-while-connecting-sql-database-through-power-bi 

error-message-when-you-connect 

 

Best Regards,
Community Support Team _ Eason

View solution in original post

5 REPLIES 5
rgouette
Helper II
Helper II

@raomohsin54  Legend x2
Helped in August, 2025

RaoMohsin6054
Frequent Visitor

To resolve the SSL certificate error in Power BI, create an environment variable PBI_SQL_TRUSTED_SERVERS with your SQL Server's name, then restart Power BI. This bypasses the server name mismatch issue.

Refer to the article

@RaoMohsin6054 Legend! Thanks for this.

v-easonf-msft
Community Support
Community Support

Hi, @Paramjit 

Please switch the connection type from MSFT account to Windows.

veasonfmsft_0-1655090173823.png

For more details, please refer to thses same thread.

Certificate-Chain-Not-Trusted-Error-Effecting-PowerBI-Only 

login-error-while-connecting-sql-database-through-power-bi 

error-message-when-you-connect 

 

Best Regards,
Community Support Team _ Eason

Thank you @v-easonf-msft  

 

Windows account worked for us..Also one thing we had to remove the global permissions and then we create a new connection.

 

 

Thank you,

Paramjit

Helpful resources

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

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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

Users online (8,385)