Hello Akhil, Welcome to MS Q&A
Answer to 1st query/question
When you create private endpoints for Azure Data Factory and block public access, it is expected that access from outside the network would be restricted. The purpose of private endpoints is to ensure that the resources are only accessible within the specified virtual network, effectively preventing public access. However, there is a known limitation where if a customer has a private link to access one Data Factory and that Data Factory does not block public access, other customers may still access it via public means.
Thus, if public access is blocked and private endpoints are configured correctly, external access should not be possible.
Answer to 2nd query/question
You do not need to create both private endpoints privatelink.adf.azure.com and privatelink.datafactory.azure.net for Azure Data Factory. The context mentions that the command communications between the self-hosted integration runtime (IR) and Data Factory can be performed securely in a private network environment through Private Link. However, it does not specify the necessity of creating both endpoints simultaneously.
Answer to 3rd question/query
When you create a private endpoint for the Azure Data Factory portal, it is expected that the record in the privatelink.adf.azure.com private DNS zone will be under the name "portal." This is because there is only one Data Factory portal endpoint, and creating multiple private endpoints for the portal will result in overwriting the existing DNS entry.
To implement two Azure Data Factories (ADFs) with two portal endpoints inside the same DNS zone in the Hub, you would need to use separate DNS zones for each ADF. This way, each ADF can have its own private DNS zone without conflicts. Here are the steps:
- Create Separate Private DNS Zones: Create two separate private DNS zones, one for each ADF.
- Configure Private Endpoints: Configure the private endpoints for each ADF to use their respective private DNS zones.
- Link DNS Zones to Virtual Network: Link each private DNS zone to the virtual network in the Hub.
By following these steps, you can ensure that each ADF has its own portal endpoint without overwriting the DNS entries.
References:
- Azure Private Link for Azure Data Factory
- Configure Private Endpoint for Communication Between Self-Hosted IR and Data Factory
Please let us know if you have further questions
Kindly accept if it helps
Thanks
Deepanshu