Skip to main content

Notifications

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

 

  • VeraDiederich Profile Picture
    VeraDiederich 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
    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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

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

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,666

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,996

Leaderboard

Featured topics