cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
craig615
New Member

My flow needs to pull the "Manager (V2)" listed under the Azure AD user profile

I am building a Power App for a time off request application and I am using a flow to build and send an email to the users as well as the users managers email address. I've done this in the past directly through Power App, but this app is a bit more involved and I believe it will be easier to build this piece separate from the app itself. Does anyone know how you set the "assigned to:" section under "Start an approval" so I can set "Manager (v2)" for outlook? I know that Outlook checks Azure AD to figure out who your manager is I just don't know if I can replicate this feature in Power Automate. Any help would be greatly appreciated.

1 REPLY 1
RobElliott
Super User
Super User

@craig615 in your flow adda couple of Office 365 Users actions. The first one is get user profile (v2) and in my case I'm populating it with a variable brought in from Power Apps. Then add a get manager (v2) action and from the dynamic content select Mail from the get user profile (v2) section.

getManager3.png

 

You can then use outpout of that in your approval action in the assigned to field.

 

Rob
Los Gallardos
If I've answered your question or solved your problem, please mark this question as answered. This helps others who have the same question find a solution quickly via the forum search. If you liked my response, please consider giving it a thumbs up. Thanks.

Helpful resources

Announcements
Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Top Solution Authors
Users online (4,760)