Hello @Nico Albarracin
I understand that you are facing issue with the Virtual Network Link.
"A virtual network cannot be linked to multiple zones with overlapping namespaces..."
This caused by Azure's restriction that a single virtual network (VNet) cannot be linked to more than one Private DNS Zone with the same namespace, even if the zones were previously deleted or appear to be gone.
Even though you've deleted the duplicate privatelink.azurewebsites.net
zone, Azure may still have residual metadata or stale link references associated with the VNet. These can persist in the background and block new links from being created.
1.Use one privatelink.azurewebsites.net zone across all subscriptions and link it to all relevant VNETs. Avoid creating multiple zones with the same name as per the Microsoft document:
Refer: https://learn.microsoft.com/en-us/azure/private-link/private-endpoint-dns-integration
Sharing you the similar thread for your reference: https://learn.microsoft.com/en-us/answers/questions/861192/deployment-failed-a-virtual-network-cannot-be-link
Here how you can fix using below steps:
- Even if you see only one
privatelink.azurewebsites.net
zone in your current subscription, there might be:
- A duplicate zone in another subscription or resource group
- A zombie link that was not properly deleted
Use this command to list all private DNS zones across subscriptions (if you have access):
-
az`` network private-dns zone list --query "[?name=='privatelink.azurewebsites.net']"
- Use Azure CLI to forcefully delete any ghost links: If you find any links, delete them using:
az`` network private-dns link vnet delete \
``--resource-group <resource-group-name> \
``--zone-name privatelink.azurewebsites.net \
``--name <link-name>
- Check for links in other subscriptions or regions: Sometimes the conflict comes from a zone or link in a different subscription or resource group that’s still active.
Wait for propagation: After deleting a DNS zone or link, it can take a few minutes to fully propagate. Wait 10–15 minutes before retrying the link creation.
If all else fails:
- Try creating a new VNet and linking it to the DNS zone to confirm the issue is with the original VNet.
- Or open a Microsoft support ticket to clear any hidden metadata.
I hope this information is helpful! If my answer helped you resolve your issue, please consider marking it as the correct answer or Upvote. This helps others in the community find solutions more easily. Thanks!