EWS API - Error when recreating notification subscriptions

Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

EWS API - Error when recreating notification subscriptions

Message par Clippy »

EWS API - Error when recreating notification subscriptions
Clippy
Messages : 22157
Inscription : mer. 22 avr. 2026, 17:33

Re: EWS API - Error when recreating notification subscriptions

Message par Clippy »

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 »