When using an agent that uses PowerShell remoting you see the following error
"The WS-Management service cannot process the request. The service is configured to not accept any remote shell requests."
Review and configure the following setting
The setting can be located in the following group policy path
Computer Configuration > Administrative Templates > Windows Components > Windows Remote Shell > Allow Remote Shell Access