In this Azure article, we will discuss how to move a storage account to another region.
Table of Contents
How to move storage account to another region
Basically, if you wish to change the location of your Azure Storage account, what you need to do is, you will have to create a copy of the storage account in the target location or region, and then you need to transfer or move all the data from the source storage account to the target storage account.
You can do this using Azure Portal and by using PowerShell.
Approach-1: Using Azure Portal
The first step is to export the Azure Storage account as a template using the below steps.
- Log in to the Azure Portal.
- Navigate to your Azure Storage account.
- Click on the Export template link from the left navigation under the Automation tab, as shown below.

4. Click on the Download option to download the template.

5. Now, it will get downloaded as a zip folder like the one below.

6. You can unzip the folder and keep it.
Now, let’s modify the existing template
We will change the storage account name and location using the below steps
- Click on the Create a Resource button.

2. Search for the template deployment and click on the search result “Template deployment.”

3. Click on the Create button.

4. On the Custom deployment window, click on the Build your own template in the editor link as shown below.

5. Click on the Load file button. Select the template.json file that we downloaded and unzipped earlier.

6. Modify the storage account name and the location.

7. Click on the Save button to save the changes.
8. On the Custom deployment window, Provide the below details
- Subscription: Select the subscription that you wish to use here.
- Resource Group: You can select an existing Resource Group or click on the Create new link and provide a name to create a new Resource Group.
- Region: Select the required region or location.
Finally, click on the Review + Create button as highlighted below.

After clicking on the Review + Create button, It will Start validating all the entries entered by you. For me, it throws an error as the name of the storage account “mytargetstorageaccount” that I have entered was not available, so I changed the storage account name from “mytargetstorageaccount” to “mytargetstorageaccountg,” and the Resource Group name also changed from “demo357” to “demo589”.

Now, the validation is successful, and you will see the Create button on the successful validation. Finally, click on the Create button on the next screen, as shown below.

Now, the Storage account has been created successfully. You can check out the below screenshot.

Approach-2: Using PowerShell
You can also use the below steps to change Azure Storage Account location using PowerShell.
- Execute the below PowerShell command to export the storage account as a template.
$myctx = Get-AzSubscription -SubscriptionId 1cdf4300-dee5-4518-9c9c-feaa72a5cbd1
Set-AzContext $myctx
$myresource = Get-AzResource -ResourceGroupName DEMORG2 -ResourceName demoggh -ResourceType Microsoft.Storage/storageAccounts
Export-AzResourceGroup -ResourceGroupName DEMORG2 -Resource $myresource.ResourceIdNote: Make sure to change the Resource Group and storage account name as per yours.
After executing the above script, I got the JSON file saved on the path below.

2. You can open the template.json file and modify the storage account name and location as we had done in step 6 above.
3. Now, run the below PowerShell script to create a new storage account in your target region.
$myrsgName = "Demo12346"
$region = "centralus"
New-AzResourceGroup -Name $myrsgName -Location "$region"
New-AzResourceGroupDeployment -ResourceGroupName $myrsgName -TemplateUri "DEMORG2.json" Note: Make sure to change the Resource Group and region as per yours. Enter the storage account name if it will prompt you to enter.
After executing the above script, I got the below-expected output, and the storage account was created successfully.

The storage account has been created successfully. Check out the screenshot below.

Azure move storage account to another region – Video Tutorial
You may also like following the articles below
Wrapping Up
This Azure article discussed changing the Azure Storage Account location using Azure Portal and PowerShell. Thanks for reading this article !!!

I am Rajkishore, and I am a Microsoft Certified IT Consultant. I have over 14 years of experience in Microsoft Azure and AWS, with good experience in Azure Functions, Storage, Virtual Machines, Logic Apps, PowerShell Commands, CLI Commands, Machine Learning, AI, Azure Cognitive Services, DevOps, etc. Not only that, I do have good real-time experience in designing and developing cloud-native data integrations on Azure or AWS, etc. I hope you will learn from these practical Azure tutorials. Read more.
