Skip to content

Sync your company directory

Keep People, managers, departments and home locations current from Microsoft Entra ID or Google Workspace.

In the app:Company directory

On this page

Directory sync keeps People current without another spreadsheet. Conduit TEM reads your Microsoft Entra ID or Google Workspace directory each day. It can add people, update their details and mark disabled or removed accounts as having left.

Only owners and admins can connect or manage a directory. Your plan must include directory sync.

Before you connect

Add your locations and, if you use them, divisions or cost centres under Settings → Structure. Conduit TEM places people only when an office or department has one exact matching name or code. It leaves uncertain matches unplaced.

The first sync is always a preview. Nothing in People changes until an owner or admin reviews the totals and selects Apply first sync.

Connect Microsoft Entra ID

You need a Microsoft Entra Global Administrator, Privileged Role Administrator or Cloud Application Administrator who can grant tenant-wide admin consent.

  1. Go to Settings → Integrations → Directory.
  2. Select Connect Microsoft.
  3. Enter your Microsoft Entra tenant ID. This is the organization GUID, not its domain name.
  4. Select Continue to Microsoft and sign in with one of the administrator roles above. Conduit TEM verifies that sign-in and tenant before Microsoft shows the separate admin-consent request.
  5. Accept the tenant-wide request and return to Conduit TEM.

The Conduit TEM application asks for Microsoft Graph → User.Read.All → Application only. This is read-only and requires admin consent. It reads users, their managers, departments, office locations, employee ids and whether their accounts are enabled. It cannot change Microsoft accounts.

Connecting Microsoft Entra ID with the read-only permission shown
Connecting Microsoft Entra ID with the read-only permission shown

After Microsoft returns you to Conduit TEM, wait for the first preview. If your organization has its own address (see Your organization's own address), Microsoft passes you back there, still signed in.

Connect Google Workspace

You need a Google Cloud project and access to both its service accounts and the Google Admin console.

  1. In Google Cloud, enable the Admin SDK API and create a dedicated service account for Conduit TEM.

  2. Turn on domain-wide delegation for that service account, then create and download a JSON key.

  3. In the Google Admin console, go to Security → Access and data control → API controls → Manage domain-wide delegation.

  4. Add the service account's numeric Client ID. Give it only this OAuth scope:

    https://www.googleapis.com/auth/admin.directory.user.readonly

  5. In Conduit TEM, go to Settings → Integrations → Directory and select Connect Google.

  6. Enter a Google Workspace administrator email to impersonate and choose the service-account JSON file. Select Connect Google Workspace.

The JSON key is encrypted when saved and is never shown again. Conduit TEM uses it only to read directory users. Keep the original in your organization's secure credential store so you can rotate or revoke it in Google Cloud.

Replace the Google key

To rotate the service-account key, or after it was revoked, you don't need to disconnect:

  1. Create a new JSON key for the same service account (or a new one with the same domain-wide delegation) in Google Cloud.
  2. On Settings → Integrations → Directory, select Replace key on the Google Workspace connection.
  3. Check the Administrator to impersonate, choose the new JSON file and select Replace key.
Replacing the Google Workspace key with an administrator and a new service-account file
Replacing the Google Workspace key with an administrator and a new service-account file

Conduit TEM checks the new key with Google before saving it, and it must belong to the same Workspace. People, links and sync history stay as they are, and a connection that needed attention because of the old key is ready to sync again. Then delete the old key in Google Cloud. Each replacement is recorded under Settings → Activity.

Review and apply the first sync

The preview shows how many people will be:

  • added;
  • updated;
  • marked as having left;
  • unchanged; or
  • skipped for review.

It also calls out manual edits that will be kept and assigned lines that will be flagged for leavers. Select Apply first sync when the totals make sense. Conduit TEM reads the directory once more and applies that fresh result.

Later successful syncs apply automatically each day. Select Sync now when you need an update sooner. The card shows the last sync time and change summary.

Conduit TEM stops a later sync for review when it would mark more than 20% of linked people or more than 25 people as having left, using whichever limit is smaller. Owners and admins receive an email, and the connection card shows Needs review. Check that the provider still covers the whole organization, then select Apply reviewed sync. Conduit TEM reads the directory again; if the number has grown past the safety limit, it asks for confirmation again. A complete result with no users is never applied.

What changes, and what does not

  • People are matched by email first, then by one unambiguous active full name.
  • A disabled or removed directory account is marked Left the company. The person and their services are never deleted. Assigned lines stay attached so you can reassign or disconnect them.
  • Office matches a location first; department can match a division or cost centre. The name or code must be an exact, unique match.
  • Manual edits win. After a person is linked, Conduit TEM changes a field only while it still has the last value supplied by the directory. A manually changed title, department, location or manager is kept and counted in the summary.
  • A restored directory account can reactivate a person when directory sync was what marked them as having left.

Pause or disconnect

Select Pause to stop daily and manual sync without forgetting the connection. Select Resume when you are ready.

Disconnect removes the saved connection, Google credential if applicable, and field source markers. It does not remove or change anyone in People, and it does not unassign lines. Reconnecting later starts with a new first preview.

Troubleshooting

  • Microsoft consent link expired: start Connect Microsoft again. The consent link lasts 15 minutes.
  • Microsoft sign-in could not be verified: use one of the listed administrator roles in the exact tenant ID entered, then start again.
  • Needs review: check that a Google organizational-unit scope was not narrowed and that Microsoft or Google returned the full organization before applying.
  • Permission refused: confirm the Microsoft app has User.Read.All as an Application permission, or that Google's domain-wide delegation has exactly the read-only scope above.
  • People are unplaced: make the office or department exactly match one active structure name or code, then sync again.
  • A field did not update: check whether someone edited it in People. Manual changes are deliberately kept.
  • Needs attention: fix the provider access, or select Replace key for a revoked or expired Google key, then select Sync now.
  • "That key belongs to a different Google Workspace": a replacement key must come from the Workspace already connected. To switch to another Workspace, disconnect and connect it as new.