web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Can you add other filt...
Power Automate
Unanswered

Can you add other filters to 'Get Group Members' for AzureAD?

(0) ShareShare
ReportReport
Posted on by 30

Hi,

 

I'm trying to create a flow where one of the first steps is to get a list of users from an Azure AD group. I'm using 'Get Group Members' but the only input I can give it is the group id. The problem is I want to filter out groups from this list, I only want a list of AD users. 

 

Basically I have 2 AD groups that need to be synced, ie when someone gets added to AD Group 1 it will auto-add it to AD Group 2. I mean the flow works in that it will add the rights users to AD group 2 it's just the the flow reports that it "failed" b/c there are 2 entities in AD Group 1 that are groups and it is causing the subsequent "Check Group Membership (V2)" to "fail". 

 

Thanks

Categories:
I have the same question (0)
  • VictorIvanidze Profile Picture
    13,073 on at

    Use a GRAPH request instead of "Get Group Members" action..

  • Verified answer
    v-bofeng-msft Profile Picture
    on at

    Hi @id013 ,

     

    Please try:

    vbofengmsft_0-1658290617896.png

     

    Best Regards,

    Bof

     

  • id013 Profile Picture
    30 on at

    This worked perfectly. Thanks so much.

  • id013 Profile Picture
    30 on at

    Sorry I should've mentioned that I can't use any premium requests.

  • VictorIvanidze Profile Picture
    13,073 on at

    Hi @id013, "Office 365 Groups" connector has the action that allows you to execute the GRAPH request. Non-premium. 

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 523 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 406 Moderator

#3
abm abm Profile Picture

abm abm 245 Most Valuable Professional

Last 30 days Overall leaderboard