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
Microsoft 365 Conference – December 6-8, 2022

Microsoft 365 Conference – December 6-8, 2022

Join us in Las Vegas to experience community, incredible learning opportunities, and connections that will help grow skills, know-how, and more.

Difinity Conference 2022

Difinity Conference 2022

Register today for two amazing days of learning, featuring intensive learning sessions across multiple tracks, led by engaging and dynamic experts.

European SharePoint Conference

European SharePoint Conference

The European SharePoint Conference returns live and in-person November 28-December 1 with 4 Microsoft Keynotes, 9 Tutorials, and 120 Sessions.

Users online (3,208)