Unable to open Cloud Shell because of Storage Account error

4.5k Views Asked by At

I am trying to open Cloud Shell by following below steps.

Click on Cloud Shell toolbar icon.

Click on PowerShell link from the generated window.

Selected Visual Studio Professional Subscription as that is the one and only available for me.

Clicked on Create storage button. Now, I am getting below error:

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

I have created one separate storage account solely for this task purpose, but "Use existing storage account" option was not selectable.

The suggestions from this stackoverflow link did not work for me.

2

There are 2 best solutions below

3
Cindy Pau On BEST ANSWER

Update:

After unmounted. I can reproduce what you face now.

enter image description here

Click Show Advanced Settings, and customize a name of Storage Account and File share.(English part must be lowercase.)

enter image description here

Then it works fine.

enter image description here

Original Answer:

StorageAccountAlreadyTaken is a common storage account creation problem. It means that you are creating a storage account, but a storage account with the same name exists worldwide (the storage account name must be unique among all Azure accounts).

This error is telling you: You are creating me, a Storage Account. But you need to give me a unique name.

If the button for an existing account cannot be selected, then please do not use the same name when you create a storage account.

0
Ravaillac On

I will think that registering the cloudshell service in resource provider will solve this problem provided you are logged in the right subscription and under the right directory. log into azure portal> select subscription>settings>resource provider> search for cloudshell>make sure it is register?re-register.