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 Automate
Answered

Multi Manager Flow

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

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

Categories:
I have the same question (0)
  • ScottShearer Profile Picture
    25,290 Most Valuable Professional on at

    Can you post a screen shot of your Flow?

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    Here it is

     

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

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

  • Verified answer
    v-xida-msft Profile Picture
    Microsoft Employee on at

    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
    Microsoft Employee on at

    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 

  • v-xida-msft Profile Picture
    Microsoft Employee on at

    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

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 62 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 58

#3
Expiscornovus Profile Picture

Expiscornovus 39 Most Valuable Professional

Last 30 days Overall leaderboard