Reputation: 95
I get groups via
https://graph.windows.net/myorganization/groups?api-version=1.6
Then get all members in some groups that I'm interested in via
https://graph.windows.net/myorganization/groups/{group_obj_id}/members?api-version=1.6
If there are some groups in some group, I recursively get members in that group.
But if I want to extract members of 5 groups and suppose there is 1 group in each group, then 10 different groups in total. One API call sometimes cost about 1s. Then I need to call 10 times, then I need to wait 10 sec!
Does anyone have a faster way to get members in multiple groups (with/without group -in-group)?
Upvotes: 2
Views: 1844