Unable to delete VNet or Subnet

Emad Ahmadi 1 Reputation point

I'm trying to delete a virtual network but I face the error below.
There is no connected devices, gatwaye or any other resources.
When I try to delete the subnet cuses the error, again I get an error with almost the same content.

Failed to delete virtual network '[VirtualNetworkName]'. Error: Subnet [SubnetName] is in use by /subscriptions/[SubscriptionId]/resourceGroups/[ResourceGroupName]/providers/Microsoft.Network/virtualNetworks/[VirtualNetworkName]/subnets/[SubnetName]/serviceAssociationLinks/PowerPlatformSAL and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet.

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,205 questions
{count} votes

1 answer

Sort by: Most helpful
  1. JimmySalian-2011 41,931 Reputation points


    Can you check if you have delegated access to the Subnet? manage-subnet-delegation

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments