I am facing WinRM errors while validating Hyper-V hosts in Azure migrate The WS-Management service cannot process the request because the XML is invalid.

Pank 1 Reputation point
2020-04-10T18:33:48.627+00:00

I am facing WinRM errors while validating Hyper-V hosts in Azure migrate
The WS-Management service cannot process the request because the XML is invalid.

7351-error.pdf

Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,196 questions
{count} votes

1 answer

Sort by: Most helpful
  1. KarishmaTiwari-MSFT 18,527 Reputation points Microsoft Employee
    2020-04-10T20:21:34.953+00:00

    One of the reason could be that OEM image of the hyper-v host is too big to be collected in XML file, try removing OEM image from the location and share the results.

    Other reason could be that the WS-management (WinRM) service on one of the VM's errored out during the Remove-WSManInstance command in the Wait-VMPSConnection function.

    Rerun with the -rerun parameter if you didn't try it already. If that doesn't help then reboot your host, wait a while after all the VM's to came up (Failover Cluster) and restart the installation with the '-rerun' flag and
    let us know the outcome.