Create Microsoft Graph Subscriptions for a shared calendar with delegated user permissions
The MS Graph documentation for subscriptions (webhooks) implies that it is possible to create a subscription on a shared calendar with delegated user permissions (not app-only). Currently, this works only with app-only permissions.
I would very much appreciate to create subscriptions to shared calendars also with delegated user permissions.
Thank you for the suggestion.
It seems what you are requesting is already in product (or was added since you asked for it)
For calendar that belong to other users and have been shared with current user by another user.
The required permission (delegated) is Calendars.ReadWrite and the resource is `me/calendars//events`
For group calendars the required permission is Group.ReadWrite.All and the resource is `groups//calendar/events`.
Feel free to comment this item if I missed something/didn’t understand the request properly.
Kushal Chokhani commented
Can we allow delegated user, having full access to calendar mailbox, to successfully create subscription for changes in calendar events.
As of today, it throws 403 error with following message. (It makes a call to end notification url successfully, but fails to create a valid subscription)
"message": "Operation: Create; Exception: [Status Code: Forbidden; Reason: Forbidden]",