Designers > K2 Designer for Visual Studio > Design Tools > Toolbox > Event Wizards > Exchange Event Wizard > Runtime Operational Rights > Exchange SmartObject Methods | Send feedback |
The Exchange SmartObject methods that use PowerShell to communicate with Exchange now support authenticating with Exchange as the user making the SmartObject call. The following conditions must be met for the call to succeed:
We recommend that this method is used, as using the K2 service account for the Exchange PowerShell calls is a security concern.
The WinRM architecture (which PowerShell uses to communicate with Exchange) limits the number of connections that a single user is allowed to open concurrently (by default this is 18). If a large number of concurrent calls are made to the SmartObjects this limit may be reached and the call will fail.
Affected Services/Methods
The following commands demonstrate two ways to increase the default number of connections:
winrm set winrm/config/winrs @{MaxShellsPerUser="50"}
or
Set-Item WSMan:\localhost\Shell\MaxShellsPerUser 50