EmaiI Signature Platform - Help Desk and Knowledge Base

IT Pro: How to filter users in Azure AD using Client-Side

Client-side filter is used when an attribute like companyName is NOT supported in Microsoft API(OData Filter). Click HERE for all the list of supported attributes.

The Client-side filter can work in combination with Server-side filters.

Under Preferences > Integration > Azure AD, tick the box Enable on Azure AD user Synchronization

Example:
This filter returns all users with Selvejende Institution and Høje-Taastrup Kommune as their company.

$.company == 'Selvejende Institution' || $.company == 'Høje-Taastrup Kommune'

More Examples:

This filter returns all users with the specified email domain(xink.io).

$.mail != null && $.mail.indexOf('@xink.io') > -1

This filter returns all users with job titles.

$.title != null && $.title.length > 0


Syntax

The Javascript syntax is used in the Client-Side filtering. 

Learn more about Javascript SYNTAX and OPERATORS.

Example:

This filter will only import users with postal code: 12345

$.postalCode == '12345'

Client-Side filter supported attributes

For more details about supported properties, click on the Microsoft link below and search 'Supports $filter'. Only the properties marked with 'Supports $filter' are supported in Microsoft Graph API.

https://docs.microsoft.com/en-us/graph/api/resources/user?view=graph-rest-1.0#properties


Extension field format:

extension_<CLIENT_DEPENDANT_GUID>_<ATTRIBUTE_DISPLAYNAME>

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.