Archive Manager Exchange Edition loses connection to the Exchange server after a period of time and an error message similar to the one below is encountered:
Fail to create runspace for user "superuser" because the user has reached the maximum number of connections allowed
This issue reoccurs even after restarting the MAM services.
A throttling policy set on user profiles limits the connection from Archive Manager and Microsoft Exchange.
Open the Exchange Management Shell and run the preferred throttling policy set for the Archive Manager superuser profile below:
Add-RoleGroupMember -Identity "View-Only Organization Management" -Member "SUPERUSER"
Add-RoleGroupMember -Identity "Public Folder Management" -Member "SUPERUSER"
Get-MailboxDatabase | Add-ADPermission -User "SUPERUSER" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin -InheritanceType 'All'
New-ThrottlingPolicy MAM4Exchange
Set-ThrottlingPolicy MAM4Exchange -EwsCutoffBalance Unlimited -EwsMaxBurst Unlimited -EwsMaxConcurrency Unlimited -EwsMaxSubscriptions Unlimited -EwsRechargeRate Unlimited -RcaMaxConcurrency Unlimited -RcaCutoffBalance Unlimited -RcaMaxBurst Unlimited -RcaRechargeRate Unlimited -CpaMaxConcurrency Unlimited -CpaCutoffBalance Unlimited -CpaMaxBurst Unlimited -CpaRechargeRate Unlimited
Set-Mailbox "SUPERUSER" -ThrottlingPolicy MAM4Exchange
New-ManagementRoleAssignment -Name "Impersonation-MAM4Exchange" -Role "ApplicationImpersonation" -User "SUPERUSER"
Add-RoleGroupMember -Identity "View-Only Organization Management" -Member "SUPERUSER"
Add-RoleGroupMember -Identity "Public Folder Management" -Member "SUPERUSER"
Get-MailboxDatabase | Add-ADPermission -User "SUPERUSER" -AccessRights ExtendedRight -ExtendedRights Receive-As, ms-Exch-Store-Admin -InheritanceType 'All'
New-ThrottlingPolicy MAM4Exchange
Set-ThrottlingPolicy MAM4Exchange -RCAMaxConcurrency $null -RCAPercentTimeInAD $null -RCAPercentTimeInCAS $null -RCAPercentTimeInMailboxRPC $null
Set-Mailbox "SUPERUSER" -ThrottlingPolicy MAM4Exchange
New-ManagementRoleAssignment -Name "Impersonation-MAM4Exchange" -Role "ApplicationImpersonation" -User "SUPERUSER"
© 2021 Quest Software Inc. ALL RIGHTS RESERVED. Feedback Nutzungsbedingungen Datenschutz