Questions tagged [microsoft-graph-groups]

22 questions
0
votes
1 answer

Count of users in AAD group

Is there a Microsoft Graph API to find out the number of users in an AAD group? Currently, here is my code on how I find it out. Curious to know if there is a quicker way? private async Task GetUserIds(string groupId) { …
0
votes
1 answer

MS Graph API Client - Cannot get Expand to work in Queries

I am trying to expand all items of MS Teams drive (SharePoint document library) using the Graph API. I can access the team (group) but am unable to directly expand the Items collection. It would be great if that would be possible, so I don't need…
0
votes
1 answer

Shouldn't members be part of list of deleted groups in Microsoft Graph AD

I'm using the Microsoft Graph API to sync user details. When a group is deleted, I need to get all its members in order to update them accordingly. Therefor, I track for group changes, and when a group is being deleted, I'm trying to fetch all its…
nheimann1
  • 2,348
  • 2
  • 21
  • 33
0
votes
1 answer

Microsoft Graph API Create Group Fails

Using Microsoft Graph API 1.0 on an Azure AD B2C directory, I'm running into the following problem when creating groups. I'm able to create a group with the following code payload = { "description": group_name, "displayName": group_name, …
Tim
  • 4,560
  • 2
  • 40
  • 64
0
votes
1 answer

Graph Delta Query returns different results

I'm using Delta query to get changes on groups, however I noticed when I run initial delta query multiple times it returns different amount of results. My code looks like this groupCollectionPage = await…
0
votes
1 answer

Get root groups only using Microsoft Graph

We have a massive Azure AD and we want to present its graph using the Microsoft Graph API. Calling https://graph.microsoft.com/v1.0/groups will bring the first page (100) of all groups and iterating over all the pages takes time. However, we only…
0
votes
1 answer

Is it possible to query MS Graph for a list of groups that contains the number of members in the group?

I can't find any mention of this in the documentation. Can this be done without actually fetching the group members?
zaq
  • 2,571
  • 3
  • 31
  • 39
1
2