cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
dave8
Impactful Individual
Impactful Individual

How to trigger when user is added into Azure AD group?

Hello,

 

There is a trigger called "When member is added or removed" in Office 365 group, however I am only looking for the trigger that get executed when user is ONLY added into Azure AD group - How can I achieve it?

 

Thanks,

1 REPLY 1
psycrkz1
Microsoft
Microsoft

You can simply set up a condition to check if "@removed" contains value in the trigger output:

{
  "@odata.type""#microsoft.graph.user",
  "id""236c42de-e490-442d-802f-5131d7c02d55",
  "@removed": {
    "reason""deleted"
  }
}
Then you will be able to filter the add user triggers to run your flow 
 
Hope it would help and please accept this as a solution here
 

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Kudoed Authors
Users online (3,291)