Exchange on-premises: EWS throttling policy
This guide shows how to configure a custom EWS throttling policy in Exchange 2013, 2016 or 2019.
1. Introduction
Section titled “1. Introduction”LoopMeeting’s RoomConfig portal connects to your on-premises Exchange environment over HTTPS, through the EWS (Exchange Web Services) API, with a service account. For that, the EWS endpoint must be reachable from the internet: see Exchange on-premises: prerequisites.
By default, Exchange has a security feature that prevents a user from “jamming” the Exchange environment with extensive traffic.
This guide describes how to raise the default values, so that you can run a larger number of panels on the same service account.
Reference information:
2. Prerequisites
Section titled “2. Prerequisites”Have the name of the service account at hand, and make sure that you have administrator access to the Exchange Management Shell.
3. Configure the Exchange throttling policy
Section titled “3. Configure the Exchange throttling policy”If you have more than 15 LoopMeeting panels on one service account, it makes sense to raise the threshold values for throttling.
This example creates a non-default user throttling policy named LMpanels and associates it with a specific service account. Any parameters that you omit inherit their values from the default throttling policy, GlobalThrottlingPolicy. The policy lets the service account have up to 50 concurrent connections to the EWS API and “view” up to 40 different calendars.
All commands are run in the Exchange Management Shell.
Step 1: create the custom throttling policy
Section titled “Step 1: create the custom throttling policy”Create the custom throttling policy and name it LMpanels. Run this command:
New-ThrottlingPolicy -Name LMpanels -EwsMaxConcurrency 50 -EwsMaxSubscriptions 40 -ThrottlingPolicyScope RegularStep 2: associate the service account with the policy
Section titled “Step 2: associate the service account with the policy”Associate the service account (named LMserviceAccount in this example) with the custom throttling policy LMpanels. Run this command:
Set-ThrottlingPolicyAssociation -Identity LMserviceAccount -ThrottlingPolicy LMpanelsStep 3: check that the policy association is active
Section titled “Step 3: check that the policy association is active”-
Run this command:
Terminal window Get-ThrottlingPolicy | Format-ListVerify that the policy you just created (scope
Regular) is listed beside theGlobalThrottlingPolicyobject. -
Run this command:
Terminal window Get-ThrottlingPolicy | select *Verify that the properties of the new policy match the value or values you configured.
-
Run this command:
Terminal window Get-ThrottlingPolicyAssociationVerify that the new policy is associated with the service account you chose.
Visits are counted with Umami on Loop24’s own server in Stockholm. No cookies, and no IP addresses are stored.
Microsoft, Windows, Microsoft Edge, Entra, Exchange, Microsoft 365, Outlook, Power BI and Teams are trademarks of the Microsoft group of companies. Android, Google Play, Google Workspace, Google Sheets and Google Slides are trademarks of Google LLC. App Store is a service mark of Apple Inc. Other product and company names belong to their owners; they say what LoopSign, LoopMeeting, LoopBooking and LoopVisit work with, and imply no affiliation or endorsement.