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 - Using Flows
Answered

When a group member is added or removed - Only Added

(0) ShareShare
ReportReport
Posted on by 171
Hello guys,
 
i search how to use the office 365 connector "When a group member is added or removed" but only for a user added to the group.
 
i think i need to use a condition, but i don't know / understand how to process.
 
Can you help me please ?
 
kind regards
 
Grégory
 
I have the same question (0)
  • GreguS Profile Picture
    171 on at
    When a group member is added or removed - Only Added
    If a user is deleted from the group i have this
     
    {
      "@odata.type": "#microsoft.graph.user",
      "id": "d1bda1eb-857b-495f-90f0-a8d2d5d9a00b",
      "@removed": {
        "reason": "deleted"
      }
    }
     
     
    If a user if added, i have nothing ...
     
    {
      "@odata.type": "#microsoft.graph.user",
      "id": "d1bda1eb-857b-495f-90f0-a8d2d5d9a00b"
    }
     
     
    i don't know how to build the condition :(
  • Verified answer
    Expiscornovus Profile Picture
    32,932 Most Valuable Professional on at
    When a group member is added or removed - Only Added
    Yes, try the below as a trigger condition:
     
    @not(equals(triggerOutputs()?['body/@removed/reason'], 'deleted'))



    Happy to help out 😁

    I share more #PowerAutomate and #SharePointOnline content on my Blog, Bluesky profile or Youtube Channel
  • GreguS Profile Picture
    171 on at
    When a group member is added or removed - Only Added
    Thank you very much @expiscornovus
     
    it's perfect !

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 535 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 348 Moderator

#3
developerAJ Profile Picture

developerAJ 262

Last 30 days Overall leaderboard

Featured topics

Restore a deleted flow