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
Anonymous
Not applicable

Server Name provided does not match the server name on the SQL Server SSL Certificate

From PowerBi Desktop, when connecting to a SQL Server using the servers FQDN and using either Windows Authentiation or Microsoft Account (with Microsoft Account being our perfered method), we get the error "Server Name provided does not match the server name on the SQL Server SSL Certificate".  We are not using any kind of SQL Server encryption and I have confirmed that this is not enabled in PBI Desktop.  Ultimitally we want to use the "Microsoft Account" authentication and Powerbi will not allow us to bypass this error when signed in with the Microsoft Account.

 

Why am I getting this error and what needs to be done to get rid of it.  

 

WindowsAccount.PNGMicrosoftAccount.PNGEncryptionDisabled.PNG

 

 

4 REPLIES 4
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

amitchandak
Super User
Super User

@Anonymous , refer if this can help to solve

https://stackoverflow.com/questions/36817627/ssl-certificate-missing-from-dropdown-in-sql-server-configuration-manager

Share with Power BI Enthusiasts: Full Power BI Video (20 Hours) YouTube
Microsoft Fabric Series 60+ Videos YouTube
Microsoft Fabric Hindi End to End YouTube
Anonymous
Not applicable

This seems article seems to be showing the process for enabling encryption for connections to the SQL server.  What if we specifically do not want to use encryption? 

 

That is, nothing else in our environment is using encryption and our DBA do not wish to enable it just for PowerBi.  

Anonymous
Not applicable

Hi @Anonymous 

I find some posts with similar issue like yours. I hope they can help you solve your problem.

For reference: The server name provided doesn't match the server name on the SQL Server SSL certificate.

Need help connecting Microsoft SQL Server to Microsoft Power BI

 

Best Regards,
Rico Zhou

 

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

 

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.

Top Solution Authors