How to get more than 100 Azure AD users from specific Azure AD Security group using @pnp/graph?

Copper Contributor


I have to fetch users from Azure AD particular group using @pnp/graph. But I got only 100 users from the group.

Below is my query to get a specific Azure AD group user,
const members = await graph.groups.getById("XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX").members();
return members;


Can you have any idea how to get more than 100 users from the group using @pnp/graph?

Below is the reference link for the same,


0 Replies