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

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / assign manager "dynami...
Power Automate
Unanswered

assign manager "dynamically"

(0) ShareShare
ReportReport
Posted on by 431

The Assign Manager action for Azure Ad lets me assign a person as a manager for a user. But is it possible to make this more "dynamic" - I mean, if the manager leaves the organization, each Flow needs to be re-configured manually, and it would be nice to have this updated automatically.

 

The two options I've come up with are:

  1. add the manager to an Azure security group, and assign the group as the manager in the Flow - this will not work, I guess?
  2. create a list with an person picker field and a "User Id" field, create a second Flow that fetches the Id of the manager and updates the item in "User Id" column; then tell the "Assign manager Flow" to fetch the "User Id" into the "Manager" field.

Are there any better solutions?

Namnlös.png

Categories:
I have the same question (0)
  • Jcook Profile Picture
    7,781 Most Valuable Professional on at
    Re: assign manager "dynamically"
    Hello,

    You could create a list in SharePoint and have the flow go into that list and grab the email.

    —Josh
    If you like my post please hit the "Thumbs Up" -- If my post solved your issue please "Mark as a Solution" to help others
  • Verified answer
    ChristianAbata Profile Picture
    8,951 Most Valuable Professional on at
    Re: assign manager "dynamically"

    hi @MrtnM  what you can do is create a sharepoint list with the emails of your admins then create 2 flows, the first one when a item is created so you can add the property admin and the second one when a file is deleted the you can convert to a normal 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

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
Tomac Profile Picture

Tomac 497 Moderator

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 477 Super User 2025 Season 2

#3
chiaraalina Profile Picture

chiaraalina 242

Last 30 days Overall leaderboard