powershell - Error while adding VHD as OS Disk in resource manager -


i trying create vm using existing vhd have on storage blob. ran below command

add-azuredisk -diskname "keldc1" -medialocation "https://*****.blob.core.windows.net/essrestore/kel-dc01201611012647.vhd" -label "bootdisk" -os "windows"

the error reeived

add-azuredisk : badrequest: storage account name ***** specified in vhd uri https://*****.blob.core.windows.net/essrestore/kel-dc01201611012647.vhd not exists in current subscription

i verified have subscription correct , storage account in same subscription.

help please.

you created resources in new portal, executing commands on classic one. try this,

azure login azure config mode arm 

this execute commands on new portal.


Comments

Popular posts from this blog

Ansible - ERROR! the field 'hosts' is required but was not set -

customize file_field button ruby on rails -

SoapUI on windows 10 - high DPI/4K scaling issue -