Applications Systems

AppinSight for Exchange stops polling after running Exchange On-Premise Mitigation Tool

After running Exchange On-Premise Mitigation Tool Appinsight for exchange stops polling.

First published date

3/24/2021 1:56 PM

Last published date

3/24/2021 1:56 PM

Overview

  • User runs the EOMT (Exchange On-Premise Mitigation Tool) to check for Vulnerabilities.
  • Afterwards, AppinSight for Exchange is no longer polling.

Connecting to remote server  failed with the following error message : WinRM cannot complete the operation. Verify that the specified computer name is valid, that the computer is accessible over the network, and that a firewall exception for the WinRM service is enabled and allows access from this computer. By default, the WinRM firewall exception for public profiles limits access to remote computers within the same local subnet. For more information, see the about_Remote_Troubleshooting Help topic.
1.png

APM Application log
2021-03-19 15:35:55,243 [1] ERROR SolarWinds.APM.RemoteExecutableStarter.ExecutableStarter - Configuration on 130.100.1.98 failed. Unable to run RemoteWinRmConfigurator remotely: System.ComponentModel.Win32Exception (0x80004005): EminentWare::RemoteInstallationClient::Installer::InstallOperation - handleremoteinstallation() failed to install the MSI package. Process exit code:: [0x1] Message: [Incorrect function.]
   at EminentWare.RemoteInstallationClient.Installer.InstallOperation(InstallPackage[] installPackages, String installerPackage, String transformFile, UInt32 operation, InstallerOptions options)
   at SolarWinds.APM.RemoteExecutableStarter.ExecutableStarter.Execute()

Pressing the Configure server tab returns:
Remote Configuration Failed
Remote configuration was unsuccessful due to the following: An error occurred during Exchange Server configuration. Incorrect function. Error Code: 1."


2.png

Pressing the TEST CONNECTION tab returns:
3.png

Product section

Server Application Monitor

Cause

Running the Exchange On-Premise Mitigation Tool sets RemoteExchange Execution Policy to Restricted
 

Resolution

For AppInsight, the Execution Policy needs to be set to RemoteSigned on target servers.
 
  1. Open a PowerShell session in the Administrator context.
  2. Enter the following command: Set-ExecutionPolicy RemoteSigned