1
votes

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.

1
I have created one separate storage account solely for this task purpose, but "Use existing storage account" option was not selectable. ... Have you selected the location of Cloud shell region same as that of your storage account?Gaurav Mantri
This interface should appear when you have a subscription but no Storage Account. After that, this interface will not appear. You need to be careful not to create a Storage Account with the same name. Otherwise, it will report an error.Cindy Pau
@Gaurav Mantri: I have not done anything specific to select the location of Cloud shell region. I could see my storage account location as "Central US, East US 2". Please suggest me how can I make sure that both Cloud shell region and storage account location, both are same.Ashok kumar
Hi, have you solved this question?Cindy Pau
@GauravMantri I am also not able to select existing storage account, any solutions?Pranav Singh

1 Answers

0
votes

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.