I'm using Microsoft Graph and Outlook, and I have subscriptions/webhook setup for created
, updated
, and deleted
. When I create, update, or delete an event from my own calendar and then call the Microsoft Graph to do the same for my outlook calendar, it sends a subscription to my webhook.
For example, when I update an event from my site using/calling:
PATCH /me/events/{id}
here is what it is doing:
updated
subscription/webhook to my site and then it updates my the event on my site again (Bad, I do not want this to happen)How can I make #3 not happen if I'm updating the event on my site originally/in the first place?
UPDATE:
I found the answer here: https://stackoverflow.com/a/40876329/9743109 - You have to use changeKey