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!Get Fabric certified for FREE! Don't miss your chance! Learn more
What pre-requisites are needed for setting up a connection in fabric pointing to a MS-SQL server running on an Azure VM (not Azure-SQL), with no public access allowed and using a Fabric Trial capacity?
What I could find thus far is to use a self-hosted on-prem data gateway installed inside the same private network as the VM or on the VM, also configured for outbound internet access
Any help appreciated
Solved! Go to Solution.
Hi @ZachBZach
By following these steps, you’ll ensure Microsoft Fabric (Trial capacity) can securely connect to your non-publicly accessible SQL Server VM in Azure via private networking. KIndly accept this as a solution if that helped!
Thanks to all replies, I was on leave and unable to respond. Will try out all suggestions, all feedback is appreciated!
Did some more digging into connection types vs fabric workloads
Connection Types
- Managed Private Endpoint, for spark workloads (notebooks, etc)
- Data Gateway, for engineering workloads (pipelines, dataflows, etc)
Gateways could be On-Prem or VNet, in this case VNet seems best fit as my source databases I want to connect to are all Azure based on a VM running Azure-SQL and not public accessible
I believe I will require a hybrid connection setup here as I want to have flexibility in using most workloads and not be limited
Completed Setup
- Fabric trial provisioned
- Workspace created
- Permissions in place for workspace & tenant
- Tooling in place (i.e. SSMS)
- Database SQL login and user & permissions completed
So high-level Connections Setup to include..
- VNet for SQL-VM
- VNet networking and firewall rules
- MPE in Fabric, supply the PLS (Private Link Service) name, resource identifier, target subresource and
message (for Azure approval)
- VNet Data Gateway in Fabric, supply the capacity and subscription
Can anyone confirm please, anything I missed?
Hi @Zach77 looks like you're on the right track!
Hi @ZachBZach,
Just following up to see if the Response provided by community members were helpful in addressing the issue. if the issue still persists Feel free to reach out if you need any further clarification or assistance.
Best regards,
Prasanna Kumar
Hi @ZachBZach,
Thank you for reaching out to the Microsoft Fabric Forum Community, and special thanks to @deborshi_nag , @spaceman127 , @Mauro89 and @tayloramy for prompt and helpful responses.
Just following up to see if the Response provided by community members were helpful in addressing the issue. if the issue still persists Feel free to reach out if you need any further clarification or assistance.
Best regards,
Prasanna Kumar
Hi @ZachBZach
By following these steps, you’ll ensure Microsoft Fabric (Trial capacity) can securely connect to your non-publicly accessible SQL Server VM in Azure via private networking. KIndly accept this as a solution if that helped!
Hi @ZachBZach,
in addition to @tayloramy here the docs for the gateways https://learn.microsoft.com/en-us/power-bi/connect-data/service-gateway-onprem#types-of-gateways.
Two important things which I learned about gateways. First, definitely store the recovery key where you find it again. Second, be aware to update the gateways regularly as there are monthly updates and you can only run with the last 3 releases until you need to update.
Beat regards!
Hi @ZachBZach,
You're on the right track.
If the VM is sitting in Azure, you can also use a VNET gateway: What is a virtual network (VNet) data gateway | Microsoft Learn
Some gateway is going to be needed to bridge the networks though.
If you found this helpful, consider giving some Kudos. If I answered your question or solved your problem, mark this post as the solution.
Proud to be a Super User! | |
Hi,
As far as I could find a vnet gateway will not be possible as I am using a trial capacity, which does not support vnet gateways...so I presume on-prem data gateway on the vm will probably be the only option
Hi @ZachBZach,
that's not correct. You can create a vNetGateway and then use it.
I regularly use and test the trial version and have always been able to create one.
I suspect that you may be missing permissions or that something else is causing the problem.
In addtion to @Mauro89 and @tayloramy post the requirments for the vNet Gateway.
https://learn.microsoft.com/en-us/data-integration/vnet/create-data-gateways
See screenshots.
Best regards
Feel free to leave kudos or accept it as a solution. This will also help other community members.
If you love stickers, then you will definitely want to check out our Community Sticker Challenge!
Check out the January 2026 Fabric update to learn about new features.
| User | Count |
|---|---|
| 24 | |
| 4 | |
| 3 | |
| 3 | |
| 2 |
| User | Count |
|---|---|
| 57 | |
| 13 | |
| 9 | |
| 9 | |
| 7 |