The Google Workspace Directory Sync card makes Illizeo the source of your Google directory: for every joiner, change or leaver, Illizeo creates, updates, moves or suspends the employee’s Google account. The link uses a service account key prepared by your Google administrator. This article is for Illizeo and Google Workspace administrators.
Before you start #
- Permission: Application store connectors (OAuth connect / disconnect), under Platform administration › Integrations, Execute level. By default, only the Administrator role holds it. Without this level, the detail shows no sync settings.
- On the Google side: a Google Cloud project and a super administrator account in your Workspace.
- Single sign-on with Google is a separate setting on the same card (SSO Login tab): see Single sign-on (SSO). The sync does not require it.
What is exchanged #
Data only flows from Illizeo to Google. For each employee in scope, Illizeo sends their email address (the account’s primary address), first name, last name, employee number, job title, department and office. Illizeo never deletes an account and never creates or changes any Google group.
Preparing Google #
The detail recalls these steps in the To prepare in Google, before testing box:
- In Google Cloud, create a service account, enable the Admin SDK API, then download a JSON key.
- In the Google Admin console, open Security › Access and data control › API controls › Domain-wide delegation, and add the service account client ID with the four scopes shown in the detail. They allow Illizeo to manage users and to read domains, organisational units and groups.
With this delegation, the service account can create, change and suspend every account in your domain: keep the key safe.
Connecting Google Workspace #
- Open your avatar › Applications, External Connectors tab, then the Google Workspace Directory Sync card (Identity, SSO & directory section).
- Click Configure. If you also manage SSO, open the Directory Provisioning tab.
- In Service account JSON key, choose the downloaded file. The service account address appears. The key is encrypted and never shown again.
- Enter the Super administrator address: the service account acts on this administrator’s behalf.
- Enter the Primary domain. Only addresses in your Workspace’s verified domains can receive an account.
- Optional: enter the Organisational unit for new accounts, for example /Employees. Empty means the root.
- Click Test the connection. The test only reads data and saves nothing. If it succeeds, “Successfully connected to Google Workspace” appears with the list of manageable domains.
- Click Save: Illizeo runs the test again, then saves. The card changes to CONNECTED.

Once connected, the form disappears. To change the key or the administrator, disconnect and start again. The Test the connection button stays available: it checks the saved key and the units in use, and refreshes the list of domains.
Placing accounts in organisational units #
The Organisational units block places each account in the unit that matches the employee’s sub-company and department, and moves it when either changes on their profile.
- Choose the Default unit from the units read in Google.
- Click Add a rule, then choose a sub-company, a department, or both, and the unit.
- Click Save the mapping. The accounts concerned will be moved at the next sync: run a simulation to see them.
The most precise rule wins: sub-company and department, then department alone, then sub-company alone. Without a rule, the default unit applies. Illizeo does not create any unit: create it first in the Google Admin console. An account your IT department placed elsewhere stays there as long as the profile does not change.
Setting the scope and syncing #
Below the units, the provisioning panel is the same as for Microsoft Entra ID (see Microsoft Entra ID: provisioning accounts):
- Scope: the statuses to sync (none by default; Apply recommended statuses ticks Active), the Sync frequency (Every 30 minutes by default) and the Include contingent / external workers box. Save the scope starts automatic syncs.
- Simulate reads your Google directory without writing anything, and shows the accounts to create, update, disable and skip.
- Sync now starts a run without waiting.
- The Run log lists the latest runs, their lines and errors, with Retry the N row(s) in error.
What happens at each sync #
- First run: Illizeo looks for a Google account at the profile’s email address (aliases included). If one exists, it is taken over: its details are updated, without moving or reactivating it. Otherwise, the account is created in the planned unit. First and last names are required.
- New account: it gets a random password that nobody knows, to be changed at first sign-in. The employee gets in through your single sign-on, or after a reset by your Google administrator.
- Change: only the fields that are filled in are updated. The password and the account’s state are never changed.
- Leaver: the account is suspended, never deleted.
- Return: an account that Illizeo suspended at departure is reactivated. An account your IT department suspended by hand stays suspended.
- Address outside your domains: an employee whose address is not in a verified domain is skipped, with a reason in the log.
Common errors #
When the test fails, “The connection to Google Workspace failed” appears with a remedy, followed by Google’s own message.
| Remedy shown | Cause |
|---|---|
| “The key is revoked, deleted or unreadable. […]” | Key removed in Google Cloud or damaged file: download a new key. |
| “Authorise domain-wide delegation for this service account, with all the scopes below […]” | Delegation missing or incomplete. The screen recalls the client ID and the scopes. |
| “The super administrator address does not exist in this Workspace. Check it.” | Address mistyped. |
| “This account cannot manage the directory. […]” | The address is not a super administrator’s. |
| “This domain is not a verified domain of this Workspace.” | Primary domain mistyped. |
| “This organisational unit does not exist. […]” | Unit path unknown in Google. |
| “This file is not a service account key. […]” | The chosen file is not the JSON key. |
Switching the sync off #
- Stop sending: untick every status in the scope and save. No account is created, changed or suspended any more.
- Disconnect: click Disconnect on the card or in the detail, then confirm. The key, the administrator, the domains, the unit mapping and the scope are erased; the run log is kept. No Google account is suspended or deleted.
The message reminds you that the delegation stays granted in your Google Admin console: remove it (Security › API controls) and delete the key in Google Cloud. If Google groups grant roles in Illizeo, they stop being re-read and roles already granted are kept: remove the groups from the roles first (see Granting roles through directory groups).
Good to know #
- The line manager is not sent to Google.
- Accounts linked by this sync also make it possible to assign Illizeo roles through Google groups.
- If Google single sign-on is active, the card shows CONNECTED even without a sync. Its Disconnect button only switches off the sync, not SSO.
- Every connection and disconnection is emailed to holders of the permission and recorded in Settings › Manage Illizeo › User Logs.
