Alex Paul
Alex Paul

Reputation: 35

Subacribing to multiple inboxes using Microsoft Graph API?

Looking at the Create Subscription API documentation, I would like to understand if, a single service account user can register for multiple users' calendars in the same request?

The example shows API requests being sent as the user.

Upvotes: 1

Views: 473

Answers (1)

Jeremy Thake MSFT
Jeremy Thake MSFT

Reputation: 2138

There is a scenario for delegated access to the Graph and application (app-only) access to the graph. For your scenario, you would require to ask for application access and request a Mail.Read permission to get access to multiple mailboxes. Documentation on this can be found here:

https://learn.microsoft.com/en-us/graph/api/user-list-messages?view=graph-rest-1.0 and specifically about this permission here https://learn.microsoft.com/en-us/graph/permissions-reference#application-permissions-14

Upvotes: 1

Related Questions