Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Multi Manager Flow

(0) ShareShare
ReportReport
Posted on by

Hi,

 

Ive built a flow for mutliple managers depending on budget level. However when I try to test and push it through i get an error saying that the 'get manager' function failed

 

-Ive set it up that the first blocks are referecing the above managers with the 'get manager v2' function.

-Ive added a switch case that looks at the budget level (1,2 or 3) from a sharepoint list and routes it to the appropriate manager.

 

Is there something wrong with using the 'get manager v2' to get the the following heirachy: created by user -> Manager1 -> Manager2 (Sr) -> Manager3 (Dir)

 

Regards,

 

Ali

  • v-xida-msft Profile Picture
    on at
    Re: Multi Manager Flow

    Hi @Anonymous,

     

    Have you solved your problem?

    Do you have any other questions about Microsoft Flow?

     

    If you have solved your problem, please click "Accept as Solution" so that this thread will be marked for other users to easily identify.

     

    Best regards,

    Kris

  • Community Power Platform Member Profile Picture
    on at
    Re: Multi Manager Flow

    I looked at it again and the error was due to not referencing the UPN in from the managers, also the switch case is where the issue was, it didnt like referencing a letter, i made some changes and it is all working now.

     

    Thanks for your help 

  • Verified answer
    v-xida-msft Profile Picture
    on at
    Re: Multi Manager Flow

    Hi @Anonymous,

     

    Could you please share a bit more about the error message within your flow?

    Could you please expand all the "Get Manager (V2)" actions within your flow and share a screenshot about them?

     

    I have made a test on my side and don't have the issue that you mentioned. My flow's configuration as below:4.JPGThe flow works successfully as below:5.JPG

     

     

    The "Get my profile (V2)" action is used to retrieve the profile of current login user. The "Get Manager (V2)" action is used to retrieve the profile of the direct manager of the specific user. If the specific user has not defined a direct manager, the "Get Manager (V2)" action would fail.

     

    Please check if you have provided proper value (the Email Address or UPN of a user) within the User (UPN) field of the "Get Manager (V2)" action of your flow. In addition, please also check if current user has corresponding hierarchy managers.

     

     

    Best regards,

    Kris

     

     

  • Community Power Platform Member Profile Picture
    on at
    Re: Multi Manager Flow

    url: https://i.imgur.com/LPXfiNK.jpg

  • Community Power Platform Member Profile Picture
    on at
    Re: Multi Manager Flow

    Here it is

     

  • ScottShearer Profile Picture
    25,228 Most Valuable Professional on at
    Re: Multi Manager Flow

    Can you post a screen shot of your Flow?

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492