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 / Issues taking a MS For...
Power Automate
Unanswered

Issues taking a MS Form field and converting to email address

(0) ShareShare
ReportReport
Posted on by
I have an MS Form that has a Power Automate flow running on submission.
The flow contains 2 levels of approval,
1st is line manager which is working fine, it gets the line manager form the users O365 profile.
2nd approval is from a manager specified within the MS Form, is a drop down text field which would give the output "Joe Bloggs" for example
Im looking to take this output and convert it to the users email address e.g. jbloggs@company.com so that the approval can be sent.
 
Ive tried to use a multi line IF statement within a Compose component as in this example i found https://community.powerplatform.com/forums/thread/details/?threadid=54e8f5d8-bae4-4d5f-8657-a4352b8ea67d
But when i try to use the compose Output in the approval form "assigned to" field it fails to pick up the output address and the flow fails at that point with this error:
"the request failed. error code: 'graphlookuprequestfailederror'. error message: 'user lookup request to graph failed lookup for user identifier: <then lists the entire IF statement>"
 
 
Ive also tried dropping to a single line if(equals(triggerBody()?['FIELD FROM FORM']?['Value'],'Joe Bloggs'), 'jbloggs@company.com', '') but get an error it still fails
 
 
If anyone can help i would be hugely grateful to get rid of this headache :-) 
Categories:
I have the same question (0)

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

Congratulations to the June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 276 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 169

#3
Haque Profile Picture

Haque 154

Last 30 days Overall leaderboard