Applications Systems

Connecting to remote server xxx.xxx.xxx.xxx failed with the following error message : The WS-Management service cannot process the request.

When attempting to poll or configure AppInsight for IIS the following error appears: Connecting to remote server xxx.xxx.xxx.xxx failed with the following error message : The WS-Management service cannot process the request. Cannot find the Microsoft.Powershell session configuration in the WSMan: drive on the xxx.xxx.xxx.xxx computer

First published date

10/9/2018 9:09 PM

Last published date

10/9/2018 9:09 PM

Overview

AppInsight gets the following error during polling or Server Configuration

Connecting to remote server xxx.xxx.xxx.xxx failed with the following error message :
The WS-Management service cannot process the request.
Cannot find the Microsoft.Powershell session configuration in the WSMan:
drive on the xxx.xxx.xxx.xxx computer

Product section

Server Application Monitor

Cause

There is an issue with the WS-Man service on the target server.

Resolution

  1. Open a Powershell Prompt on the target server.
  2. Run the following:
Register-PSSessionConfiguration -Name Microsoft.PowerShell