Streaming Notifications Limits

Hi All,

I am working on an application which requires me to write a service that filters new Calendar appointment objects to a Database running on an external server. I would like to do this for all the Users within the Exchange Server.

When conducting my research I came across the "StreaningSubscriptionConnection" limit (30 minutes)

Since the EWS Managed API is an open source project this could be adjusted, but in order for me to proceed with my project I would like to know if there is a reason for this time limit.

And also why there hasn't been a Possibilty that introduces a Streaming Subscription for all users at.

Hopefully some of you will help me further in my research.

Thank you !


  • Edited by Almo Daved Tuesday, March 03, 2015 4:34 PM
March 3rd, 2015 4:32pm

The 30 minute connection timeout isn't configuration as this is enforced at the server https://msdn.microsoft.com/en-us/library/office/ff406137(v=exchg.150).aspx so if you set it to a higher value in any client it will just return an error.

EWS is a client API so its works in the context of a Mailbox or mostly in the context of a Mailbox Folder context. So if you want to subscribe to all users you will need to do that one mailbox at a time you can use EWSImpersonation to deal with the security and throttling implications of doing this, you should also take into account affinity in 2013/Office365 https://msdn.microsoft.com/en-us/library/office/dn458789%28v=exchg.150%29.aspx .

Cheers
Glen

  • Marked as answer by Almo Daved 16 hours 23 minutes ago
Free Windows Admin Tool Kit Click here and download it now
March 4th, 2015 2:33am

Hi Glenn,

When writing my report I remembered that I haven't thanked you yet.

I solved this issue by using push notifications thank you.

Cheers,

Almo

May 28th, 2015 11:08am

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

Other recent topics Other recent topics