cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
MrtnM
Helper V
Helper V

assign manager "dynamically"

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

1 ACCEPTED SOLUTION

Accepted Solutions
ChristianAbata
Super User II
Super User II

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.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

2 REPLIES 2
Jcook
Super User III
Super User III

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

Did I answer your question? Mark my post as a solution!

If you like my post please hit the Thumbs Up


Proud to be a Flownaut!


Check out my blog for Power Automate tips,
tricks, and guides
FlowAltDelete





ChristianAbata
Super User II
Super User II

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.



Did I answer your question? Please consider to Mark
my post as a solution! to guide others :winking_face:

Proud to be a Flownaut!


If you want you can follow me at www.christianabata.com Quieres contenido en español? Síguenos en Power Automate LA

View solution in original post

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

MBAS on Demand

Microsoft Business Applications Summit sessions

On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks

Top Solution Authors
Users online (29,267)