Cannot Delete Resource

Lenard Wood 0 Reputation points
2023-09-13T02:23:22.26+00:00

I stood up a wordpress website using azure webapps. I need to delete the resources, but cannot. I get the error below;

xxxx-79xxx-privatelink.mysql.database.azure.com: Cannot delete resource while nested resources exist. Some existing nested resource IDs include: 'Microsoft.Network/privateDnsZones/xxx-79xxx-privatelink.mysql.database.azure.com/virtualNetworkLinks/xxxx-79xxex-privatelink.mysql.database.azure.com-vnetlink'. Please delete all nested resources before deleting this resource. (Code: CannotDeleteResource)

another:

xxxx-79xxx-privatelink.mysql.database.azure.com: Cannot delete resource while nested resources exist. Some existing nested resource IDs include: 'Microsoft.Network/privateDnsZones/xxxx-723-privatelink.mysql.database.azure.com/virtualNetworkLinks/afribuild-3434-privatelink.mysql.database.azure.com-vnetlink'. Please delete all nested resources before deleting this resource. (Code: CannotDeleteResource)

When I look for the dependancies, i can't find them. All the forums I looked at state that it is a bug.

Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,764 questions
Azure Private Link
Azure Private Link
An Azure service that provides private connectivity from a virtual network to Azure platform as a service, customer-owned, or Microsoft partner services.
550 questions
{count} votes

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.