Skip to main content
Community site session details

Community site session details

Session Id :
Power Automate - Using Connectors
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

 

  • Michael E. Gernaey Profile Picture
    45,169 Super User 2025 Season 2 on at
    When a group member is removed only
     
    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.
  • VeraDiederich Profile Picture
    4 on at
    Re: When a group member is removed only

    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

  • Verified answer
    v-qiaqi@microsoft.com Profile Picture
    on at
    Re: When a group member is removed only

    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)

     

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

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Paul Stork – Community Spotlight

We are honored to recognize Paul Stork as our July 2025 Community…

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 497 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 436 Super User 2025 Season 2

#3
Riyaz_riz11 Profile Picture

Riyaz_riz11 244 Super User 2025 Season 2

Featured topics