Azure provides a lot of pre-configured images for customers. But it’s not always satisfied the needs. People may want to migrate on-premise virtual machines to Azure. There are several ways to migrate VMware virtual machines to Azure. The easiest way is to leverage Azure Migrate. This article introduces how to fix failed to register Azure Migrate appliance.
There are two ways to deploy Azure Migrate appliance:
- Deploy the appliance by importing the OVA file.
- Install the application with scripts on an existing virtual machine.
There is an issue if you installed it with option 2 above. As a result, you may see the “failed to register Azure Migrate” error below.
An error occurred as the scenario type (VMware/Hyper/Physical) of the appliance ‘xxx’ – does not match the one in the Azure Migrate project key.
Looks like this is a bug in the installation scripts. Therefore you have to run the installer with the following parameters:
./AzureMigrateInstaller.ps1 -Scenario VMware -Cloud Public