web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / I would like to create...
Power Automate
Unanswered

I would like to create a Sharepoint List that syncs with a Microsoft Groups and adds and deletes members

(1) ShareShare
ReportReport
Posted on by

I would like to use Power Automate to create an Employee Directory in Sharepoint that syncs with the Microsoft 365 group and deletes entries that have been removed and does not DUPLICATE entries.

Categories:
I have the same question (0)
  • David_MA Profile Picture
    14,815 Super User 2026 Season 1 on at
    I am reading your post two different ways. Which do you want to do:
    1.  When you add/remove someone from a Microsoft 365 group, you want to add/remove details about the person in a SharePoint list?
    2.  When you add/remove someone from a SharePoint list, you want to add/remove them from a Microsoft 365 group?
    If the flow is triggered from the SharePoint list, what defines when a person has been added?
  • jmasz Profile Picture
    on at
    Option 1: When you add/remove someone from a Microsoft 365 group, you want to add/remove details about the person in a SharePoint list?
  • David_MA Profile Picture
    14,815 Super User 2026 Season 1 on at
    You can use the trigger When a group member is added or removed. Just configure the trigger to the group you want to monitor. You will need to create one flow for additions and one flow for deletions. Each will use a trigger condition to determine if it was a delete or addition. 
    • For the flow when someone is added, use this trigger: @empty(triggerOutputs()?['body/@removed'])
    • For the flow when someone is deleted, use this trigger: @not(empty(triggerOutputs()?['body/@removed']))
     
    Follow the trigger with a Get user profile (V2) action and populate the user (UPN) value with the User Id from the trigger.
     
    Finally, add a Create SharePoint list item action to for the flow that checks for additions.
     
    For the flow that checks for deletions, you can use the Get items action and use a filter query to filter it to the item related to the user.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 410

#2
Vish WR Profile Picture

Vish WR 289

#3
David_MA Profile Picture

David_MA 282 Super User 2026 Season 1

Last 30 days Overall leaderboard