Storage Account Name Taken

Thomas Samuel 0 Reputation points
2024-10-06T17:26:27.9766667+00:00

A little while ago I created two storage accounts in Azure. I deleted them probably a month ago now, but the names are still unavailable if I try to create ones with the same name.

I don't want to pay for developer support, as this strikes me as more of an issue with the platform than my implementation.

Anyone have any ideas?

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,192 questions
{count} votes

2 answers

Sort by: Most helpful
  1. akinbade abiola 17,290 Reputation points
    2024-10-06T22:19:09.8033333+00:00

    Azure holds onto the deleted storage account names for a period, usually up to 14 days.

    Storage account names are globally unique. It’s possible someone else has taken the name you were using, even if you deleted it.

    You can confirm if the name is available using:

    az storage account check-name --name $storageaccount
    
    

    This will tell you if the name is currently being used or its state

    See: https://zcusa.951200.xyz/en-us/cli/azure/storage/account?view=azure-cli-latest#az-storage-account-check-name

    You can mark it 'Accept Answer' and 'Upvote' if this helped you

    Regards,

    Abiola

    0 comments No comments

  2. Vinod Kumar Reddy Chilupuri 485 Reputation points Microsoft Vendor
    2024-10-07T09:29:13.24+00:00

    Hi Thomas Samuel,
    Welcome to Microsoft Q&A, thanks for posting your query.

     

    The reason you can't be able to reuse the name of the deleted azure storage accounts is because azure requires each storage account have to be unique name worldwide. Even after you delete an account, the name is existing for certain time period before it become available.

    The issue could be due to 2 reasons:

    1. The account has been created with same name again.
    2. The account deletion is still in progress at the backend or probably stuck as a result when trying to create account with same name, it lands into exception.

    When naming your storage account, keep these rules in mind:

    • Storage account names must be between 3 and 24 characters in length and may contain numbers and lowercase letters only.
    • Your storage account name must be unique within Azure. No two storage accounts can have the same name.

    If you try to deploy a new storage account with the same name as a storage account that already exists in Azure. The existing storage account name might be in your subscription or tenant, or anywhere across Azure. Storage account names must be globally unique across Azure.

    Code=StorageAccountAlreadyTaken

    Message=The storage account named storageckrexph7isnoc is already taken.

    You can refer this article:
    https://zcusa.951200.xyz/en-us/azure/azure-resource-manager/troubleshooting/error-storage-account-name?tabs=bicep
    You can go through the similar threads:

    https://zcusa.951200.xyz/en-us/answers/questions/1657246/urgent-reuse-azure-storage-account-name-after-dele

    https://zcusa.951200.xyz/en-us/answers/questions/1030714/i-have-deleted-the-storage-account-i-cant-create-s

     

    Please let us know if you have any further queries. I’m happy to assist you further. 


    Please do not forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.