
DA839558M.70540 (Customer) asked a question.
I have the following group rule
String.stringContains(user.userPrincipalName,"domain1.com") or String.stringContains(user.email,"@domain1.com")
but some of the entries are a mix of case so they fail this rule such as @Domain1.com fails. How do I convert email and upn to lowercase to allow it to match the rule.
Many thanks for any help or advise offered.

Worked it out. Doh being lazy
String.stringContains(String.toLowerCase(user.userPrincipalName),"domain1.com") or String.stringContains(String.toLowerCase(user.email),"@domain1.com")
Thanks
Awesome congrats Chris!