Life's random bits By b1thunt3r (aka Ishan Jain)…
Check the Azure Storage Account Name availability

Check the Azure Storage Account Name availability

Ishan jain
Storage Accounts in Azure needs to have a globally unique name.

There are times when you need to check if a Storage Account name is available or not, before you even try to deploy. Think if the creation of Storage Account is at the end of a huge automated depolyment pipeline.

Check availability: Azure CLI

az storage account check-name --name <account_name> 

Where:

  • account_name: New Storage Account Name

Azure PowerShell

Get-AzStorageAccountNameAvailabilty <account_name> 

Where:

  • account_name: New Storage Account Name

Resources