Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Unanswered

Extract users manager hierarchy

(0) ShareShare
ReportReport
Posted on by 199

Hi, I really hate the new design of the Power Automate, nothing works as it used to. I had a flow, where i extracted the user's managers hierachy, up to 2 leaders (manager and manager of the managers) , based on the Created By Email. Before the new stupid design, everything worked. now i simply cannot find a way to fix it. I looked through the internet and forums and nothing. I was wondering if anyone faced the same issue and what was your solution. 

batmanMon_0-1701875029975.pngbatmanMon_1-1701875047250.png

 

Categories:
  • batmanMon Profile Picture
    199 on at
    Re: Extract users manager hierarchy

    @lbendlin  it doesnt work for me 😞

    batmanMon_0-1702309891284.png

     

  • lbendlin Profile Picture
    7,943 Super User 2025 Season 1 on at
    Re: Extract users manager hierarchy

    lbendlin_0-1702308540067.png

     

  • batmanMon Profile Picture
    199 on at
    Re: Extract users manager hierarchy

    @lbendlin  could you please send the screenshot of your flow. that would be so good 🙂

  • lbendlin Profile Picture
    7,943 Super User 2025 Season 1 on at
    Re: Extract users manager hierarchy

    seems to work ok?

     

    {
     "type": "Scope",
     "actions": {
     "Get_manager_(V2)_1": {
     "type": "OpenApiConnection",
     "inputs": {
     "parameters": {
     "id": "@outputs('Get_manager_(V2)')?['body/mail']",
     "$select": "mail"
     },
     "host": {
     "apiId": "/providers/Microsoft.PowerApps/apis/shared_office365users",
     "connection": "shared_office365users",
     "operationId": "Manager_V2"
     }
     },
     "runAfter": {
     "Get_manager_(V2)": [
     "SUCCEEDED"
     ]
     }
     },
     "Get_manager_(V2)": {
     "type": "OpenApiConnection",
     "inputs": {
     "parameters": {
     "id": <user email>,
     "$select": "mail"
     },
     "host": {
     "apiId": "/providers/Microsoft.PowerApps/apis/shared_office365users",
     "connection": "shared_office365users",
     "operationId": "Manager_V2"
     }
     }
     }
     },
     "runAfter": {
     "Filter_array": [
     "SUCCEEDED"
     ]
     }

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 >