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
Super User

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
Super User

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. ]

Helpful resources

Announcements
 WHAT’S NEXT AT MICROSOFT IGNITE 2022

WHAT’S NEXT AT MICROSOFT IGNITE 2022

Explore the latest innovations, learn from product experts and partners, level up your skillset, and create connections from around the world.

Register for a Free Workshop.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

September Events 2022

Check out all of these events

Attend in person or online, there are incredible conferences and events happening all throughout the month of September.

Users online (2,022)