Using ASR, how can i move / migrate Azure VM from one tenant to another tenant without using disk copy option

Subhendu Paul 0 Reputation points
2023-04-09T20:17:50.5133333+00:00

Using ASR, how can i move / migrate Azure VM from one tenant to another tenant without using disk copy option.

Azure Site Recovery
Azure Site Recovery
An Azure native disaster recovery service. Previously known as Microsoft Azure Hyper-V Recovery Manager.
645 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SwathiDhanwada-MSFT 17,881 Reputation points
    2023-04-19T17:17:10.46+00:00

    @Subhendu Paul Ideally it can be done. But it isn't officially supported.

    Kindly note that moving or migrating an Azure VM from one tenant to another tenant can be a complex process, and there are several factors to consider. Here are some general steps that you can follow to migrate an Azure VM from one tenant to another without using the disk copy option:

    1. Export the VM configuration: In the source tenant, export the VM configuration to a JSON file using the Azure PowerShell cmdlet "Export-AzResourceGroup". This will create a JSON file that contains the configuration of the VM, including its virtual network, storage account, and other settings.
    2. Create a new virtual network: In the destination tenant, create a new virtual network that has the same IP address range and subnet configuration as the virtual network in the source tenant.
    3. Create a new storage account: In the destination tenant, create a new storage account that has the same configuration as the storage account in the source tenant.
    4. Import the VM configuration: In the destination tenant, import the VM configuration from the JSON file using the Azure PowerShell cmdlet "New-AzResourceGroupDeployment". This will create a new VM in the destination tenant with the same configuration as the VM in the source tenant.
    5. Copy the data: Once the new VM is created, you can copy the data from the source VM to the destination VM using a variety of methods, such as Azure Site Recovery, Azure Backup, or third-party tool

    It is important to note that this process can be complex and may require significant planning and coordination between the source and destination tenants. Additionally, there may be limitations or restrictions on moving certain types of VMs or data between tenants, so it is important to review the Azure documentation and consult with Azure support or a qualified Azure partner before attempting to migrate a VM between tenants.

    0 comments No comments