How to create multiple presence subscriptions for more than 650 users to get change notifications

Ankit Motaval 0 Reputation points
2024-12-24T07:42:30.1+00:00

In Microsoft Entra ID, I have more than 650 users. Because of this I need to create multiple subscriptions, each containing up to 650 users to receive change notifications.

Is it possible to create multiple presence subscriptions? According to Microsoft documentation, Maximum 650 users are allowed per subscription. Because of this I need to create multiple subscriptions, each with up to 650 users but all using the same notificationUrl, resource (with different userIds) and changeType.

According to Subscription Documentation, if the resource and changeType are the same in the subscription payload, it will be considered a duplicate subscription.

How can I create multiple subscriptions with the same notificationUrl, resource, and changeType?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,553 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,651 questions
0 comments No comments
{count} votes

2 answers

Sort by: Most helpful
  1. Yakun Huang-MSFT 8,355 Reputation points Microsoft Vendor
    2024-12-24T08:59:00.26+00:00

    Hello Ankit Motaval,

    Thank you for reaching out to Microsoft Support!

    Yes, when creating a subscription, there will be a subscription conflict if resource and changeType are the same. We have found a possible solution to this problem for your reference.

    By adding a custom header to each subscription request with a unique identifier for that subscription. This way even if the resource and change type are the same, the subscription will be considered unique because of the custom header.

    You can refer to the case for more information:

    https://learn.microsoft.com/en-us/answers/questions/2038187/how-to-create-multiple-subscription-for-a-user-res

    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. Rajat Vashistha-MSFT 85 Reputation points Microsoft Vendor
    2024-12-24T09:58:13.5833333+00:00

    Hi Ankit Motaval,

    I would like to inform you that there is a limit of 1 subscription per resource where “presence” is considered to be as 1 resource.

    Please try adding a custom header to each subscription request with a unique identifier for that subscription.

    You can refer to the case for more information:

    https://learn.microsoft.com/en-us/answers/questions/2038187/how-to-create-multiple-subscription-for-a-user-res

    Hope this helps.

    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".

    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.