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

Be one of the first to start using Fabric Databases. View on-demand sessions with database experts and the Microsoft product team to learn just how easy it is to get started. Watch now

Reply
kewaynes
Helper IV
Helper IV

Refresh Failing While Connecting with a SQL Server Private Link

I have been requested by the stakeholders for a report to connect to the SQL database using a private link, like below:

xxxxxxxxxxxx.privatelink.database.windows.net

 

After adding this text to my pcs host file and connecting to a vpn, I was able to connect in the power bi desktop. However, I did encounter the below message:

kewaynes_0-1687875217187.png

I was instructed by my company's IT team that it was ok to bypass this and just click 'OK'. Doing so allowed me to access the data in Power BI desktop and I thought all was good.

 

However, when I try to refresh the same report in the service, I get a similar 'error', only I don't see an option to override it in the service like I did in the desktop. Error in the service:

kewaynes_1-1687875402447.png

 

Anyone have any thoughts on this?

1 REPLY 1
v-yueyunzh-msft
Community Support
Community Support

Hi , @kewaynes 

According to your description, when you refresh the data in Power BI Service , you get the error code "The server name provided doesn't match the server name on the SQL Server SSL certificate.".

 I found a similar issue which was fixed by specifying FQDN for SQL Server data source under on-premises data gateway. For more information, please refer to this thread: 

Solved: Certifiticate problem w enterprise gateway import ... - Microsoft Fabric Community

 

And also you can refer to this document:

What's New - ADO.NET | Microsoft Learn

vyueyunzhmsft_0-1688004653791.png

 

By another , i find some similar cases like your error code , you can also refer to  and i hope it can help you:
Solved: The server name provided doesn't match the server ... - Microsoft Fabric Community

Lesson Learned #182: The server name provided doesn't match the server name on the SQL Server SSL - ...

 

Thank you for your time and sharing, and thank you for your support and understanding of PowerBI! 

 

Best Regards,

Aniya Zhang

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

 

Helpful resources

Announcements
Las Vegas 2025

Join us at the Microsoft Fabric Community Conference

March 31 - April 2, 2025, in Las Vegas, Nevada. Use code MSCUST for a $150 discount!

ArunFabCon

Microsoft Fabric Community Conference 2025

Arun Ulag shares exciting details about the Microsoft Fabric Conference 2025, which will be held in Las Vegas, NV.

December 2024

A Year in Review - December 2024

Find out what content was popular in the Fabric community during 2024.