Documentation forServer & Application Monitor

WinRM testing failed

Error: WinRM testing failed with the following error: Connecting to remote server failed with the following error message: Access is denied.

Resolution: Set the appropriate permissions for PowerShell on the target server. When finished, rerun the steps in Assign AppInsight for IIS to nodes in SAM.

To adjust PowerShell permissions:

  1. On the remote computer, open the PowerShell console.
  2. Execute the following PowerShell command: Set-PSSessionConfiguration Microsoft.PowerShell -ShowSecurityDescriptorUI -force When entered, a permissions dialog should open.
  3. Enable Full Control for everyone.
  4. Verify the group that the polling user belongs to can access PowerShell.