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 / remove a user from a a...
Power Automate
Unanswered

remove a user from a access team if the user is removed from another access team via power automate

(0) ShareShare
ReportReport
Posted on by 124

so i want to trigger a flow when a user is removed from a access team(1) and then the flow list rows from another access team(2) and removes that same user since they aren't in the other access team(1).

 

I have both these access team on one table form and one has share permissions and one read permissions so i was wondering how to achieve this via a flow

Categories:
  • Anil_g Profile Picture
    668 Moderator on at

    @Sean9 

     

    1. Trigger when a row is deleted on dataverse

    2. Get user id

    3. List rows rows to check if id exists in second table

    4. Delete rows if identified

     

    cheers

  • Sean9 Profile Picture
    124 on at

    this would be a access team and you don't remove the user as from my understanding the relationship from access team and user is stored in a teammembership table. so how would you trigger this when user removes user from access team as from my flow it doesn't seem to trigger

    Sean9_0-1718983205452.png

     

  • Anil_g Profile Picture
    668 Moderator on at

    @Sean9 

     

    Got you and agreed with it..

     

    may be when a row is modified trigger can be used for triggering it and then check who are the users in it and then list the users in other table and see if all users are matching and if there is a mis match then remove the mismatched user

     

    i know this is not straight but this can be the way to achieve

     

    cheers

     

    cheers

  • Sean9 Profile Picture
    124 on at

    @Anil_g but the problem is i dont know which table i need to use to detect the changes of the deletion of users relation with team so the real question is What table do I use to trigger when a users is removed from a Access Team?

  • Sean9 Profile Picture
    124 on at
  • Anil_g Profile Picture
    668 Moderator on at

    @Sean9 

     

    Can you manually check if teammembership table is getting effected?

     

    if so then may be it is not detected and we many needto use manual trigger with schedule or enable audit table and set a trigger when audit message is about teammembership table

     

    cheers

  • Sean9 Profile Picture
    124 on at

    unfortunately, i cant check that table, i have maybe found a way as when i delete a user from the access team the 'Team' tables 'Modified on' column is being update so i tried to use it but that doesn't seem to trigger it aswell. 

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 289

#2
11manish Profile Picture

11manish 282 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 119

Last 30 days Overall leaderboard