Issue Description

When executing an Exchange SmartObject method via an activity in a workflow, the workflow will go into an error state.

Error Message

The error message will be similar to the following:

“Service: Exchange Severity: Error Error Message: ExchangeIpersonation SOAP header must be present for this type of OAuth token. InnerException Message”.

Resolution

  1. Ensure you have K2 (5.1) installed.
  2. Get the K2 Five (5.1) FP1 from Regional Support.
  3. Install the K2 Five (5.1) FP1 to apply the fix.
  4. Start a new instance of the workflow.

Considerations

Exchange SmartObjects in a workflow are run using the email account configured with the service instance and not under the email of the person running the workflow. If the workflow, for example, creates an appointment, the appointment will be created from the account used when activating the Exchange Feature and not from the email of the person running the workflow.