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

Get certified in Microsoft Fabric—for free! For a limited time, the Microsoft Fabric Community team will be offering free DP-600 exam vouchers. Prepare 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
OCT PBI Update Carousel

Power BI Monthly Update - October 2024

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

September Hackathon Carousel

Microsoft Fabric & AI Learning Hackathon

Learn from experts, get hands-on experience, and win awesome prizes.

October NL Carousel

Fabric Community Update - October 2024

Find out what's new and trending in the Fabric Community.

Top Solution Authors
Top Kudoed Authors