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
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:
Cheers
Vera
HI @Tamima-alhassan,
Currently, here is a trigger named When a member is added or removed from a group
There's a property called removed that depends on the action trigger (it is true if the member is removed)