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 / Automating Updates to ...
Power Automate
Unanswered

Automating Updates to Employee Data in Excel Based on Microsoft Group Membership

(0) ShareShare
ReportReport
Posted on by 4

Hello,

I have an Excel file stored in SharePoint that contains all employee information for my organization, including names, email addresses, phone numbers, and job titles. I am trying to set up a Power Automate flow to manage this data based on Microsoft group membership.

Here is what I want to achieve:

  1. If an employee is removed from a specified Microsoft group, their information should automatically be deleted from the Excel file.
  2. If a new employee is added to the Microsoft group, their information should automatically be added to the Excel file.

I have set up a flow that:

  • Triggers when a group member is added or removed.
  • Retrieves group members and lists rows from the Excel table.
  • Uses a condition to compare group members with rows in the Excel file.

However, I am encountering issues with the condition and the overall structure of the flow. Specifically, I receive errors like “InvalidTemplate” or issues where the condition or array filter does not work as expected.

Could someone guide me on how to properly structure this flow? I am not using Microsoft Graph connectors—just the standard "List group members," "List rows present in a table," and Excel actions available in Power Automate.

Any help would be greatly appreciated!

Thank you!

Categories:
I have the same question (0)
  • lbendlin Profile Picture
    8,655 Super User 2026 Season 1 on at
    What do you use as the primary key in the Excel table? The UPN/email address?
  • OB-03011401-0 Profile Picture
    4 on at
    I’m using the email address as the primary key in the Excel table.

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 550

#2
Valantis Profile Picture

Valantis 390

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard