cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
yjamous
Advocate II
Advocate II

Sending email fails

hi

I've a document library. The document library has many attributes including a person name.

 

So I wish to send email to that person. My flow fails because I'm put as action to send email to the person and not to email. How can I retrieve person email? The person exists in active directory.

 

 

20200721_001519.jpg

Screenshot_20200721-001223_Flow.jpg

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
yashag2255
Dual Super User II
Dual Super User II

Hi @yjamous 

 

What is the data type of the person name attribute? You can get the email address only if it is a Person type field. If it is a text field you cannot retrieve the email from the directory as the search cannot be performed just with name of the person (as it is not a unique identifier)

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

3 REPLIES 3
yashag2255
Dual Super User II
Dual Super User II

Hi @yjamous 

 

What is the data type of the person name attribute? You can get the email address only if it is a Person type field. If it is a text field you cannot retrieve the email from the directory as the search cannot be performed just with name of the person (as it is not a unique identifier)

 

Hope this Helps!

 

If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

View solution in original post

v-litu-msft
Community Support
Community Support

Hi @yjamous,

 

@yashag2255 is correct, if you want to extract Email from the Active Directory, you should pass UPI not person name.

If the person column is a person column you could choose these email directly in the dynamic content list:

Annotation 2020-07-21 171739.jpg

 

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

As rightly mentioned, the problem was that I was passing the name of the person and not the email.

So now it's fixed.

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Welcome Super Users.jpg

Super User Season 2

Congratulations, the new Super User Season 2 for 2021 has started!

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 Solution Authors
Users online (1,521)