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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / When a group member is...
Power Automate
Answered

When a group member is removed only

(0) ShareShare
ReportReport
Posted on by 8

Hello,

 

I want to create a workflow where the trigger is when a group member is removed from outlook. The one available at power automate is when a group member is added or removed.

 

I tried to add the following trigger condition, but it is not working:  @equals(triggerOutputs()?['body/@removed']?['reason'], 'deleted')

 

Any ideas?

 

Thanks

 

Categories:
I have the same question (0)
  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    Microsoft Employee on at

    HI @Tamima-alhassan,

    Currently, here is a trigger named When a member is added or removed from a group

    vqiaqimsft_0-1706575488684.png

    There's a property called removed  that depends on the action trigger (it is true if the member is removed)

     

  • VeraDiederich Profile Picture
    4 on at

    Hi there,
    this might apply for some people. The "removed" part is a dictionary and is only there when a user is removed, otherwise it's not in the body. e.g.:

    Removed:

    {
     "@odata.type": "#microsoft.graph.user",
     "id": "Idididididid---thisis-the-ID",
     "@removed": {
     "reason": "deleted"
     }
    }

    Added:

    {
     "@odata.type": "#microsoft.graph.user",
     "id": "Id-Very-Unique-ID"
    }

    So I needed to go for the following:

    VeraDiederich_1-1719400360830.png

     


    Cheers

    Vera

  • Michael E. Gernaey Profile Picture
    53,932 Moderator on at
     
    I realize this is super old but wouldn't you have wanted it to be is not equal to null, not, is equal to null? Since you said you wanted it to do something only when people were removed, which means it should NOT be equal to null.
     
    Also, just to clarify this isn't stop it from triggering, it simply stops it from going past the trigger, 2 different things.
     
    If you wanted this to be in the trigger you can write the expression in the Trigger condition.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 112 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 52

#3
Ellis Karim Profile Picture

Ellis Karim 51 Super User 2026 Season 1

Last 30 days Overall leaderboard