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

View solution in original post

Helpful resources

Announcements
2022 Release Wave 1 760x460.png

2022 Release Wave 1 Plan

Power Platform release plan for the 2022 release wave 1 describes all new features releasing from April 2022 through September 2022.

Community Connections 768x460.jpg

Community & How To Videos

Check out the new Power Platform Community Connections gallery!

Top Solution Authors
Top Kudoed Authors
Users online (1,625)