Unable to delete a subnet due to a delegation issue

t0Sanjay 0 Reputation points
2025-11-17T22:44:44.9433333+00:00

Encountered an error when trying to delete an Azure Virtual Network

Subnet AppServiceSubnet is in use by /subscriptions/<REDACTED>/resourceGroups/<REDACTED>/providers/Microsoft.Network/virtualNetworks/<REDACTED>/subnets/AppServiceSubnet/serviceAssociationLinks/AppServiceLink and cannot be deleted. In order to delete the subnet, delete all the resources within the subnet. See aka.ms/deletesubnet.

Unable to delete a subnet due to a delegation issue. Cannot change delegation from serverFarm to None

Please note that the VNET 10.0.0.0/8 in above Resource Group is also in conflict with another Resource Group with a smaller VNET 10.10.10.0/24

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.


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.