简体   繁体   中英

The storage account does not exist in the current subscription

when I use New-AzureDeployment, i get exception like this:

BadRequest : The storage account named xxx does not exist in the current subscription

在此处输入图片说明

and indeed account storage4sp exist in my subscription 在此处输入图片说明

Anything i am wrong ?

According to your screenshot, we could find that your .cspkg file is stored in a RM storage account (not classic storage account), which could be the cause of the issue. As Gaurav Mantri said, you could try to store your .cspkg file in a classic storage account, which should resolve the issue.

在此处输入图片说明

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM