Pranav Singh
Pranav Singh

Reputation: 20081

shell.azure.com is failing in configuration

While doing something I got option to execute shell commands from azure portal. It required to configure shell.azure.com first time.

In first step it is giving option of selecting Subscription & create storage. When I select required subscription & click on create storage, it is giving error:

Error: 409 
{"error":{"code":"StorageAccountAlreadyTaken", "message":"The storage account named ... is already taken"}}
Can't create a storage account. Please try again.

enter image description here

I tried multiple times but no avail.

I opened Show advanced settings & tried to play with combinations but here using existing storage account is disabled(in advanced settings) and create storage is also disabled. enter image description herestrong text PS I have rights to create storage account on subscription, so that is not an issue.

Upvotes: 0

Views: 449

Answers (1)

Nancy Xiong
Nancy Xiong

Reputation: 28204

I also face the same issue before. You need to directly edit (manually type the name) the existing storage account in the box, just ignore the using existing checkbox. It seems like a UI bug.

When you add the existing storage account on the UI, please note that the cloud shell region matches the storage account region. You can see the Supported storage regions from https://learn.microsoft.com/en-us/azure/cloud-shell/persisting-shell-storage.

Refer to the familiar threads,

Unable to open Cloud Shell because of Storage Account error

Azure Cloud shell requires storage account

Upvotes: 1

Related Questions