无法删除VNet,因为已被删除的应用服务计划使用了它 [英] Cannot delete VNet bacause it is used by deleted App Service Plan

查看:73
本文介绍了无法删除VNet,因为已被删除的应用服务计划使用了它的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们进行了Som试用,以在虚拟机和App Service之间建立VNET.一切正常后,我们希望删除所有资源,并创建一个脚本来再次设置所有内容.我们通过简单地删除所有相关资源来做到这一点 组.

We made som trials setting up a VNET between a virtual machine and a App Service. Once everything was working, we wanted to delete all the resources and make a script for setting up everything again. We did this by simly deleting all the relevant resource groups.

但是没有删除包含VNet的资源组,因为无法删除VNet本身,它声称它仍在使用中,因此出现类似下面的错误.

However the resource group containing the VNet was not deleted, beacuse the VNet itself cannot be deleted, it claims that it is still being used, and we get an error like the one below.

无法删除虚拟网络"xxx- dev-westeu-app-xxx-vnet".错误:/subscriptions/zzzzz/resourceGroups/xxx-dev-westeu-appserviceplan/providers/Microsoft.Web/serverfarms/xxx-dev-westeu-appserviceplan正在使用子网应用程序 并且无法删除.

Failed to delete virtual network 'xxx-dev-westeu-app-xxx-vnet'. Error: Subnet Apps is in use by /subscriptions/zzzzz/resourceGroups/xxx-dev-westeu-appserviceplan/providers/Microsoft.Web/serverfarms/xxx-dev-westeu-appserviceplan and cannot be deleted.

但是实际上删除了资源(应用服务计划)!我们无法摆脱这种状态,并且在不破坏公司范围内的命名约定的情况下,我们无法测试部署脚本.

However the resource (app service plan) is in fact deleted! We have no way of getting out of this state, and we cannot test our deployment script without breaking our company wide naming conventions.

预先感谢.

推荐答案

在Azure中很少会发生这种情况.要完全删除此文件,您需要打开支持请求.如果您没有支持计划,请给我发电子邮件至AzCommunity@microsoft.com,并提供您的SubscriptionID和此文章的链接,我将启用一次 免费的支持请求,用于您的订阅. 
This can happen rarely in Azure. To get this fully deleted, you will need to open a support request. If you do not have a support plan, please Email me at AzCommunity@microsoft.com with your SubscriptionID and a link to this post, and I will enable a one-time free support request for your subscription. 


这篇关于无法删除VNet,因为已被删除的应用服务计划使用了它的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆