{"id":5794,"date":"2014-10-22T00:00:00","date_gmt":"2014-10-22T00:00:00","guid":{"rendered":"https:\/\/azure.microsoft.com\/blog\/migrate-azure-virtual-machines-between-storage-accounts"},"modified":"2025-09-15T13:30:17","modified_gmt":"2025-09-15T20:30:17","slug":"migrate-azure-virtual-machines-between-storage-accounts","status":"publish","type":"post","link":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/","title":{"rendered":"Migrate Azure Virtual Machines between Storage Accounts"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\">One common task on Azure is to migrate a Virtual Machine from one storage account to another.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">Before we dive into these steps, it\u2019s helpful to briefly review how Azure Virtual Machines are set up. When you create an Azure Virtual Machine, there are two services that work in tandem to create this machine: Compute and Storage. On the Storage side, a VHD is created in one of your storage accounts within the Azure Storage Service. The physical node that this VHD is stored on is located in the region you specified to place your Virtual Machine. On the compute side, we find a physical node in a second cluster to place your virtual machine. When the VM starts in that cluster, it establishes a connection with the Storage Service and boots from the VHD.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">When creating a Virtual Machine, we require that the VHD be located in a storage account in the same region where you are creating the VM. This is to ensure there is performance consistency when communicating between the Virtual Machine and the storage account.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"614\" height=\"295\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/image-1.webp\" alt=\"A diagram of a server\" class=\"wp-image-46255\" title=\"IaaSArchitecture\" srcset=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/image-1.webp 614w, https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/image-1-300x144.webp 300w\" sizes=\"auto, (max-width: 614px) 100vw, 614px\" \/><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">With this context in mind, let\u2019s walk through the steps to migrate the virtual machine from one region to another:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\"wp-block-list-item\">Stop the Virtual Machine<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Copy the VHD blob from a storage account in the source region to a storage account in the destination region.<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Create an Azure Disk from the blob<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Boot the Virtual Machine from the Disk<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"stop-the-virtual-machine\">Stop the Virtual Machine<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Go to the Service Management Portal, select the Virtual Machine that you\u2019d like to migrate, and select Shut Down from the control menu.<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/ShutdownVm.webp\" alt=\"timeline\" class=\"wp-image-8950 webp-format\" title=\"ShutdownVm\" data-orig-src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/ShutdownVm.webp\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Alternatively, you can use the Azure Powershell cmdlet to accomplish the same task:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\n$servicename = \"KenazTestService\"\n$vmname = \"TestVM1\"\nGet-AzureVM -ServiceName $servicename -Name $vmname | Stop-AzureVM\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Stopping the VM is a required step so that the file system is consistent when you do the copy operation. Azure does not support live migration at this time. This operation implies that you are migrating a specialized VM from one region to another. If you\u2019d like to create a VM from a generalized image, sys-prep the Virtual Machine before stopping it.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"copy-the-vhd-blob\">Copy the VHD blob<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">The Azure Storage Service exposes the ability to move a blob from one storage account to another. To do this, we have to perform the following steps:<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li class=\"wp-block-list-item\">Determine the source storage account information<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Determine the destination storage account information<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Ensure that the destination container exists in the destination storage account<\/li>\n\n\n\n<li class=\"wp-block-list-item\">Perform the blob copy<\/li>\n<\/ol>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>NOTE: <\/strong>Copying blobs between storage accounts in different regions can take up to one hour or more depending on the size of the blob.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\">The easiest way to do this is through Azure Powershell:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nSelect-AzureSubscription \"kenazsubscription\" \n\n# VHD blob to copy #\n$blobName = \"KenazTestService-TestVM1-2014-8-26-15-1-55-658-0.vhd\" \n\n# Source Storage Account Information #\n$sourceStorageAccountName = \"kenazsa\"\n$sourceKey = \"MySourceStorageAccountKey\"\n$sourceContext = New-AzureStorageContext \u2013StorageAccountName $sourceStorageAccountName -StorageAccountKey $sourceKey  \n$sourceContainer = \"vhds\"\n\n# Destination Storage Account Information #\n$destinationStorageAccountName = \"kenazdestinationsa\"\n$destinationKey = \"MyDestinationStorageAccountKey\"\n$destinationContext = New-AzureStorageContext \u2013StorageAccountName $destinationStorageAccountName -StorageAccountKey $destinationKey  \n\n# Create the destination container #\n$destinationContainerName = \"destinationvhds\"\nNew-AzureStorageContainer -Name $destinationContainerName -Context $destinationContext \n\n# Copy the blob # \n$blobCopy = Start-AzureStorageBlobCopy -DestContainer $destinationContainerName `\n                        -DestContext $destinationContext `\n                        -SrcBlob $blobName `\n                        -Context $sourceContext `\n                        -SrcContainer $sourceContainer\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">This will initiate the blob copy from your source storage account to your destination storage account. At this point, you\u2019ll probably have to wait a while for the blob to be fully copied. In order to check the status of the operation, you can try the following commands.<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nwhile(($blobCopy | Get-AzureStorageBlobCopyState).Status -eq \"Pending\")\n{\n    Start-Sleep -s 30\n    $blobCopy | Get-AzureStorageBlobCopyState\n}\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Once the blob is finished copying, the status of the blob copy will be \u201cSuccess\u201d.&nbsp;For a more comprehensive copy VHD example, see &#8220;<a href=\"https:\/\/gallery.technet.microsoft.com\/scriptcenter\/Azure-Virtual-Machine-Copy-1041199c\">Azure Virtual Machine: Copy VHDs Between Storage Accounts<\/a>.&#8221;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"blob-copy-using-azcopy\">Blob copy using AzCopy<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">Another option is to use the AzCopy utility (<a href=\"https:\/\/aka.ms\/downloadazcopy\">download here<\/a>). Here is the equivalent blob copy between storage accounts:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nAzCopy https:\/\/sourceaccount.blob.core.windows.net\/mycontainer1 https:\/\/destaccount.blob.core.windows.net\/mycontainer2 \/sourcekey:key1 \/destkey:key2 abc.txt\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">For more details on how to use AzCopy for different scenarios, check out \u201c<a href=\"https:\/\/azure.microsoft.com\/en-us\/documentation\/articles\/storage-use-azcopy\/\">Getting Started with the AzCopy Command-Line Utility<\/a>\u201d.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-an-azure-disk\">Create an Azure Disk<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At this point, the blob that you\u2019ve copied into your destination storage account is still just a blob. In order to boot from it, you have to create an Azure Disk from this blob. Navigate to the Disks section of Virtual Machines and select Create.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>NOTE: <\/strong>These instructions are specific to specialized VMs. If you want to use the VHD as an image, you will need to restart the VM, sysprep it, copy the blob over, and then add as an Image (not a Disk).<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/VirtualMachineDisks.webp\" alt=\"graphical user interface, application\" class=\"wp-image-8952 webp-format\" title=\"VirtualMachineDisks\" data-orig-src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/VirtualMachineDisks.webp\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Use the VHD URL explorer to select the blob from the destination container that we copied the blob to. Select the toggle that says \u201cThe VHD contains an operating system.\u201d This indicates to Azure that the disk object you\u2019re creating is meant to be used as the OS disk rather than one of the data disks.<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/CreateVHD.webp\" alt=\"graphical user interface, text, application\" class=\"wp-image-8954 webp-format\" title=\"CreateVHD\" data-orig-src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/CreateVHD.webp\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>NOTE: <\/strong>If you get an error that states \u201cA lease conflict occurred with the blob \u2026\u201d, go back to the previous step to validate that the blob has finished copying.<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/LeaseCOnflict.webp\" alt=\"graphical user interface, text, application\" class=\"wp-image-8956 webp-format\" title=\"LeaseCOnflict\" data-orig-src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/LeaseCOnflict.webp\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">Alternatively, you can use the Powershell cmdlets to perform the same operation:<\/p>\n\n\n<div class=\"wp-block-syntaxhighlighter-code \"><pre class=\"brush: plain; title: ; notranslate\" title=\"\">\nAdd-AzureDisk -DiskName \"myMigratedTestVM\" `\n            -OS Linux `\n            -MediaLocation \"https:\/\/kenazdestinationsa.blob.core.windows.net\/destinationvhds\/KenazTestService-TestVM1-2014-8-26-16-16-48-522-0.vhd\" `\n            -Verbose\n<\/pre><\/div>\n\n\n<p class=\"wp-block-paragraph\">Once complete, the Disk should show up under the Disks section of Virtual Machines.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"create-the-virtual-machine\">Create the Virtual Machine<\/h2>\n\n\n\n<p class=\"wp-block-paragraph\">At this point, you can create the Virtual Machine using the disk object you just created. From the Service Management Portal, select Create Virtual Machine from Gallery and select the Disk that you created under My Disks.<\/p>\n\n\n\n<p class=\"wp-block-paragraph\"><strong>NOTE<\/strong>: If you are moving a VM that has a storage pool configured (or want the drive letter ordering to remain the same), make a note of the LUN number to VHD mapping on the source VM, and make sure the data disks are attached to the same LUNs on the destination VM.<\/p>\n\n\n<figure class=\"wp-block-image size-full\"><img decoding=\"async\" src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/LinuxVM_thumb.webp\" alt=\"graphical user interface\" class=\"wp-image-8958 webp-format\" title=\"LinuxVM\" data-orig-src=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/LinuxVM_thumb.webp\"><\/figure>\n\n\n\n<p class=\"wp-block-paragraph\">The Virtual Machine is now running in the destination storage account.<\/p>\n\n\n<pre class=\"prettyprint\">\u00a0<\/pre>\n<p>\u00a0<\/p>","protected":false},"excerpt":{"rendered":"<p>In this post, we will learn how to migrate a Virtual Machine from one storage account to another.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"ms_queue_id":[],"ep_exclude_from_search":false,"_classifai_error":"","_classifai_text_to_speech_error":"","_alt_title":"","footnotes":"","msx_community_cta_settings":[]},"categories":[1491],"tags":[],"audience":[3057,3055,3053,3056],"content-type":[],"product":[1525],"tech-community":[],"topic":[],"coauthors":[97],"class_list":["post-5794","post","type-post","status-publish","format-standard","hentry","category-storage","audience-data-professionals","audience-developers","audience-it-decision-makers","audience-it-implementors","product-azure-blob-storage","review-flag-1680286580-543","review-flag-1680286581-295","review-flag-1680286584-658","review-flag-1-1680286581-825","review-flag-8-1680286581-263","review-flag-new-1680286579-546","review-flag-vm-1680286585-143"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.2 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Migrate Azure Virtual Machines between Storage Accounts | Microsoft Azure Blog<\/title>\n<meta name=\"description\" content=\"In this post, we will learn how to migrate a Virtual Machine from one storage account to another.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Migrate Azure Virtual Machines between Storage Accounts | Microsoft Azure Blog\" \/>\n<meta property=\"og:description\" content=\"In this post, we will learn how to migrate a Virtual Machine from one storage account to another.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/\" \/>\n<meta property=\"og:site_name\" content=\"Microsoft Azure Blog\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/microsoftazure\" \/>\n<meta property=\"article:published_time\" content=\"2014-10-22T00:00:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2025-09-15T20:30:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/image-1.webp\" \/>\n\t<meta property=\"og:image:width\" content=\"614\" \/>\n\t<meta property=\"og:image:height\" content=\"295\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/webp\" \/>\n<meta name=\"author\" content=\"Microsoft Azure\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@azure\" \/>\n<meta name=\"twitter:site\" content=\"@azure\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Microsoft Azure\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/\"},\"author\":[{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/microsoft-azure\/\",\"@type\":\"Person\",\"@name\":\"Microsoft Azure\"}],\"headline\":\"Migrate Azure Virtual Machines between Storage Accounts\",\"datePublished\":\"2014-10-22T00:00:00+00:00\",\"dateModified\":\"2025-09-15T20:30:17+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/\"},\"wordCount\":873,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/image-1.webp\",\"articleSection\":[\"Storage\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/\",\"name\":\"Migrate Azure Virtual Machines between Storage Accounts | Microsoft Azure Blog\",\"isPartOf\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/image-1.webp\",\"datePublished\":\"2014-10-22T00:00:00+00:00\",\"dateModified\":\"2025-09-15T20:30:17+00:00\",\"description\":\"In this post, we will learn how to migrate a Virtual Machine from one storage account to another.\",\"breadcrumb\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#primaryimage\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/image-1.webp\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/image-1.webp\",\"width\":614,\"height\":295,\"caption\":\"A diagram of a server\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Blog home\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Storage\",\"item\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/storage\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Migrate Azure Virtual Machines between Storage Accounts\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#website\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"name\":\"Microsoft Azure Blog\",\"description\":\"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.\",\"publisher\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization\",\"name\":\"Microsoft Azure Blog\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"contentUrl\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp\",\"width\":512,\"height\":512,\"caption\":\"Microsoft Azure Blog\"},\"image\":{\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/microsoftazure\",\"https:\/\/x.com\/azure\",\"https:\/\/www.instagram.com\/microsoftdeveloper\/\",\"https:\/\/www.linkedin.com\/company\/16188386\",\"https:\/\/www.youtube.com\/user\/windowsazure\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/c702e5edd662b328b49b7e1180cab117\",\"name\":\"shakir\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g\",\"caption\":\"shakir\"},\"sameAs\":[\"https:\/\/azure.microsoft.com\"],\"url\":\"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/shakir\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Migrate Azure Virtual Machines between Storage Accounts | Microsoft Azure Blog","description":"In this post, we will learn how to migrate a Virtual Machine from one storage account to another.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/","og_locale":"en_US","og_type":"article","og_title":"Migrate Azure Virtual Machines between Storage Accounts | Microsoft Azure Blog","og_description":"In this post, we will learn how to migrate a Virtual Machine from one storage account to another.","og_url":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/","og_site_name":"Microsoft Azure Blog","article_publisher":"https:\/\/www.facebook.com\/microsoftazure","article_published_time":"2014-10-22T00:00:00+00:00","article_modified_time":"2025-09-15T20:30:17+00:00","og_image":[{"width":614,"height":295,"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/image-1.webp","type":"image\/webp"}],"author":"Microsoft Azure","twitter_card":"summary_large_image","twitter_creator":"@azure","twitter_site":"@azure","twitter_misc":{"Written by":"Microsoft Azure","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#article","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/"},"author":[{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/microsoft-azure\/","@type":"Person","@name":"Microsoft Azure"}],"headline":"Migrate Azure Virtual Machines between Storage Accounts","datePublished":"2014-10-22T00:00:00+00:00","dateModified":"2025-09-15T20:30:17+00:00","mainEntityOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/"},"wordCount":873,"commentCount":0,"publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/image-1.webp","articleSection":["Storage"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/","name":"Migrate Azure Virtual Machines between Storage Accounts | Microsoft Azure Blog","isPartOf":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#primaryimage"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#primaryimage"},"thumbnailUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/image-1.webp","datePublished":"2014-10-22T00:00:00+00:00","dateModified":"2025-09-15T20:30:17+00:00","description":"In this post, we will learn how to migrate a Virtual Machine from one storage account to another.","breadcrumb":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#primaryimage","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/image-1.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2014\/10\/image-1.webp","width":614,"height":295,"caption":"A diagram of a server"},{"@type":"BreadcrumbList","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/migrate-azure-virtual-machines-between-storage-accounts\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Blog home","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/"},{"@type":"ListItem","position":2,"name":"Storage","item":"https:\/\/azure.microsoft.com\/en-us\/blog\/category\/storage\/"},{"@type":"ListItem","position":3,"name":"Migrate Azure Virtual Machines between Storage Accounts"}]},{"@type":"WebSite","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#website","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","name":"Microsoft Azure Blog","description":"Get the latest Azure news, updates, and announcements from the Azure blog. From product updates to hot topics, hear from the Azure experts.","publisher":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/azure.microsoft.com\/en-us\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#organization","name":"Microsoft Azure Blog","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","contentUrl":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-content\/uploads\/2024\/06\/microsoft_logo.webp","width":512,"height":512,"caption":"Microsoft Azure Blog"},"image":{"@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/microsoftazure","https:\/\/x.com\/azure","https:\/\/www.instagram.com\/microsoftdeveloper\/","https:\/\/www.linkedin.com\/company\/16188386","https:\/\/www.youtube.com\/user\/windowsazure"]},{"@type":"Person","@id":"https:\/\/azure.microsoft.com\/en-us\/blog\/#\/schema\/person\/c702e5edd662b328b49b7e1180cab117","name":"shakir","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g7664e653ea371ce16eaf75e9fa8952c4","url":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/9342c7c05bb16548741bc5cd3a3e3b7ee0c8e746844ad2cc582db5beb5514c6f?s=96&d=mm&r=g","caption":"shakir"},"sameAs":["https:\/\/azure.microsoft.com"],"url":"https:\/\/azure.microsoft.com\/en-us\/blog\/author\/shakir\/"}]}},"msxcm_display_generated_audio":false,"msxcm_animated_featured_image":null,"distributor_meta":false,"distributor_terms":false,"distributor_media":false,"distributor_original_site_name":"Microsoft Azure Blog","distributor_original_site_url":"https:\/\/azure.microsoft.com\/en-us\/blog","push-errors":false,"_links":{"self":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/5794","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/comments?post=5794"}],"version-history":[{"count":1,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/5794\/revisions"}],"predecessor-version":[{"id":46256,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/posts\/5794\/revisions\/46256"}],"wp:attachment":[{"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/media?parent=5794"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/categories?post=5794"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tags?post=5794"},{"taxonomy":"audience","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/audience?post=5794"},{"taxonomy":"content-type","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/content-type?post=5794"},{"taxonomy":"product","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/product?post=5794"},{"taxonomy":"tech-community","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/tech-community?post=5794"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/topic?post=5794"},{"taxonomy":"author","embeddable":true,"href":"https:\/\/azure.microsoft.com\/en-us\/blog\/wp-json\/wp\/v2\/coauthors?post=5794"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}