Showing results for 
Search instead for 
Did you mean: 

Fabric is Generally Available. Browse Fabric Presentations. Work towards your Fabric certification with the Cloud Skills Challenge.

Helper III
Helper III

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:


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:


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:



Anyone have any thoughts on this?

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



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

PBI November 2023 Update Carousel

Power BI Monthly Update - November 2023

Check out the November 2023 Power BI update to learn about new features.

Community News

Fabric Community News unified experience

Read the latest Fabric Community announcements, including updates on Power BI, Synapse, Data Factory and Data Activator.

Dashboard in a day with date

Exclusive opportunity for Women!

Join us for a free, hands-on Microsoft workshop led by women trainers for women where you will learn how to build a Dashboard in a Day!

Power BI Fabric Summit Carousel

The largest Power BI and Fabric virtual conference

130+ sessions, 130+ speakers, Product managers, MVPs, and experts. All about Power BI and Fabric. Attend online or watch the recordings.

Top Solution Authors