An API that connects multiple Microsoft services, enabling data access and automation across platforms
@berlitz sorry for the late response.
This query is possible using advanced query capabilities - see https://learn.microsoft.com/en-us/graph/aad-advanced-queries. To "activate" advanced queries you'll need to set an additional HTTP header and add $count to the query parameters. Rather than use a "ne" (which is not supported in Lambda functions) or the any() Lambda function (also not yet supported), you can instead try this using the "not" operator:
GET https://graph.microsoft.com/v1.0/groups?$filter=not groupTypes/any(c:c+eq+'Unified')&$count=true
ConsistencyLevel: eventual
Hope this helps
Dan