When setting up a link to a third-party directory such as Entra ID (formerly Azure AD) or Google Workspace you can use our platform-agnostic filter definitions to exclude or include users from the import or sync. This is in addition to the basic filters available to include or exclude emails or groups. When using Custom Directory Filters you cannot use the standard email or group filters.
The filter definition is created using JSON and consists of a list of objects which map property names to include and exclude definitions. You should use this method of filtering if you have more complex filtering requirements.
Our support team can assist if you require advice on configuring your filter definition.
filterDef should conform to the following JSON:
# [
# {
# "property_name": "userPrincipalName",
# "include": [{"type": "STARTS_WITH|ENDS_WITH|INCLUDES|EQUALS|NOT_EQUALS", "value": "@weekly10.com"},
# "exclude": [{"type": "STARTS_WITH|ENDS_WITH|INCLUDES|EQUALS|NOT_EQUALS", "value": "@gmail.net"}]
# }
# ]