cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
lupompei
Microsoft
Microsoft

Need to check if the email information is valid

Hello,

 

I have a form-flow-sharepoint list that is base for other flow. The main flow is an approval flow and I want to give the approvers a way to change the approver if they need. Instead of give them access to sharepoint (because this sharepoint is base to lots of flows and I dont want to compromise the security) I build a form to request the approver email. I was able to limit who can send the request. Now I need to ensure the user input a valid email on form. 

 

I have the subtitle with this information - please enter your email@microsoft.com. But after testing with users I realize errors can occur. There is a way to validate the value they entry and only run the flow after that? I need to validate if the email is a valid one.

 

thank you

1 ACCEPTED SOLUTION

Accepted Solutions
tom_riha
Super User II
Super User II

Hello @lupompei ,

I think you could use the 'Get user profile (V2)' action for that. Use the email they provide to search for a user, if it finds a user, it's a valid email address. Otherwise it's an invalid user and you can inform the user or end the flow.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

1 REPLY 1
tom_riha
Super User II
Super User II

Hello @lupompei ,

I think you could use the 'Get user profile (V2)' action for that. Use the email they provide to search for a user, if it finds a user, it's a valid email address. Otherwise it's an invalid user and you can inform the user or end the flow.



[ If I have answered your question, please Accept the post as a solution. ]
[ If you like my response, please give it a Thumbs Up. ]

[ I also blog about Power Automate solutions even for non-IT people. ]

View solution in original post

Helpful resources

Announcements
MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

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.

PowerPlatform 768x460.png

Microsoft Learn

Check out our new Discover Your Career Path blog post series and get all the details.

Top Solution Authors
Users online (901)