Azure migrate error (Gcp to azure )

Niveditha Manjegowda 0 Reputation points
2026-06-23T14:42:42.7466667+00:00

Hello team.

we are trying to migrate GCP servers to azure VM. agent based migration
we have successfully created project
we have successfully installed replication appliance and registered

we have installed mobility agent on gcp (source) servers which needs to be migrated. while the agent is getting installed successfully. during replication the VM discovered with below error.
**"Machine not discovered with selected appliance "
PFA, screenshot . error.png
if anyone have experienced or aware of this pls do comment **

Azure Migrate
Azure Migrate

A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.


3 answers

Sort by: Most helpful
  1. Jose Benjamin Solis Nolasco 10,891 Reputation points Volunteer Moderator
    2026-06-23T15:07:55.5466667+00:00

    Welcome to Microsoft Q&A

    Hello @Niveditha Manjegowda I hope you are doing well,

    Azure Migrate requires the appliance to send a heartbeat to Azure confirming that the specific VM is tied to it. If the portal does not receive this association telemetry, it throws the "Machine not discovered with selected appliance" error.

    Check please the following things:

    1. Manually re-register the Windows agent: The silent or GUI installer sometimes fails the final registration step without throwing a hard error. On your GCP Windows server, open an elevated Command Prompt, navigate to the agent installation path (usually C:\Program Files (x86)\Microsoft Azure Site Recovery\agent), and manually run the configuration tool: UnifiedAgentConfigurator.exe -i <Appliance_IP> -P <Passphrase_File_Path>

    Verify internal communications: Ensure that the Windows Defender Firewall on the guest OS, as well as your GCP VPC Firewall rules, are explicitly allowing outbound traffic on ports 443 and 9443 from the source VM directly to the Replication Appliance's IP address.

    Inspect the Configurator Log: If manual registration fails, check the logs located at C:\ProgramData\ASRSetupLogs\ASRUnifiedAgentConfigurator.log. Look specifically for time synchronization errors (the VM and appliance must have matched clocks) or TLS/certificate rejections.

    Allow Cloud Sync Time: Once the agent is successfully registered to the appliance, it can take 15 to 30 minutes for the appliance to push that discovery data up to the Azure portal. Wait at least 15 minutes after a successful registration before trying to enable replication.

    References

    If my answer helped you resolve your issue, please consider marking it as the correct answer. This helps others in the community find solutions more easily.

    Was this answer helpful?


  2. Niveditha Manjegowda 0 Reputation points
    2026-06-23T14:44:28.8433333+00:00

    we have already tried the above still not working
    its windows server

    Was this answer helpful?

    0 comments No comments

  3. AI answer

    2026-06-23T14:43:00.1966667+00:00

    The error "Machine not discovered with selected appliance" during GCP→Azure agent-based migration indicates that Azure Migrate doesn’t see the source VM as correctly associated with the replication appliance.

    Check the following in order:

    1. Mobility agent installation and registration
      • Confirm the Mobility service agent is installed on each GCP VM using one of the supported methods (SCCM, Azure Arc + custom script, manual install).
      • On Linux, verify the install and registration commands completed successfully, for example:
        • Extract installer tarball and run:
                 mkdir /tmp/MobSvcInstaller
                 tar -C /tmp/MobSvcInstaller -xvf <Installer tarball>
                 cd /tmp/MobSvcInstaller
                 sudo ./install -r MS -v VmWare -q -c CSLegacy
          
        • Register the agent with the replication appliance:
                 /usr/local/ASR/Vx/bin/UnifiedAgentConfigurator.sh -i <replication appliance IP address> -P <Passphrase File Path>
          
      • Ensure the agent is registered to the same replication appliance that is selected in the Azure Migrate project.
    2. Replication appliance health and configuration
      • Verify the replication appliance meets requirements (OS version, MySQL installed, URLs reachable).
      • Confirm the appliance was set up from the correct Azure Migrate project and region:
        • In the Azure Migrate project: Servers, databases, and web appsMigration and modernizationDiscoverNot virtualized/Other → correct Target regionCreate resourcesInstall a replication appliance.
      • Make sure there are no stale or duplicate replication appliances connected to the same project, as this can cause discovery/association issues.
    3. Network connectivity and firewall rules
      • Ensure there is a network path between each GCP VM and the replication appliance.
      • Open required ports on the appliance and any intervening firewalls:
        • TCP 9443 and HTTPS 443 for data transport and control traffic.
      • Verify that private endpoints (if used) are reachable from the appliance.
    4. Azure Migrate appliance and project association
      • Confirm that the appliance used for migration is the one selected in the Azure Migrate portal for these machines. If the VM was registered to a different appliance or project, it will show as "Machine not discovered with selected appliance".
    5. Re‑validate discovery
      • After confirming agent registration and connectivity, re-run discovery/refresh in the Azure Migrate portal for Replicating servers.
      • If the issue persists, check appliance logs under %ProgramData%\Microsoft Azure\Logs for registration or connectivity errors.

    If any of the above checks fail (agent not registered, wrong appliance, blocked ports, duplicate appliances), correct that configuration and then retry replication; the VM should then be discovered correctly with the selected appliance.


    References:

    AI-generated content may be incorrect. Read our transparency notes for more information.

    Was this answer helpful?

Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.