K2 BLACKPEARL PRODUCT DOCUMENTATION: USER GUIDE
Exchange SmartObject Methods

Authenticating with Microsoft Exchange as the User Making the SmartObject Call

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.

Large Number of Method Calls

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

 

 


K2 blackpearl Help 4.6.10 (4.12060.1690.0)