Reputation: 899
I'm trying to deploy an app (bot) from Visual Studio to Azure cloud Service (classic). I chose the subscription and the cloud service. Then, the process is prompting me to create a storage account and my existing storage account is not being shown in the list. When I try to create the new storage account, I'm getting the following error as shown in the screenshot.
For reference I'm trying to deploy the bot from here. I've tried multiple examples from the repo but getting the same results.
Upvotes: 1
Views: 163
Reputation: 8694
The reason for the error is that the storage account you have created in the new portal is likely under the resource manager deployment model, but you are using cloud service classic which is still under the classic deployment model.
I got the same error when I tried in my environment.
Portal=>Storage account(classic)
:or you can create using the command:
New-AzureRmResource -ResourceName "" -ResourceGroupName $resourceGroupName -ResourceType "Microsoft.ClassicStorage/StorageAccounts" -Location "South Central US" -Properties @{ AccountType = "Standard_LRS" } -ApiVersion "2015-06-01" -Force
Right Click on Project=>Publish(extended Support)
in Visual Studio.
Configure deployment with your cloud service:
Upvotes: 1