Creating presence subscription for more than 650 users using MS Graph APIs

Prajakta Kenjale 31 Reputation points
2022-08-08T09:34:49.927+00:00

I want to know the Teams user Presence change and for that we are using MS Graph API create subscription.
https://learn.microsoft.com/en-us/graph/api/subscription-post-subscriptions?view=graph-rest-1.0&tabs=http

Create subscription API support MAX 650 users as per the documentation.
https://devblogs.microsoft.com/microsoft365dev/get-notified-of-presence-changes-the-microsoft-graph-presence-subscription-api-is-now-available-in-public-preview/

In my Azure Active Directory I have more than 650 users and because of that I did try to create multiple subscriptions with bunch of 650 users in each request.
But I am getting below error:
{
"error": {
"code": "ExtensionError",
"message": "Operation: Create; Exception: [Status Code: Conflict; Reason: A subscription already exists. It must be deleted before a another can be made.]",
"innerError": {
"date": "2022-08-08T08:51:50",
"request-id": "f0b556f3-f289-449c-810f-xxxxxxxxxxxx",
"client-request-id": "f0b556f3-f289-449c-810f-xxxxxxxxxxxx"
}
}
}

Is there a limitation that do not allow subscription for more than 650 users is not allowed using MS Graph API?
If so is there a way to create subscription for more than 650 users?

Microsoft Teams
Microsoft Teams
A Microsoft customizable chat-based workspace.
10,482 questions
Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
12,560 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,416 questions
{count} votes

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.