User Directory (Active Directory and Entra ID) - Console

Updated 4 days ago by admin

The User Directory page connects your account to your user directories, so that you can use directory users and groups in modules that support them, such as Browse rules. On-premises Active Directory, Microsoft Entra ID and Google Workspace directories are supported.

Viewing your directories

In the console, click User Directory in the left-hand menu (under Settings). Each connected directory is shown as a card with its type, the Last sync time, the number of Objects synchronised and its health (for example Healthy). Click Refresh to update the list, and click the arrow on a card to see its details.

Adding a Microsoft Entra ID directory

  1. Click the arrow next to Add and choose Microsoft Entra ID.
  2. Enter a Directory name you will recognise, and your Microsoft tenant domain (usually ending in onmicrosoft.com).
  3. Optionally, under Synchronization scope, turn on Filter synchronized users or Filter synchronized groups to only import users or groups that match an attribute and value.
  4. Click Create directory.
You'll need a Microsoft administrator account to approve read access to your Entra ID directory.
Native Entra ID users don't have the samaccountname attribute, which some Browse features rely on. For full user-based filtering, synchronise an on-premise Active Directory (or a hybrid Entra ID environment) as well.
Connecting a directory here is for using its users and groups in policies. To let administrators sign in to the console with Microsoft Entra ID, see Enterprise SSO in Administrators.

Editing or deleting a directory

Click the pencil icon on a directory's card to change its name, tenant domain or synchronisation scope, then click Save changes. To remove the directory, click Delete directory.

Adding an on-premises Active Directory

An on-premises Active Directory is synchronised by the AD Connect software, which runs on a Windows server on your network. The server it runs on must be able to reach your domain controller. First add the directory in the console (below), then download AD Connect and create an API key for it from the directory's API Keys tab.

  1. Click the arrow next to Add and choose Active Directory On-Premises.
Add menu with Active Directory On-Premises highlighted
  1. Under Connection, enter:
    • Directory name: a name you will recognise, for example corp.example.local.
    • Server hostname: the domain DNS name, or a domain controller's hostname or IP address. Use localhost if AD Connect is installed on the domain controller itself.
    • Protocol and Port: LDAP (port 389) or LDAPS.
    • Connection username and Connection password: an account used to read the directory, for example CORP\svc-uss-sync. It must have read access to the Deleted Objects Container.
Connection section of the Add Active Directory On-premises page
  1. Under Domain, leave Sync entire domain ticked, or untick it and enter a Base DN (for example OU=Staff,DC=corp,DC=example,DC=local) to synchronise only part of the directory. Leave Automatically detect ticked to read the NetBIOS name from the domain controller, or untick it and enter it yourself.
  2. Under User attributes, check the Email attribute (default mail) and Phone attribute (default mobile), which are used for notifications and verification. The Default prefix is added to phone numbers stored without an international code. Tick Do not import email addresses or Do not import phone numbers if you don't want them synchronised.
  3. Optionally, under User filter, tick Only synchronize users with this attribute set to import only users with a particular attribute.
  4. Click Create directory.
Domain, User attributes and User filter sections

Downloading AD Connect and creating an API key

AD Connect authenticates with an API key rather than a user's password.

  1. On the User Directory page, open the on-premises directory and click Edit settings.
  2. Open the API Keys tab.
  3. Click the download icon (Download AD Connect) to download the AD Connect software, and install it on a server that can reach your domain controller.
  4. Click Add key to create an API key, and enter its details in AD Connect.
API Keys tab with Download AD Connect and Add key highlighted

The list shows each key's Client ID, when it was created, its age and status. Click Delete to revoke a key that is no longer used; any AD Connect server using it will stop synchronising.

Once AD Connect has synchronised, the directory appears as a card on the User Directory page. Click the arrow on the card to see its sync status and the users, groups and organisational units it has imported, or Edit settings to change it.

Google Workspace

Existing Google Workspace directories are shown on the User Directory page. Adding a new one from the console is marked Coming soon; please use the USS Dashboard for now.


How did we do?