Forum Discussion

shocko's avatar
shocko
Iron Contributor
Jul 21, 2022
Solved

Create Mailbox items using Graph and limit access to specific mailboxes

I'm building an app that I would like to leverage to create mails in a mailbox in Exchange Online using this Graph API. How do I create an access token for it so that it can only action against speci...
  • VasilMichev's avatar
    Jul 21, 2022
    If the app you're creating is going to run in the user context (delegate permissions model), the restrictions are automatically applied (you will only be able to access mailboxes to which the user has been granted permissions). If running in the application permissions model, you get an unrestricted access to all mailboxes, so this is where the application access policies step in.

Resources