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

Try your skills in the Power BI Dataviz World Championship! Round one ends June 26. Join 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 is here Carousel

Fabric Data Days 2026

Don't miss out on Data Days, June 15 through August 7. Learn Fabric, Power BI, SQL, AI and more.

May Power BI Update Carousel

Power BI Monthly Update - May 2026

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

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.