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
Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

New Ideas Forum MPA.jpg

A new place to submit your Ideas for Power Automate

Announcing a new way to share your feedback with the Power Automate Team.

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

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

MPA Licensing.jpg

Ask your licensing questions at the Power Automate AMA!

Join Priya Kodukula and the licensing team, super users and MVPs to find answers to your questions on Power Automate licensing.

Users online (1,581)