cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Anonymous
Not applicable

Get manager for employee

One of the fields in my SP list is "employee name" which is a "People or Groups" field. I need Flow to find the manager's name/email for that person and send the manager a specific email. Is that possible? If so, please let me know where it's best to find instructions.

Thanks,

CW

1 REPLY 1
v-yamao-msft
Community Support
Community Support

Hi @Anonymous,

 

Do you want to send an email to employee’s manager dynamically?

Before we start the flow, please make sure you have specified corresponding Manager to each Employee in Azure AD.

Please check the following doc on how to add or update a user’s profile information using Azure Active Directory:

https://docs.microsoft.com/en-us/azure/active-directory/fundamentals/active-directory-users-profile-azure-portal

After you have specified manager to each employee, you could start the flow likes below.

Trigger the flow with When an item is created. Of course, there is a people column in SharePoint list named as EmployeeName.

Then use the action Get user profile to return the UPN of the Employee.

Add the action Get manager, select dynamic content User Principal Name from the previous action.

In the action Send an email, select To from the action Get manager for the To field.

A screenshot likes below:

1.PNG

Please feel free post back if you need more help.

 

Best regards,

Mabel

Community Support Team _ Mabel Mao
If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

Helpful resources

Announcements
Process Advisor

Introducing Process Advisor

Check out the new Process Advisor community forum board!

MPA User Group

Welcome to the User Group Public Preview

Check out new user group experience and if you are a leader please create your group

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

Top Kudoed Authors
Users online (3,299)