What would be Graph Query to filter O365 Groups by "customattribute1"

Harsh Samdani 21 Reputation points
2021-11-27T16:28:07.943+00:00

I've a requirement to get all the Office 365 Groups which I belong to and also filter it by "customattribute1" = "Projects"

I had come across following query to get O365 Groups belonging to the user -
/me/memberOf/$/microsoft.graph.group?$filter=GroupType/any(a:a eq 'unified')"

How would I construct a query to do both ? using MS Graph Explorer ?

thanks

Microsoft Graph
Microsoft Graph
A Microsoft programmability model that exposes REST APIs and client libraries to access data on Microsoft 365 services.
10,475 questions
0 comments No comments
{count} votes

1 additional answer

Sort by: Most helpful
  1. Vasil Michev 94,366 Reputation points MVP
    2021-11-27T16:59:55.31+00:00

    Those customAttributes are not currently exposed via the Graph API when it comes to Group objects. If you need to work with them, use Exchange Online PowerShell.