Forum Discussion
How to access Azure SQL Database without allowing public network access
Of course, my production database is accessible only from specified vNets.
How can I access it from Data Pipeline in Microsoft Fabric?
I found the following options:
Managed Private Endpoints or Managed virtual networks - works only for Spark Job from notebooks. Is not an option because we need data pipeline
Data gateway - is too expensive and also is available only for Dataflows Gen2, why Data Pipelines are not supported is totally unclear!
IP allowlists - works but unsupportable because we need to know all IPs of Fabric.
Checkbox "Allow Azure services and resources to access this server" - is insecure because the data can be accessed from any other Azure Service
A private link for the SQL database is also useless because it requires a vNet of Fabric which is unavailable (because of SaaS?).
Managed Private Endpoints - looks very promising but only for Spark (why? are the any plans to support not only Spark and notebooks?)
So, could anyone help me how to access the data? Allow public network access is not an option here!
7 Replies
- NandanHegdeSuper User
Hey Marusyk ,
Based on my understanding Data gateways are now supported for data pipelines as well.
Also, you can set up a VM with small cost within the VNET and install the Power BI gateay in it which you can leverge for your connection ( with more security, there is bound to be some additional cost :))
In case if you want to avoid Gateway and additional costs, there would be some additional maintenance activity like updating the firewall on a yearly basis with IP changes.
Note : You need not whitelist all the fabric IP but only the IP range of the data pipeline in which your fabric capacity is hosted .
The IP range for fabric data pipeline is similar to the IP range of Azure Data Factory as they leverge the same engine/framework
- MarusykAdvocate II
Unfortunately no, Data Pipeline doesn't support Data Gateway - this is the reason why I'm raising this question here.
It is clear from here https://learn.microsoft.com/en-us/data-integration/vnet/overview
and I've just tried on a real Fabric instance
Could you suggest how to get that IP range? because maintaining VM is not suitable for us.
- NandanHegdeSuper User
Hey,
The gateway which I meant was Power BI On premises data gateway and not the VNET Data gateway 🙂
The On Premises data gateway is supported for data pipelines and hence suggested to create a VM within the VNET and set up the gateway.
But if that is not possible, you can whitelist the IP range :
https://learn.microsoft.com/en-us/azure/data-factory/azure-integration-runtime-ip-addresses