How to create multiple subscription for a user resource to get change notification

Agrawal, Amit 0 Reputation points
2024-09-04T14:42:10.1833333+00:00

Is it possible to create multiple subscription for a user resource to get change notification using Graph API (https://graph.microsoft.com/v1.0/) . Each subscription may or may not have same notification URL but resource and changetype is defiantly same for a Entra tenant.

As per microsoft link https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=go , it seems if resource and changetype is same for subscription payload then it is considered Duplicate subscription.
kindly advise how to achieve multiple subscription for same resource & changetype combination

Microsoft Entra ID
Microsoft Entra ID
A Microsoft Entra identity service that provides identity management and access control capabilities. Replaces Azure Active Directory.
21,262 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Q&A Assist
    2024-09-04T14:42:10.1933333+00:00
    AI generated content. This question contains an answer created with AI from Q&A Assist. Learn more

    Yes, it is possible to create multiple subscriptions for a user resource to get change notifications using the Microsoft Graph API. Each subscription can have a different notification URL, but the resource and change type must be the same for a given tenant. To create a subscription, send a POST request to the /subscriptions endpoint with the desired parameters, including the resource URL, change type, and notification URL. You can create up to 1000 active subscriptions for Outlook resources per mailbox for all applications.

    References:

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.