Announcements
Hello everyone
How can I have the hierarchical list of a user's managers from Azure AD in a flow
Hi @gikido ,
If you want to get user's manager chain .Please try this Microsoft graph API:
https://graph.microsoft.com/v1.0/users/UerEmail@xxxxxxx.com ?$expand=manager($levels=max;$select=id,displayName,mail)&$select=id,displayName,mail
I think these links will help you a lot:https://learn.microsoft.com/en-us/graph/api/user-list-manager?view=graph-rest-1.0&tabs=http
https://techcommunity.microsoft.com/t5/educator-developer-blog/call-microsoft-graph-api-in-power-automate-using-custom/ba-p/3596572
Best Regards,
Bof
Keep in mind that $levels requires you to send "ConsistencyLevel" as "eventual" in the request header.
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.
Congratulations to our community stars!
Expanding mentorship, skilling, and AI innovation
These are the community rock stars!
Stay up to date on forum activity by subscribing.
David_MA 274 Super User 2026 Season 1
11manish 175
Haque 166