Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
Unanswered

What is the OData filter to only return Office 365 Groups that contain a specific member?

(0) ShareShare
ReportReport
Posted on by 10

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.

  • Chriddle Profile Picture
    7,793 Super User 2025 Season 1 on at
    Re: What is the OData filter to only return Office 365 Groups that contain a specific member?

    You might try the connector MS Graph Groups and Users 

    Unfortunately I can't test it because it's blocked by my organization.

  • chrisrule Profile Picture
    10 on at
    Re: What is the OData filter to only return Office 365 Groups that contain a specific member?

    Does anyone have a solution or understand the responses from @v-bofeng-msft?

  • chrisrule Profile Picture
    10 on at
    Re: What is the OData filter to only return Office 365 Groups that contain a specific member?

    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

  • chrisrule Profile Picture
    10 on at
    Re: What is the OData filter to only return Office 365 Groups that contain a specific member?

    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

  • v-bofeng-msft Profile Picture
    on at
    Re: What is the OData filter to only return Office 365 Groups that contain a specific member?

    Hi @chrisrule ,

     

    vbofengmsft_0-1700011900438.png

     

    Please try this way to call Microsoft graph API:

    https://techcommunity.microsoft.com/t5/educator-developer-blog/call-microsoft-graph-api-in-power-automate-using-custom/ba-p/3596572

     

    Best Regards,

    Bof

  • chrisrule Profile Picture
    10 on at
    Re: What is the OData filter to only return Office 365 Groups that contain a specific member?

    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

  • v-bofeng-msft Profile Picture
    on at
    Re: What is the OData filter to only return Office 365 Groups that contain a specific member?

    Hi @chrisrule ,

     

    Please try:

     

    https://graph.microsoft.com/v1.0/users/<user-principal-name>/transitiveMemberOf/microsoft.graph.group

     

    Best Regards,

    Bof

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492

Featured topics