with MS graph how can we get a complete list of more than 1000 members under a group

wayne 20 Reputation points
2023-08-10T19:50:51.8566667+00:00

during development i need to get all member within a group, one API call only return 999 records with &top=999,

is there a way to get all members?

Microsoft Security | Microsoft Graph
0 comments No comments
{count} votes

Accepted answer
  1. Vasil Michev 119.7K Reputation points MVP Volunteer Moderator
    2023-08-11T06:54:35.31+00:00

    That's where you add pagination support to your app: https://learn.microsoft.com/en-us/graph/paging

    Keep in mind that some endpoints support quite smaller page size (i.e. down to 10), so handling multiple pages is a must for any production app.

    0 comments No comments

0 additional answers

Sort by: Most helpful

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.