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

We've captured the moments from FabCon & SQLCon that everyone is talking about, and we are bringing them to the community, live and on-demand. Starts on April 14th. Register now

Reply
Anonymous
Not applicable

Need Help to Connect ODBC DataSource through VNET Gateway

So there is this SQL Server that I need to connect to - I can't use the inbuilt "SQL Server" Get Data feature as the DB requires me to set EnableServerCertificate and Encrypt to true which I can't do. I found a way to do that through an ODBC connection string and everything worked fine in my Desktop. Now this Server also has public access disabled, so to I had to greate a VNET Gateway and whitelist that Subnet. But now it seems like I can't connect directly to that VNET for ODBC sources. 

rishabh2401_0-1725466842667.png

Does someone know a way to - 

A - Connect this ODBC source to VNET or

B - Connect to SQL Server with the conditions of Encrypt = 'Yes' and TrustServerCertificate = 'Yes'

 Or am I just too lucky?

1 REPLY 1
collinq
Super User
Super User

Hey @Anonymous ,

 

I do not personally have experience with this, but this article Use virtual network data gateway and data sources in Power BI | Microsoft Learn

states that ODBC is support when "Sources supported through either public endpoints or secure private endpoint connectivity with Express Route or VPNs (scenarios 2 and 3 from above):"




Did I answer your question? Mark my post as a solution!

Proud to be a Datanaut!
Private message me for consulting or training needs.




Helpful resources

Announcements
New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

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.

Join our Fabric User Panel

Join our Fabric User Panel

Share feedback directly with Fabric product managers, participate in targeted research studies and influence the Fabric roadmap.

March Power BI Update Carousel

Power BI Community Update - March 2026

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