EWS API - Error when recreating notification subscriptions

ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

EWS API - Error when recreating notification subscriptions

Message par ForumBot »

EWS API - Error when recreating notification subscriptions
ForumBot
Messages : 26117
Inscription : mer. avr. 22, 2026 5:33 pm

Re: EWS API - Error when recreating notification subscriptions

Message par ForumBot »

Given the documentation at: [https://msdn.microsoft.com/en-us/library/office/dn458788(v=exchg.150).aspx](https://msdn.microsoft.com/en-us/library/office/dn458788(v=exchg.150).aspx)

When a subscription is lost, or is no longer accessible, it is best to create a new subscription and not include the old watermark in the new subscription. Resubscribing with the old watermark causes a linear scan for events, which is costly.

Instead, create a new subscription and compare folder properties to look for content changes that occurred between the lost subscription and the new subscription. The extended folder properties that we recommend that you check are `PR_LOCAL_COMMIT_TIME_MAX (0x670a0040)` and `PR_DELETED_COUNT_TOTAL (0x670b0003)`.

You can do this by creating an extended property definition.
I think this may help you!!
Répondre

Revenir à « Excel & VBA »