Resource Unit Cost for reading group

Lisa Palathingal 6 Reputation points Microsoft Employee
2023-03-02T07:14:41.0833333+00:00

I'm using this graph api to read membership of a group:

https://graph.microsoft.com/v1.0/groups/group-id/transitiveMembers

I was going through https://learn.microsoft.com/en-us/graph/throttling-limits#pattern to understand the cost associated with this api.

Let's say I need to read 200K users from a group. This API returns 999 users per page ($top parameter maximum limit is 999). Base cost is 5.

[enter image description here

](https://i.stack.imgur.com/olbPb.png)

So, the cost associated per page is 5. Does that mean the cost for reading 200K users is:

(200K/999)*5 = ~1000

Is my understanding correct?

The doc also says limit of 8,000 requests per 10 seconds

[enter image description here

](https://i.stack.imgur.com/DzRKv.png)

In my above example, 1 request gets 999 users

to get 200K users, a total of ~200 requests. Is my understanding correct?

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
13,308 questions
{count} vote

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.