How to move Azure VM between subscriptions

I recently needed to move an Azure Virtual Machine from one subscription to another one. I read a LOT on how to do that and it looks super complicated. At the end of the day, I found an easy 3 steps way to make it, so sharing on this blog Sourire

Step 1: Move the Azure VM from one Blob storage to another one

In Microsoft Azure, when you have a blob  storage, it can be attached only to 1 subscription. You can of course have multiple storage attached into a subscription. So first step is to move the VHD which is used by the VM.

For this, I used the excellent CloudBerry Explorer for Azure which you can download for free here. After installation, just register for free and you’re good to go.

You’ll need to add your 2 blob storage, the one you want to move the VHD from and the one you want to move the VHD to.


To find the name of the storage and the key, just go into the Azure management console and select Manage Access Keys, you’ll get the info you need to setup both accounts.


Once setup, you can now have a view like this:


Stop your VM and you’re good to copy/paste your VM from one storage to another.

Step 2: Create a Disk from VHD

In the management console, go to Virtual Machine then Disks


then Create


fill a name, select the VHD from the storage you just moved your VHD file to.


Step 3: Create the VM from the Disk

Go to the Virtual Machine instances


then create a New


select From Gallery


and go to Disks to select the disk you just created.


And you’re good to go to run your VM!

Comments (15)

  1. Ruud Borst says:

    Very nice, thanks for sharing. I assume the data transfer part occurs between Azure and your client computer and from there again into Azure?

  2. Laurelle says:

    It's moved directly. If you want, you can move them to your PC as well.

  3. Vinicius Paluch says:

    Much Easier is impossible!  thanks!

  4. John T says:

    Will this work for moving a VM from the Service Management platform to the Resource Manager platform?

  5. Iain L says:

    when I attempt to copy a VM the copy option is not selectable?

  6. Joakim says:

    Too bad this is only for the classic VM's and the old portal… How is this done in the new portal and with the new Resource Management?

    1. Abinesh says:

      Try Azure storage explorer for ARM vm’s.

  7. Emre Aydin says:

    After register storage accaount create a container to new storage. And then you can be able to copy/move your vHDs in it.

    Emre Aydin


    1. David Ma MS says:

      With the new Azure portal, how to create disks from vhd. thanks

  8. Juha Metsäkallas says:


    I’ve assembled a virtual machine (VM) using the Azure Service Management (ASM) a.k.a. Classic deployment model. This VM encompasses AD (it is a Domain Controller), MS SQL Server and Sharepoint 2013. Yes, I know, that is an unsupported (by Microsoft) set-up for Sharepoint, but I have had it working as a development environment. Previously I have cloned it with Powershell but MS made some changes and instead of updating the scripts I tested with the way above.

    The cloning works, Sharepoint works except Office add-ins (previously known as apps). I have hunted down the issue to nslookup. A working VM responds

    Default Server: localhost

    while non-working VM responds

    Default Server: UnKnown

    where the first three fields of the address are the same as a DHCP generated address for the server’s internal IP.

    I repeat, the VM has worked previously. The only difference is that when cloned with Powershell it keeps working, when with Cloudberry + Azure gallery, nslookup quits to work.

  9. The Copy paste or Move option is disabled in CloudBerry Explorer when i am trying to copy the container form “Move From” to “Move To” storage. why would that be disabled?

  10. Santhosh Katta says:

    Thanks for your post. When i am trying to move vhd from one blob to another blob, getting the following error.

    “There is currently a lease on the blob and no lease ID was specified in the request…”
    I deleted the entire VM from the subscription. So could please help me on this. What is this “ID” and how to get that. Thanks

  11. George says:

    I used Azure Management Studio instead, as the Copy option was not selectable in Cloudberry, and it worked just fine, thanks!

  12. I had problems with CloudBerry Explorer.. tried in two different computers in two different networks and couldn´t pass 39% on the transfer.. it was a 128 GB VHD file…

  13. In time, I just found the Microsoft Azure Store Explorer and in the firts try, 100% success!

Skip to main content