Cannot delete resource

w c 0 Reputation points
2023-09-10T11:34:48.9166667+00:00

The system shows:

Failed to delete virtual network

Failed to delete virtual network ''. Error: Subnet wingwebDbSubnet is in use by /subscriptions/ac69d7f8-f279-4939-8d60-f5d099037571/resourceGroups/wingweb_group/providers/Microsoft.Network/virtualNetworks/wingwebVnet/subnets/wingwebDbSubnet/serviceAssociationLinks/f68d7e50-1b82-eece-3aeb-07a9207536b0-sal and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet.

So that, I go to delete the subnet resource, but the system shows:

Failed to delete subnet

Failed to delete subnet 'wingwebDbSubnet'. Error: Subnet wingwebDbSubnet is in use by wingwebVnet/wingwebDbSubnet/f68d7e50-1b82-eece-3aeb-07a9207536b0-sal and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet.

Many thanks for your help!

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.
{count} votes

Your answer

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