1

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.

Pranav Singh
  • 17,079
  • 30
  • 77
  • 104
Ashok kumar
  • 1,593
  • 4
  • 33
  • 68
  • 2
    `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 Mar 10 '20 at 15:12
  • 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 Mar 11 '20 at 03:52
  • @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 Mar 11 '20 at 09:14
  • Hi, have you solved this question? – Cindy Pau Mar 13 '20 at 02:35
  • @GauravMantri I am also not able to select existing storage account, any solutions? – Pranav Singh Mar 17 '20 at 02:22

1 Answers1

0

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.

Cindy Pau
  • 13,085
  • 1
  • 15
  • 27
  • 1
    I am not even trying to create storage account. I think, you didn't go through my question to understand the issue... – Ashok kumar Mar 11 '20 at 09:00
  • @Ashokkumar I updated the answer. Try to create a Storage Account and a corresponding File share in the Central US like me.(Don't use the same name that I use.) See if it works. – Cindy Pau Mar 11 '20 at 10:08
  • 1
    @Ashokkumar After many attempts, I found out that I can't choose 'Use existing' at all on my side. There may be a problem with this button. Entering the created Storage and filling in the corresponding File Share and then click 'Create Storage' will actually mount the specified Storage. I suggest that you do not use a Storage Account that has stored a lot of things, otherwise the load time of Cloud Shell will become very very long. – Cindy Pau Mar 11 '20 at 10:45