A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
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:
- 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
- Migrate GCP instances to Azure (Agent-based) - Microsoft Learn
- Troubleshoot mobility service registration issues
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.