我刚刚尝试使用在 Build 2017 中宣布的新的 Azure Cloud Shell,但我收到以下错误(作为 json 消息):
{
"error": {
"code": "MissingSubscriptionRegistration",
"message": "The subscription is not registered to use namespace 'Microsoft.Storage'"
}
}
我用谷歌搜索了这个并找到了建议我需要注册资源提供者的答案:
Register-AzureRmResourceProvider -ProviderNamespace Microsoft.Storage
或者
azure provider register Microsoft.Storage
...但我懒得设置到 Azure 的命令行会话。
如何使用 Azure 门户执行此操作?