Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

Cannot delete VNET which has no resources

$
0
0

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.


Viewing all articles
Browse latest Browse all 6513

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>