"WinRM client cannot process the request" error when you connect to Exchange Online through remote Windows PowerShell
When you try to use remote Windows PowerShell to connect to Microsoft Exchange Online in Microsoft Office 365, you receive the following error message:
[outlook.office365.com] Connecting to remote server failed with the following error message: The "WinRM client cannot process the request because the server name cannot be resolved. For more information, see the about_Remote_Troubleshooting Help topic. + CategoryInfo : OpenError: (System.Manageme....RemoteRunspace:RemoteRunspace) . PSRemotingTransportException + FullyQualifiedErrorId : PSSessionOpenedFailed
This issue occurs if either an internal firewall or the Windows Remote Management service has not been started.
To resolve this issue, check whether the Windows Remote Management service is installed and has started. To do this, follow these steps:
Do one of the following:
- In Windows 8, press the Windows logo key+R to open the Run dialog box, type services.msc, and then press Enter.
- In Windows 7 or Windows Vista, click Start, type services.mscin the **Start search **field, and then press Enter.
- In Windows XP, click Start, click Run, type services.msc, and then press Enter.
In the Services window, double-click Windows Remote Management.
Set the startup type to Manual, and then click OK.
Right-click the service, and then click Start.
Let the service start.
If the service was already started but it's not responding, you may have to click Restart.
Try to connect to Exchange Online again.
For more information about how to connect to Exchange Online by using remote PowerShell, go to Connect to Exchange Online using Remote PowerShell.
Still need help? Go to Microsoft Community.