Skip to main content

Notifications

Community site session details

Community site session details

Session Id : AWwqmCn3Ff7xDyf49MSZAx
Power Automate - Using Connectors
Unanswered

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

Like (0) ShareShare
ReportReport
Posted on 3 Jan 2025 14:04:53 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!

  • OB-03011401-0 Profile Picture
    4 on 06 Jan 2025 at 10:20:34
    Automating Updates to Employee Data in Excel Based on Microsoft Group Membership
    I’m using the email address as the primary key in the Excel table.
  • lbendlin Profile Picture
    7,777 Super User 2025 Season 1 on 05 Jan 2025 at 23:58:18
    Automating Updates to Employee Data in Excel Based on Microsoft Group Membership
    What do you use as the primary key in the Excel table? The UPN/email address?

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,518 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 65,697 Most Valuable Professional

Leaderboard

Featured topics