create subscription for mailbox of all users of an organization

Phoenix 26 Reputation points
2022-05-25T06:33:35.51+00:00

Hi All,

I have created a subscription on incoming mails for an individual user but I want to do it at the tenant level i.e. one subscription for all users of an tenant.
Is it possible ?

Thank you in advance.

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,521 questions
0 comments No comments
{count} vote

Accepted answer
  1. ShivaniRai-MSFT 2,726 Reputation points
    2022-05-25T11:02:29.887+00:00

    Hi @Phoenix ,

    According to this Documentation we can create subscription at a individual user level only. For example:

    • Changes to all messages in a user's mailbox: /users/{id}/messages
    • Changes to messages in a user's Inbox: /users/{id}/mailFolders('inbox')/messages

    Tenant level subscription is not available as of now.

    Hope this helps.
    If the answer is helpful, please click Accept Answer and kindly upvote it. If you have any further questions about this answer, please click Comment.

    2 people found this answer helpful.

0 additional answers

Sort by: Most helpful