I have a form where the user entered their email address. The form data goes into SharePoint online. I want to check that the email entered is a valid AD user account. If I test it by entering an invalid email, the “Get User Details” crashes the workflow with an error. Is there a way to check a return code from this action or is there another action that will work?
Hi
Are you not able to use a people picker field on the form? That way you will know for sure that they are a valid user.
Hello
Try using the query users, return the first record and save the output. You can then query the count, if 1, then the user exists, otherwise if 0 it doesn’t.
Hope this helps you out,
Anthony
Thank you
Thanks again!
Thank you
Thanks again!
Hey there, I’d love to hear about an update on this work you’re doing. Did you implement any of these options and how did they work for you?
We’re facing a similar situation and considering our options :)
Cheers!
Reply
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.