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

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Set condition for whether a group member was added or removed

(0) ShareShare
ReportReport
Posted on by 2

I apologize if this is a newbie question, but I am new to the platform and am not able to find much help anywhere else. I essentially want to have one flow that will add or remove a user from "group 2" when they are added/removed from "group 1". I have an automated flow created with the trigger set to "When a group member is added or removed". Is it possible to setup one flow for this or will I need one for add and one for remove? Thank you for your time.

I have the same question (0)
  • Verified answer
    fchopo Profile Picture
    8,001 Moderator on at
    Re: Set condition for whether a group member was added or removed

    Hello @miot2020 

    Have a look at this example:

    2020-03-10 17_24_19-Window.png

    There's a property called removed  that depends on the action trigger (it is true if the member is removed), and therefore we can check its value out before adding or removing the member from group 2.

    Hope it helps.

    Ferran

  • Community Power Platform Member Profile Picture
    on at
    Re: Set condition for whether a group member was added or removed

    Hi  @fchopo , Further to your useful tip on the removed condition, when the If Yes trigger is activated, I would like to remove an item from a sharepoint list, which has the same User ID used as the Office 365 Group record. 

     

    The issue I have is when add the 'Delete Item' element, the dynamic field doesn't bring up any fields to choose from? 

     

    Capture.PNG

  • martintillbrook Profile Picture
    7 on at
    Re: Set condition for whether a group member was added or removed

    This is perfect, thanks.

    One further question on this then would be - is there a way for Power Automate to tell me which user has made the change to group? It would be useful to know who is messing around with my groups 🙂

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Chiara Carbone – Community Spotlight

We are honored to recognize Chiara Carbone as our Community Spotlight for November…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 614 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 401 Moderator

#3
chiaraalina Profile Picture

chiaraalina 282

Last 30 days Overall leaderboard