Hi,
I have deployed an Azure system including virtual networks and app services. Then, when doing virtual network deletion, I had some problems. I got the message and the subnet uses the above vnet. Then I delete the subnet and get the message that there are app services using the above subnet. In fact, there are no app services at all. When using the command below:
As a result, I discovered that 1 [Microsoft.Network/virtualNetworks/subnets/serviceAssociationLinks] cannot be deleted.
PS: az network vnet subnet update --resource-group disabled --name snet-taskjobs --vnet-name vnet-drug --remove delegations
Subnet /subscriptions/[...]/resourceGroups/disabled/providers/Microsoft.Network/virtualNetworks/vnet-drug/subnets/snet-taskjobs requires any of the following delegation(s) [Microsoft.Web/serverFarms] to reference service association link /subscriptions/[...]/resourceGroups/Disabled/providers/Microsoft.Network/virtualNetworks/vnet-drug/subnets/[...]/serviceAssociationLinks/AppServiceLink.
PS C:\Windows\system32>