PowerShell operation or Workflow script fails with incorrect ExecutionPolicy setting

Beau Harrison (Senior Product Software Engineer) 7 years ago updated by anonymous 7 years ago 1


PowerShell executes under a series of ExecutionPolicies that enable different access to different actors in an implementation.

Affected Software

  • MIM Event Broker
  • PowerShell
  • MIM Portal


Either individual PowerShell check/standard operations fail with an incorrect ExecutionPolicy message, or a similar exception is thrown when the Portal Workflow script is run.


The Execution Policy of PowerShell will need to be updated according to the following prerequisites:

  • PowerShell integration that executes within Event Broker executes under a Process Execution Policy Scope.
  • The workflow script is not signed as it it generated on request, as such for this script neither the AllSigned or RemoteSigned willl work.

For more information about how to configure your ExecutionPolicy, refer to: http://technet.microsoft.com/library/hh847748.aspx