We were recently migration on premises virtual machines from Hyper-V to Azure. We were using Azure Migrate and all was going well until the “Prepare for configuring protection” stage of the project.
The error message we were experiencing was:
Error ID
10003
Error Message
Protection couldn’t be configured for cloud/site HyperV-Migration-HyperVSite.
Provider error
Provider error code: 31408 Provider error message: Failed to fetch the version of Microsoft Azure Recovery Services Agent installed on the Hyper-V host server SERVER.DOMAIN.COM Error: Provider not found Provider error possible causes: It is possible that Registry provider of WMI is corrupted. Provider error recommended action: Build the repository using MOF compiler and retry the operation.
Possible causes
One or more hosts couldn’t be prepared. Check the Provider error for more information. “
The resolution for this error was to run the below commands from command prompt
- cd wbem
- mofcomp regevent.mof
We reran the job after running the below commands and the job succeeded ?
Contact risual on our website or Twitter for more information.