Stream notification for multiple mailboxes (Office 365 W15, Exchange 2013).

Hello :-)

I have a few questions that I hope someone can help me with.

I'm trying to set up streaming notification to detect calendar changes in multiple mailboxes using EWS API 2.0.
Using one connection and one subscription for each mailbox works fine with only a few mailboxes.

I have read about "maintain affinity", and tried to follow the steps from the msdn page regarding this:
I'm supposed to get the GroupingInformation using Autodiscover, and then subscribe each group to separate connections.
This way, I will achieve a reduced number of connections.
At the moment I'm testing with just 4 mailboxes, and when I call Autodiscover to get GroupingInformation, all the 4 mailboxes have different GroupingInformation values, so I will end up with 4 connections and 4 subscriptions.
The ExternalEwsUrl is the same for all mailboxes and the domain is the same.
So my questions are:
1: Why is the GroupingInformation different for each mailbox, and is it anything I can do to change it?
2: If I have 5000 mailboxes, should I go for one connection and one subscription for each mailbox, or should I use "affinity" as described on the msdn page (Maintain affinity)?
3: Is there any other/better options?

Thanks in advance.



July 2nd, 2015 9:20am

This topic is archived. No further replies will be accepted.

Other recent topics Other recent topics