Skip to content

Group members pagination #936

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
pjezek2 opened this issue Feb 17, 2023 · 2 comments
Open

Group members pagination #936

pjezek2 opened this issue Feb 17, 2023 · 2 comments
Assignees

Comments

@pjezek2
Copy link

pjezek2 commented Feb 17, 2023

Currently there doesn't seem to be any way to access more than the first 100 members of any o365 group.
I'm talking specifically about the Group.get_group_members() method.

I would suggest adding a limit parameter, similarly to how its done in the Directory class.

Thanks, Peter

@alejcas
Copy link
Member

alejcas commented Feb 17, 2023

If MS Graph allows that it should be possible. I don’t know and anyway I don’t have the time to implement this. PR are very welcome.

thanks

@alejcas
Copy link
Member

alejcas commented Apr 4, 2025

This is because the default is 100.

https://learn.microsoft.com/en-us/graph/api/group-list-members?view=graph-rest-1.0&tabs=http#optional-query-parameters

I will change the code so more items can be retrieved

@alejcas alejcas self-assigned this Apr 8, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants