Search code examples
azureazure-storage-account

Unable to create storage account from portal : name already taken


I am unable to create a storage account from Portal.

As soon as I type the name it shows error The storage account name '' is already taken.

I coudlnt find the account in Azure so it doesnt exist definitely. I want to use the same name. I can create storage account with diff name but dont want to.

Anyone knows why this error ?


Solution

  • Storage account name you choose must be unique across Azure.

    You can check the name availability using the REST API. Refer this document.

    Edit:

    As suggested by Juunas, Storage account must be unique across all subscriptions globally, not just yours. The reason for that is that the name becomes part of the URL, e.g. https://accountname.blob.core.windows.net. Since the URL needs to resolve to a single account, there is no way to have two accounts with the same name.