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

Notifications

Announcements

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 525 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 324 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard