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 Platform Community / Forums / Power Automate / Get Manager V2 Request...
Power Automate
Answered

Get Manager V2 Request: Bad_Request

(0) ShareShare
ReportReport
Posted on by 9

I realize that Get Manager uses Azure AD and I have verified that my User has a Manager in A-AD and that that Manager ID is valid, but my workflow fails with :

 

{
  "error": {
    "code": "Request_BadRequest",
    "message": "Bad request. Please fix the request before retrying.",
    "innerError": {
      "request-id": "f3af12dc-3706-45c7-b4f3-###!##!!##!!",
      "date": "2018-04-30T13:22:43"
    }
  }
}

 

My UPN seems correct: i:0#.f|membership|myname@mydomain.com

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

    Hi @joconnor,

     

    Could you please share a screenshot of your flow's configuration?

    Further, could you please show more details about the error message?

     

    The User (UPN) field of the "Get Manager (V2)" action is required to fill the User Principal Name or the email address of a user (Office 365 User). In default, the User Principal Name (UPN) of a user has same value with the email address of a user.

     

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

    The flow works successfully as below:18.JPG

     

    Please take a try to type the email address of your User within the User (UPN) field of the "Get Manager (V2)" action, then check if the issue is solved.

     

    More details about the "Get Manager (V2)" action, please check the following article:

    Get Manager (V2) action

     

    Best regards,

    Kris

  • Verified answer
    joconnor Profile Picture
    9 on at

    The upn would be of the curtrent user, not hard coded.  I used "Created By Claims"

     

    I got it to work, by first using the Get Profile action with the "Created By Claims".  Then I used the Get Manager action using the UPN, although that didn't seem to be in any of the examples I was working from.  As soon as I did that it worked.  

    workflow capture.png

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 355

#2
11manish Profile Picture

11manish 336 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 308

Last 30 days Overall leaderboard