I currently have a VNet which I cannot delete. While provisioning a app service environment I deleted it before the provisioning was complete. Somehow when cleaning up the resources the VNet was created and had an association to the hosting environment.
Due to that association I cannot delete the VNet. Unfortunately I cannot access the hosting environment either because it's already deleted.
I need help to delete the locked VNet, I've tried using the azure portal, powershell and resource explorer (preview) and they all fail with the same response.
{ "error": { "code": "InUseSubnetCannotBeDeleted", "message": "Subnet default is in use by /subscriptions/108ea1aa-213b-4980-b9db-ea4a290b1281/resourceGroups/yrpNetworks/providers/Microsoft.Web/hostingEnvironments/yrpnetworks and cannot be deleted.", "details": [] } }Any help would be appreciated.