Search code examples
azureazure-storage-accountazureshell

Unable to open Cloud Shell because of Storage Account error


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.


Solution

  • 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.