Move virtual machine between different accounts

Occasional Contributor

Hello guys!
Do you know if it is possible to move a virtual machine to another Azure account?

14 Replies
best response confirmed by Vinícius Barreto (Occasional Contributor)
Hi, There is no direct way to migrate a vm from One Account to an other, of we speack about separate subscription from different owner. There a to possible ways - Grant the user of One subscription rights in the other subscription so that this user is able to use both subscription. Than you can move a vm and all relaxed resources to the other subscription. The other way is to just move the vhd-files from one storage account to an other by using e.g. Azcopy. In this case you only need the Security Information of the Storage account. But After the copy you have to rebuild the vm. Regards Niels



Can you share steps how to do so? I am trying to share a subscription but nothing is happening.


Thanks in advance. 

Are you able to understad what to do?

Thanks for the links. 

Thanks for posting a great ariticle:thumbs_up::thumbs_up:

If the both subscriptions are in same tenant you can migrate VMs between subscriptions. 


Use following doc


If you want to move resources between two tenents then you have to use alternative method. We can use Azure Storage explore to copy VHDs from one SA to other SA in different tenant. Then using PowerShell or Azure CLI script we can create a VM from that VHD. 

Thanks for very helpful information

What about Linux VMs. Does the same process replicate linux VMs too?

Hello, I have not tested this procedure with Linux VMs, but I recommend that you do a test and if you can not find it, I believe you can find the most appropriate procedure in the same place where the procedure I recommended for Windows VMs is.
Good luck and sucess!

@Niels OpheyDoes this work for real?