Answer by Hury Shen for Get root groups only using Microsoft Graph
According to some test, I'm afraid there is no filter which may help you implement this requirement. Graph api can just do as you mentioned to list all of the groups.
View ArticleGet 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...
View Article