Use Case - Filtering Attendant Contact Search via MS Graph

Set up a filter for your tenant that is universally applied before a contact search in the Attendant Console frontend UI.

In this Use Case we're going to set up a filter for your tenant that is universally applied before a contact search in the Attendant Console frontend UI.

 🔍 This use case is optional and part of your Tenant Administration > MS GRAPH FILTER settings.

Configure Query for Your Tenant

Login as Tenant Admin and go to your Tenant Administration

Define and add filters to the Graph Filter textbox.

Show me some examples

Example Filter to fill in
Filter users with a Microsoft account or from a certain department endsWith(userPrincipalName,'onmicrosoft.com') or Department eq 'Microsoft Communication Application Instance'
Filter users that only speak English or German. preferredLanguage eq 'en-GB' or preferredLanguage eq 'de-DE'
Filter for enabled user accounts only accountEnabled eq true

🔍 Refer to the Microsoft Graph API Documentation:

  1. User Resource Typehttps://docs.microsoft.com/en-us/graph/api/resources/user
  2. Working with Users in MS Graphhttps://docs.microsoft.com/en-us/graph/api/resources/users?view=graph-rest-1.0
 
 

Validate the filter by pressing "Open MS Graph Explorer" - it will open Graph Explorer for you with provided filter

  1. Authenticate in Graph Explorer and press "Run Query". Make further adjustments to the filter as needed. 
  2. Once satisfied with your filter results, update the MS GRAPH FILTER box using only the $filter part for your query.

Test Your Filter in Attendant

  1. Login with any user on your tenant that has Attendant Console enabled
  2. Within the "Contact Search" start searching for users → verify that the query form the previous step now limits your search results.

Table of Contents