I'm trying to create a project to listen to events in the Exchange room mailbox using EWS service.
If we need to monitor 20k mailboxes then we need to create 20k open connections. Instead of that EWS allow us to create a batch connection up to 200 mailboxes in each group. So In case of monitoring 20k mailboxes, we only need 100 connections to listen to all mailboxes.
I just want to know which criteria used for this mailbox grouping?. Can we group these mailboxes externally?
We can get group info by passing mailbox id to method "GetUserSettings"
public GetUserSettingsResponse GetUserSettings(string userSmtpAddress, params UserSettingName[] userSettingNames);
Any help is appreciated