A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
Hello M,
Thank you for reaching out to the Microsoft Q&A forum.
When investigated it looks like you’re hitting the ServerDiscoveryService.exe crash in the Azure Migrate appliance when doing physical‐server discovery. Unfortunately, there’s no public “patch” for the 2.0 bug right now, but here are a few things you can try in the meantime, plus some questions that will help narrow down what’s happening:
What to try first
- Verify appliance prerequisites
- Make sure your appliance VM meets the physical server appliance requirements (Windows Server version, RAM/CPU, disk space) and can reach all required URLs (incl. the discovery endpoints).
- If you’re behind a proxy or firewall, double-check that you’ve allow-listed the full list of Azure Migrate URLs from the support matrix.
- Re-run the appliance installer script
- On the appliance host, rerun AzureMigrateInstaller.ps1 to clean up and redeploy the appliance bits. This will refresh the ServerDiscoveryService components.
- Update to the latest appliance bits
- If you haven’t already, download and install the latest Azure Migrate appliance script/agent from the portal. We occasionally bundle hot-fixes in the “auto-update” channel.
- Collect logs & event dumps
- Grab the ServerDiscoveryService crash dump and logs from %ProgramData%\Microsoft Azure\Logs\ServerDiscoveryService\
- Check Windows Event Viewer under “Application” for the crash entry and note the faulting module
- Fallback to agent-based discovery for affected servers
- If it’s only a handful of servers, you can install the Mobility Service directly on each machine and let Azure Site Recovery do “agent-based” discovery instead of agentless appliance discovery.
Key follow-up questions
- Which exact appliance version & build are you running? (you can get this from the appliance config manager footer)
- What OS version is the appliance on (e.g. Windows Server 2016/2019)?
- Are there any proxy/firewall logs showing blocked calls to the discovery endpoints?
- Can you share the faulting module name and exception code from Event Viewer?
- Does the crash happen immediately on start or only after a certain number of servers are processed?
Once we have that info (especially the crash dump and version details), we can drill into whether this is environmental or a reproducible bug that needs escalation.
References
• Support matrix for physical server discovery and assessment – prerequisites and limits https://docs.microsoft.com/azure/migrate/migrate-support-matrix-physical
• Run the Azure Migrate appliance installer script (re-deploy/repair) https://docs.microsoft.com/azure/migrate/how-to-set-up-appliance-physical
• Troubleshoot Azure Migrate appliance (network, prerequisites checks) https://docs.microsoft.com/azure/migrate/troubleshoot-general
• Migrate machines as physical servers to Azure (agent-based fallback) https://docs.microsoft.com/azure/migrate/tutorial-migrate-physical-virtual-machines
Hope this helps!! – let me know the answers to the questions above and any logs you can share, and we’ll get you a more concrete workaround.