az vm create:错误:Azure错误:AuthorizationFailed [英] az vm create: error: Azure Error: AuthorizationFailed
问题描述
下面您看到了mijn Sandbox Learn环境中的错误.我创建了较早的具有Azure Powershell的虚拟机,但是我在资源组中找不到它.当我尝试创建新的虚拟机时,出现错误消息,请帮忙!
电子邮件:XXXXXXXX@hotmail.com
az vm create:错误:Azure错误:AuthorizationFailed
使用PowerShell创建VM时,您需要首先登录Azure
Login-AzureRMAccount
如果您有多个订阅,则可以全部列出
Get-AzureRM订阅
一旦看到要部署以运行的订阅
Select-AzureRmSubscription -SubscriptionID SUBID
从此处运行 New-AzureRMVm 命令创建虚拟机
如果您不是订阅的所有者,则需要确保订阅管理员"为您提供在订阅中创建VM所需的正确权限.
>
Hi,
Below you see an error in mijn Sandbox Learn environment. I created earlier a vm with Azure Powershell, but i cannot find it in the resourcegroup. When i try to create a new vm i get an error message, please help!
e-mail: XXXXXXXX@hotmail.com
az vm create: error : Azure Error: AuthorizationFailed
When creating VMs using PowerShell you need to first login to Azure
Login-AzureRMAccount
If you have multiple subscriptions, you can list them all
Get-AzureRMSubscription
Once you see the subscription you want to deploy to run
Select-AzureRmSubscription -SubscriptionID SUBID
From there, run the New-AzureRMVm command to create the VM
If you are not the owner of the subscription, then you need to ensure the Subscription Admin provides you the correct permissions needed to create VMs in the subscription.
这篇关于az vm create:错误:Azure错误:AuthorizationFailed的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!