Tag Archives: Pull Notification

Debug EWS subscription error – You have exceeded the available subscriptions for your account


Recently i was investigating an issue reported by an app developer. They created a custom EWS (Exchange Web Services) application which tries to open streaming subscription to Exchange Server 2013 using EWS. It worked fine for a while and later they noticed the following error: You have exceeded the available subscriptions for your account. Remove unnecessary subscriptions and try your request again

During investigation we noticed that the error they get is due to exceeding the value for “EWSMaxSubscriptions” and it’s throttled.

You can refer more info about the related documentation which we published EWS Throttling in Exchange and Exchange Online Throttling and limits FAQ. By looking at the documentations, you will see EWSMaxSubscriptions defines the maximum number of active push, pull, and streaming notification subscriptions that a user can have on a specific Client Access server at one time. This is budgeted differently for different Exchange versions.

Once we increased the value of EWSMaxSubscriptions on the exchange server, it worked as expected.

Happy debugging!!

Feature comparison: EWS vs. EWS Managed API


Are you a .Net Developer who develop custom application using Exchange Web Services (EWS) Managed API or EWS (Auto-generated proxies)? Then this is for you. The EWS Managed API provides an intuitive interface for developing client applications that use EWS. The API enables unified access to Exchange resources, while using Outlook–compatible business logic. In short, you can use the EWS Managed API to access EWS in versions of Exchange starting with Exchange Server 2007 Service Pack 1 (SP1), including Exchange Online. However, do you know that not all features that are available in EWS are implemented in the EWS Managed API?

EWS vs EWS Managed API

You can refer the above snapshot or related documentation identifies the EWS Managed API feature implementations that target different versions of Exchange. If the EWS Managed API does not implement a feature that you want to use, you might consider an auto-generated proxy object model.