Find Exchange URL settings

As part of the AppInsight for Exchange configurations, you should verify the PowerShell Exchange and WinRM URLs are correct. By default, AppInsight for Exchange uses the following URLs for the Exchange and WinRM sessions, where ${IP} is the IP address of the server node being added.

  • Exchange: https://${IP}/powershell/
  • WinRM: https://${IP}:5986/wsman/

Verify the PowerShell instance used by Exchange on a server:

  1. Open the IIS Manager and navigate to the default website then to the PowerShell virtual directory.
  2. Verify the Virtual Path value (typically in the Advance Settings).

Verify a server's WinRM PowerShell instance:

  1. Open a command prompt using Run as Administrator.
  2. Enter the command winrm get winrm/config/listener?Address=*+Transport=HTTPS to get the current configuration for the HTTPS protocol.

The two items of interest for the URL are Port and URLPrefix. If either of these have been modified, and do not match the default values, edit the AppInsight for Exchange application with the correct values:

  • PowerShell Exchange URL: https://${IP}/powershell/
  • PowerShell Windows URL: https://${IP}:9886/Custom_wsman/

Additionally, the value of Hostname must match the CN of the certificate listed in the Certificate Thumbprint property:

For more information, see: