Move Azure VM from one subscription to another

In this post we will see how we can move Microsoft Azure Virtual Machine from one subscription to another.

Tools you can use:
AzCopy
or
Microsoft Azure Storage Explorer

I am assuming you are already familiar with the Azure admin tasks like creating disks, VMs etc.

Steps for moving Virtual Machines:

  • Stop the source Virtual Machine
  • Create a new storage account (classic) using the destination Azure subscription
  • Move VHDs from source storage account to destination storage account

    I used Microsoft Azure Storage Explorer and added both source & destination subscriptions to it. Explorer will show all storage accounts from connected subscription. Then you just need to copy the Blob container from the source storage and paste it to the destination storage account.
     

  • Create an Azure disk with the destination OS VHD you just copied. Use OS VHD at this point and you can add additional disks later.
  • Create the Virtual Machine using the disk from the last step.
The Virtual Machine is now running in the destination Azure subscription/storage account.

Join me on facebook and feel free to post your comments / feedback / queries.

If you liked the story and want to see more of this kind of content, please follow our twitter handle @CursorRun or FB page @CursorRun
Default image
Rahul Sharma
Rahul is a technology enthusiast, solutions architect, trainer, and blogger, working on various Microsoft and open source solutions with more than 18 years of industry experience. He specially takes interest in designing enterprise applications, cloud integrations, IoT, and other architecture rich business solutions.

Leave a Reply

%d bloggers like this: