User synchronization decides where the users of your tenant come from. A tenant always has exactly one source of users.
| Sync mode | Who creates the users |
|---|---|
MANUAL | A tenant administrator in the admin console, or the users themselves through self-registration. |
ENTRA | Identity Service synchronizes them from Microsoft Entra ID on a schedule. |
LDAP | Identity Service synchronizes them from Lightweight Directory Access Protocol (LDAP) or Active Directory on a schedule. |
GOOGLE | Identity Service synchronizes them from Google Workspace on a schedule. |
EXTERNAL | Your own system sends them to Identity Service through its API. |
The synchronization settings are on the Directory page, on the Sync tab. The Source at the top names the current source, and View connections opens the connections it reads from.
Review the active sync mode
The Active mode panel shows:
- The current sync mode and whether scheduled synchronization is on (Sync enabled).
- The Cron schedule that decides when the synchronization runs.
- The Last run, with Open in log to open its details.
- Sync profile photos, for the
ENTRA,LDAP, andGOOGLEmodes; see Synchronize profile photos.
Run sync now starts a synchronization immediately. When one is already running, the message “A sync is already running.” appears.
Preview a synchronization
Before you switch to Microsoft Entra ID, check what the synchronization would do to your existing accounts. The Entra sync dry-run panel calculates the result without changing anything. A tenant that already synchronizes from Google Workspace has the Google sync dry-run panel instead.
- On the Sync tab, click Preview switch to ENTRA. When the synchronization already runs, the button is Preview next sync.
- Review the lists Would be created, Would be updated, Would be adopted, and Would be deactivated.
| Result | Meaning |
|---|---|
| Adopted | An existing account whose email matches a directory user. The synchronization takes it over, removes its local password, and keeps the user on the same account in every application. |
| Deactivated | An active account with no match in a mapped group. When your own account is among them, the preview marks it as your account. |
If the preview lists your own account among the deactivations, you lose access to the admin console at the first synchronization. Map your administrator group to identity:tenant-admin before you switch.
Change the source of users
-
On the Sync tab, click Change in the Active mode panel.
-
In the dialog Change sync mode, select the new sync mode in Mode.
-
Set the schedule; see Schedule the synchronization.
-
[Optional] Keep Also switch sign-in to [method] selected to also switch the sign-in method that fits the new source. The option appears when an active connection can sign the users in:
New source Sign-in method ENTRA,GOOGLEOIDC(OpenID Connect)LDAPLDAPMANUALLOCAL -
Click Save.
Switching away from ENTRA, LDAP, GOOGLE, or EXTERNAL immediately deactivates every user from that source, and removes their licenses and group memberships. The dialog warns you before you save.
When you switch away from MANUAL, the local groups are hidden, and they return when you switch back. A tenant with guest access turned on must stay on MANUAL.
Schedule the synchronization
Click Edit next to Cron schedule to choose when the synchronization runs:
- No schedule: the synchronization runs only when you click Run sync now.
- Every N minutes: every 5, 10, 15, or 30 minutes.
- Every hour, Every day, or Every week at the time you set.
- Custom cron: your own cron expression with five fields.
A summary below the choice, for example “Runs every day at 02:00.”, confirms the schedule. Sync enabled turns scheduled synchronization on and off.
Synchronize profile photos
The Sync profile photos switch takes each user’s photo from the company directory.
- When you turn it on, directory photos replace the photos users uploaded, and users can no longer upload a photo. Under
LDAPandGOOGLE, users can still remove a photo the directory didn’t supply. - For
ENTRA, users without a photo in Entra ID lose their uploaded photo. ForLDAPandGOOGLE, users without a directory photo keep theirs. - When you turn it off, the photos stay, and users can change them again.
For ENTRA, the app registration needs the ProfilePhoto.Read.All or User.Read.All permission.
Review the run history
The Run history tab lists the synchronization runs with their Started, Mode, Status, Trigger, and Duration. The status partial means that a part of the run failed. Click a run to see its counts, such as created, updated, and deactivated users, and its error.
How synchronization assigns licenses
- The group mappings of the connection decide the licenses; see Manage connections. When several groups give a user more than one license of the same application, the license with the highest priority wins.
- When the licenses from the mappings change, the synchronization replaces all licenses of the user. Licenses you assigned manually are lost, and the default licenses are assigned again.
- When nothing changed, the synchronization leaves the licenses alone and doesn’t sign the user out.
- A user who disappears from the directory is deactivated and loses their licenses and groups.