Hi @Anthony B ,
welcome to the Microsoft Q&A Platform!
Remove App Service Link Association:
- Go to Virtual Network > Subnets in the Azure portal.
- Locate the subnet, check for Service Association Links, and remove any links.
Delete Dependent Resources:
- Ensure no resources (e.g., App Services, VMs, SQL databases) are using the subnet.
- Delete any remaining associated resources.
Retry Deletion:
- Once dependencies are cleared, attempt to delete the subnet
Use Azure CLI for Forced Disassociation (if needed):
az network vnet subnet update \
--resource-group <ResourceGroupName> \
--vnet-name <VNetName> \
--name <SubnetName> \
--remove serviceAssociationLinks
- refer to Delete a Subnet in Azure.
If the answer is helpful, please click "Accept Answer" and kindly upvote it.