Powershell: PowerShell execution policy must be set to RemoteSigned


This error is observed in the verbosed ACC logs or the verbosed AirWatch Console Server logs. The exact error is as below:

AirWatch.AirWatchException: PowerShell execution policy must be set to RemoteSigned. Run command 'Set-ExecutionPolicy RemoteSigned' in PowerShell CLI and try again.
at AirWatch.CloudConnector.Common.PowerShell.PowerShellSessionManager.get_Runspace()
at AirWatch.CloudConnector.ExchangeServices.ActiveSyncPolicyManagementService.TestConnection(TestActiveSyncConnectionRequest request)



  1. This error is caused when the ACC Server or the AirWatch Admin Console server does not have the permissions to issue Remote Shell commands that are signed.
  2. This error could also be caused when the Exchange server does not have permissions to execute signed shell commands when issued from a remote server.


  1. Execute the command on the Exchange Management Shell on the Exchange Server  PS C:\Windows\system32>Set-ExecutionPolicy RemoteSigned
  2. Execute the same command on the ACC Server or the AirWatch Admin Console Server.

Additional Information

The Set-ExecutionPolicy cmdlet enables you to determine which Windows PowerShell scripts (if any) will be allowed to run on your computer. Windows PowerShell has four different execution policies:

  • Restricted - No scripts can be run. Windows PowerShell can be used only in interactive mode.

  • AllSigned - Only scripts signed by a trusted publisher can be run.

  • RemoteSigned - Downloaded scripts must be signed by a trusted publisher before they can be run.

  • Unrestricted - No restrictions; all Windows PowerShell scripts can be run.

From an AirWatch standpoint we execute Powershell commands which are RemoteSigned.

Have more questions? Submit a request


Article is closed for comments.