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:
- add the manager to an Azure security group, and assign the group as the manager in the Flow - this will not work, I guess?
- 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?
