0

Could you please provide me the azure policy code for validating email pattern?.

Please find examples in the below:

kiran@ch.gmail.com
naresh@jk.gmail.com
*@*.gmail.com
kiran
  • 1
  • It is almost impossible to validate email addresses. see : https://medium.com/hackernoon/the-100-correct-way-to-validate-email-addresses-7c4818f24643 – Dragonthoughts Dec 19 '19 at 15:30
  • Does this answer your question? [How to validate an email address using a regular expression?](https://stackoverflow.com/questions/201323/how-to-validate-an-email-address-using-a-regular-expression) – Anton Menshov Dec 19 '19 at 21:14

1 Answers1

-1

That is not support with Policy today. Policy is not aware of users so can't validate emails.

Kemley
  • 184
  • 5