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

Join us at FabCon Atlanta from March 16 - 20, 2026, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM. 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
Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

October Power BI Update Carousel

Power BI Monthly Update - October 2025

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

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.