2
votes

I am unable to delete the 'default' subnet from a VNet that I am no longer using. The error is: "Subnet default is in use by /subscriptions/{guid}/resourceGroups/mpi-prod-westeurope-rg/providers/Microsoft.Web/serverfarms/mpi-web-asp and cannot be deleted."

The problem is mpi-web-asp is an App Service plan that was deleted about a week ago. I attempted to create a new App Service Plan with the same name however, as expected, that did not work.

1

1 Answers

0
votes

You could try to remove the App Service plan mpi-web-asp in the Azure resource explorer, navigate to the path, /subscriptions/{guid}/resourceGroups/mpi-prod-westeurope-rg/providers/Microsoft.Web/serverfarms/mpi-web-asp to find the app service plan. Get more details about using this tool.

Click Read/Write tab to enter the edit mode, then click Action(POST, DELETE), you could click Delete to delete the old resources. After this, Try to remove the default subnet again.

enter image description here