删除资源提供程序注册 [英] Remove a Resource Provider Registration
问题描述
您好,
我们如何删除资源提供商注册?
尝试时使用PowerShell:Remove-AzureRMResourceProviderRegistration -ResourceGroup WebAppsRG -Name webapps
(现在没有部署任何新注册)
我得到:Remove-AzureRMResourceProviderRegistration:ProviderHasActiveSubscriptions:The资源提供者'webapps'无法删除,因为有针对它注册的有效订阅。
有没有办法确定这些有效注册是什么?
谢谢,
Anthony Costeseque
您好Anthony,对于迟到的回复表示抱歉。对于技术预览版1,以下是解决此问题的解决方法:
在SQLVM(不是SQL RP VM)上,在Microsoft.AzureStack.Frontdoor数据库中,您需要删除在Webapps.Admin命名空间中具有admin订阅的subscriptions.SubscriptionRegistrations表中的记录。
在此之后,您应该可以取消注册资源提供程序。我们正在考虑让这种体验更轻松
如果您需要进一步的帮助,请告诉我们。
Hi,
How can we remove a Ressource Provider Registration ?
With PowerShell when I try : Remove-AzureRMResourceProviderRegistration -ResourceGroup WebAppsRG -Name webapps
(there is nothing deployed for now it is a fresh registration)
I am getting : Remove-AzureRMResourceProviderRegistration : ProviderHasActiveSubscriptions: The resource provider 'webapps' cannot be deleted since there are active subscription registered against it.
Is there a way to identify what are these active registration ?
Thank you,
Anthony Costeseque
Hi Anthony, Sorry about the late reply. For Technical Preview 1, here is the workaround to get past this issue:
On the SQLVM (not the SQL RP VM), in the Microsoft.AzureStack.Frontdoor database, you will need to remove a record in the subscriptions.SubscriptionRegistrations table that has the admin subscription in the Webapps.Admin namespace.
After this, you should be able to unregister the resource provider. We are looking into making this an easier experience
Let us know if you need further assistance.
这篇关于删除资源提供程序注册的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!