Symptoms
When I try to create a meeting from my workflow it errors out. I tried to use the SmartObject Tester and get an error message stating the I have an Autodiscover error.
Here is one of the error messages from the HostServer log file:
"52390617","2016-05-06 12:32:43","Error","SmartObjects","10702","Error","SourceCode.SmartObjects.ServiceBroker rExecuteSmartObject]","10702 An error occurred in the Exchange Management Service Instance. Exception has been thrown by the target of an invocation. Autodiscover Failure: The Exchange server is not available, the password is incorrect or the e-mail address {0} does not exist.","anonymous","0.0.0.0","Program Files (x86)K2 blackpearlHost ServerBin","52390617","8e04c073e51b43e39a2f49932a53ea3c",""
Diagnoses
The K2 Service Account will need to have “ApplicationImpersonation” right in Exchange to be able to create meetings/tasks on behalf of another user. As per documentation below:
http://help.k2.com/kb001189
Resolution
Setting the 'ApplicationImpersonation' for our K2 Service Account fixed the issue.