Move Managed Disks to another subscription

It is strongly recommended to use managed disks when deploying virtual machines in Azure. But one of the downsides of managed disks is that you are unable to move your virtual machines to another subscription. That is….until now!

At Ignite 2018 Microsoft announced an update to the Microsoft.Compute Resource provider that let’s us move virtual machines with managed disks. To be able to use the new feature you need to register the new Resource Provider feature first with the following command from PowerShell or from the Azure CLI.