If the GUI filter editor is not powerful enough for your needs, Graph API filter syntax can be used in the filter’s text window as follows:
[Filter] = '<here goes the Graph API filter>'
For help regarding the Graph API filter syntax, please check the following documents:
-
https://learn.microsoft.com/en-us/graph/filter-query-parameter
-
https://learn.microsoft.com/en-us/graph/aad-advanced-queries
Advanced query capabilities can be used within Azure AD agent. When querying graph API, the agent runs with the following settings:
-
$countquery parameter -
ConsistencyLevel header set to
eventual
Please check in the above documents if the query capabilities you require are available for the user or contact object.
A Graph API filter cannot be combined with other filters created in the GUI filter editor.
Examples
Users with either mobile phone or business phone
[Filter] = 'mobilePhone ne null or (businessPhones/any(p:p ge ' '))'