This is the action that lists the parameters:
https://learn.microsoft.com/en-gb/connectors/office365groups/#list-groups
What is the OData filter to only return groups that contain a specific member?
Previously I used the "Send an HTTP request" action of the "Office 365 Groups" connector with the URI https://graph.microsoft.com/v1.0/users/<user-principal-name>/memberOf but that action has been deprecated and the replacement only supports the /groups segment.
You might try the connector MS Graph Groups and Users
Unfortunately I can't test it because it's blocked by my organization.
Does anyone have a solution or understand the responses from @v-bofeng-msft?
Hi @v-bofeng-msft,
Did you get my previous message? I don't understand what from the linked article you think is the solution for this.
Many thanks, Chris
Hi @v-bofeng-msft,
I've read the article you linked and I'm really sorry but I'm a little confused...
Do you think it's necessary for me to register a new application in Azure and create a custom connector to replace the deprecated action from the "Office 365 Groups" connector?
Many thanks, Chris
Hi @v-bofeng-msft,
Thanks for your reply. That doesn't look like an OData filter, have you tried this yourself?
When I tried it, I got this error:
Invalid filter clause: Syntax error at position 6 in 'https://graph.microsoft.com/v1.0/users/<user-principal-name>/transitiveMemberOf/microsoft.graph.group'.
I also tried it in the URI field of the "Send an HTTP request V2" action, the one I noted before only supports the /groups segment and got this error:
URI path is not a valid Graph endpoint, path is neither absolute nor relative or resource/object is not supported for this connector. Resources: groups. Uri: https://graph.microsoft.com/v1.0/users/<user-principal-name>/transitiveMemberOf/microsoft.graph.group
Many thanks, Chris
Hi @chrisrule ,
Please try:
https://graph.microsoft.com/v1.0/users/<user-principal-name>/transitiveMemberOf/microsoft.graph.group
Best Regards,
Bof
Michael E. Gernaey
566
Super User 2025 Season 1
David_MA
516
Super User 2025 Season 1
stampcoin
492