Azure provide a very poor mechanism to share VM images between subscriptions, while Amazon could easily share images between account.
The following page provide enough PowerShell to automate the whole process, but it can’t work if we have VNet configuration for source VM.
I revise and add support on VNet configuration, and package scripts to a file.
Just use a command as below, you may migrate VM to another subscription.
.\CopyVmBetweenSubscriptions.ps1 -SourceVmName SrcDevBox -SourceServiceName SrcDevBox -SourceSubscriptionName “Sub1” -TargetServiceName DevBox2 -TargetSubscriptionName “Sub2”