Yu-cheng Lin
Yu-cheng Lin

Reputation: 11

EWS - One or more subscriptions in the request reside on another Client Access server

I got this error when I'm using streaming subscription with impersonation. After the connection opened and receive notification successfully for minutes, it just pops up a bunch of this for almost all subscriptions.

How can I avoid this error?

One or more subscriptions in the request reside on another Client Access server. GetStreamingEvents won't proxy in the event of a batch request., The Availability Web Service instance doesn't have sufficient permissions to perform the request

I need to keep the connection stable and avoid this error.

Upvotes: 0

Views: 142

Answers (1)

Glen Scales
Glen Scales

Reputation: 22032

Sounds like you haven't use affinity https://learn.microsoft.com/en-us/exchange/client-developer/exchange-web-services/how-to-maintain-affinity-between-group-of-subscriptions-and-mailbox-server

Also if its a multi threaded application ExchangeService isn't thread safe and shouldn't be used across multiple threads.

Upvotes: 0

Related Questions