Microsoft graph change notifications with "updated" changeType: How do we avoid unwanted multiple notifications?

87 views Asked by At

When I subscribe to changes in events of a user (here, a meeting room), I want to receive notifications in specific scenarios only:

  • The event is created.
  • The event is deleted.
  • The start time or end time of the event is updated.

Problem : My endpoint receive multiple (useless) updated notifications, which are not related to time changes.
--> My endpoint is triggered up to 10 times more because of that.

How do we avoid unwanted updated change notifications ?

Solutions found that did not fixed my problem :

Classic subscription used :

{
    "changeType": "created,deleted,updated",
    "notificationUrl": "{{sync-service-url}}",
    "resource": "/users/{userId}/events?$select=start,end,organizer,isCancelled",
    "includeResourceData": true,
    "encryptionCertificate": "{{encryptionCertificate}}",
    "encryptionCertificateId": "ID TEST",
    "expirationDateTime": "2023-11-15T22:11:09.952Z",
    "clientState": "secretClientState"
}

Than you for your help !

0

There are 0 answers