A central hub of Azure cloud migration services and tools to discover, assess, and migrate workloads to the cloud.
As you mentioned both appliances report identical diagnostic errors, the functional impact is different:
- Linux discovery succeeds
- Windows discovery fails
This indicates that the diagnostic errors themselves are not the root cause, but merely generic appliance health warnings. The real issue is specific to Windows discovery on the appliance, not to outbound connectivity or firewall configuration.
The diagnostics check validates:
- Appliance service restart behavior
- Reachability of Azure Migrate endpoints
These checks are generic and apply equally to Linux and Windows discovery, Minor HTTP 400 / 404 responses do not fully block discovery. Therefore, both appliances legitimately report the same warnings.
Why Linux discovery still works
- Linux discovery relies only on:
- SSH (TCP 22)
- No CIM / WMI / DCOM dependencies
- As long as SSH works, Linux machines can be discovered successfully
- SSH (TCP 22)
Why Windows discovery fails
- Windows discovery requires CIM/WMI libraries on the appliance
- The error shown:
System.IO.FileNotFoundException
Microsoft.Management.Infrastructure
indicates that the CIM/WMI runtime dependency on the appliance cannot be loaded
- Without this component:
- Windows metadata collection fails
- Validation cannot complete
- Servers remain in “Discovery Incomplete” state
This is why the portal explicitly states that the issue does not indicate a problem with the target guest VM.
Confirm Appliance Service State:
- Log in to the Azure Migrate Appliance VM.
- Open Azure Migrate Appliance Configuration Manager.
- Navigate to Manage services.
- Select Refresh appliance services.
- Wait until all appliance services restart successfully.
- Re-run discovery from the Azure portal.
This step ensures the Azure Migrate discovery and management services are running properly and can resolve temporary runtime issues.
Confirm the Issue Is Appliance-Side:
Based on the validation already performed:
- WinRM connectivity (TCP 5985) is functioning
- Credentials are valid and have administrator privileges
- Required outbound URLs are reachable
- Network connectivity between the appliance and servers is working
These checks eliminate target VM configuration and network connectivity as the root cause.
This indicates the failure is occurring within the appliance runtime environment.
Redeploy the Appliance (Microsoft Recommended Action):
If the appliance reports errors such as missing Microsoft.ManagementInfrastructure or similar CIM/WMI dependencies, the supported remediation is to redeploy the Azure Migrate appliance.
Recommended steps:
- Deploy a new Azure Migrate appliance using the latest appliance package (OVA/VHD).
- Do not clone, snapshot, or reuse existing appliance VMs.
- Avoid performing OS hardening or manual configuration changes before the appliance setup and discovery are completed.
- Register the new appliance with the Azure Migrate project.
- Re-add the Windows servers for discovery.
Manual repair or replacement of CIM/WMI (Microsoft Management Infrastructure) assemblies inside the appliance is not supported, because the Azure Migrate appliance is delivered as a managed and preconfigured runtime environment.
Therefore, redeploying the appliance is the supported and recommended resolution when these core components are missing or corrupted.