How to lookup the availability zone used for a storage account?

asked 2023-01-10T09:03:22.747+00:00
Joost van Doorn 21 Reputation points

I have a LRS storage account, and I am wondering how to lookup the availability zone placement of this resource?

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.
1,538 questions
No comments
{count} votes

Accepted answer
  1. answered 2023-01-10T23:46:59.683+00:00
    SaiKishor-MSFT 14,916 Reputation points Microsoft Employee

    @Joost van Doorn LRS Accounts do not support Availability Zones. If you want AZ Support, you need to migrate to ZRS. Please look for more details here - https://learn.microsoft.com/en-us/azure/reliability/migrate-storage

    Hope this helps. Please let us know if you have any more questions and we will be glad to assist you further. Thank you!

    Remember:

    Please accept an answer if correct. Original posters help the community find answers faster by identifying the correct answer. Here is how.

    Want a reminder to come back and check responses? Here is how to subscribe to a notification.

    No comments

1 additional answer

Sort by: Most helpful
  1. answered 2023-01-10T09:10:51.27+00:00
    Marshaljs 26,191 Reputation points

    Hi,

    Azure Storage accounts can be placed in a specific availability zone to provide higher levels of availability and data durability.

    You can look up the availability zone placement of an Azure Storage account by using Azure CLI or Azure PowerShell.

    First, you'll need to check if the storage account is "zonal" or "regional". "zonal" storage account is associated with an availability zone,"regional" storage account is associated with a region.

    You can use the code to check the placement az storage account show --name &lt;storage_account_name&gt; --resource-group &lt;resource_group_name&gt; --query &#39;zones&#39; or Get-AzStorageAccount -ResourceGroupName <resource_group_name> -Name <storage_account_name> | Select-Object -ExpandProperty Zones`

    Hope this helps. JS

    == Please Accept the answer if the information helped you. This will help us and others in the community as well.