Filter out results based on Email Address/Username #56
-
What is the recommended method to filter out results based on specific characters in the email address or UPN? In particular, we use _ and a 3 letter designator at the end of accounts (in Active Directory) to identify them as admin accounts, privileged access accounts, or service accounts. username_xxx@domain.com I would like to be able to return user results that do not contain these types of accounts. |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
The format you use makes it hard to filter them out, as there is no support for More info on the options, can be found at: |
Beta Was this translation helpful? Give feedback.
-
What properties are available for filtering? |
Beta Was this translation helpful? Give feedback.
-
I found that the following works: |
Beta Was this translation helpful? Give feedback.
I found that the following works:
not endswith(userPrincipalName,'_xxx@lazard.com') and not endswith(userPrincipalName,'_xxx@lazard.com')