EWS - Office 365 - "One or more subscriptions in the request reside on another Client Access server."

StackOverflow https://stackoverflow.com/questions/21709233

  •  10-10-2022
  •  | 
  •  

문제

My goal is to subscribe for streaming notifications for multiple users in the same time.

One way to do that is to create multiple StreamingSubscriptionConnections each one should contain one StreamingSubscription for each user. The problem with this method is that in Office 365 the maximum number of connections opened is 20.

Another method to solve this problem is by creating one StreamingSubscriptionConnection and then all StreamingSubscriptions for each user to the connection. This method solves the maximum number of connections problem and it works fine with exchange onPrimises. But when trying it with Office 365 it will result with the SubscriptionError:

"One or more subscriptions in the request reside on another Client Access server. GetStreamingEvents won't proxy in the event of a batch request."

Can anyone help me here ?

도움이 되었습니까?

해결책

Update to the latest version of the EWS Managed API, version 2.1. It has GroupingInformation added to the enumeration. http://www.microsoft.com/en-us/download/details.aspx?id=42022

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top