Zetect Admin Guide Back to zetect.inSwitch portal ⇄

Running Source Syncs

A sync reads an identity source through the agent and brings its changes into Zetect: new people, changed details, leavers and group memberships. Run a sync by hand, schedule it, follow each run's results, and review group removals that the safeguard held back.

Prerequisite

A source with its connection and attribute mapping set up. See Configuring Identity Sources.

Required permission

Identity → Identity Sources – View in an administrator group.

Running a sync now

To run a sync now:

  1. Go to Identity → Identity Sources and open the source.
  2. Select Run Now at the top of the page.

The status bar shows Sync in progress while the agent reads the source. When the run finishes, it appears in the run history in Sync with the trigger Manual. If the sync can't start, a message appears under the status bar.

Scheduling syncs

Joiners, movers and leavers only reach Zetect when the source is read, so the schedule decides how quickly changes take effect. With a daily sync, a departure can take up to a day to remove access. Group import runs as part of the same sync.

Schedule section of an identity source

To schedule syncs:

  1. Open the source and select Schedule.
  2. Turn on Enable scheduled sync in the card header.
  3. Select a preset, or type a Cron Expression.
  4. Enter the Timezone the schedule runs in.
  5. Select Save Schedule, or Discard to undo your changes.
FieldDescription
Enable scheduled syncOn: identities are imported automatically on the cron schedule. Off: syncs run only when someone selects Run Now.
Cron ExpressionA cron expression in the same form as the presets, for example 0 2 * * * for 02:00 every day.
PresetsEvery hour, Every 6 hours, Daily at 2 AM or Weekly (Mon) (02:00 on Mondays).
TimezoneThe timezone the cron expression is read in, such as UTC or Asia/Kolkata.
Last run / Next runWhen the schedule last started a sync and when it starts the next one.

For example, to sync twice a day at 06:00 and 18:00 India time, turn on Enable scheduled sync, enter 0 6,18 * * * and set Timezone to Asia/Kolkata.

Reviewing sync results

The Sync section shows how the source's syncs are going and a record of every run.

Sync section of an identity source

To review sync results:

  1. Open the source and select Sync. This is the section the page opens on.
  2. Read the three tiles: Last sync, Next sync and Records read. If the last sync failed, a red notice shows the error.
  3. Review the run history, and look into any Partial or Failed run.
FieldDescription
Last syncHow long ago the last real sync started, or Not synced yet. Previews don't count.
Next syncWhen the schedule runs next, or Not scheduled if syncs only run by hand.
Records readHow many records the last sync read, with its status.
StartedWhen the run began.
ResultsPeople created, updated, suspended and deleted, and errors, or No changes. A run error message appears under the counts.
GroupsGroups created, taken over, updated and removed, member additions and removals, name conflicts skipped and removals held. Shows Group import off when the source doesn't import groups, and Preview only — no changes for a preview.
Triggered ByManual, Scheduled or Preview.
DurationHow long the run took, in seconds.
StatusThe run status. See Sync run statuses.

The same run outcomes, across every source, are in the Identity Sync History report. See Running Reports.

Reviewing held removals

When a sync would remove more than the safeguard's share of synced group memberships, Zetect adds the new memberships but holds the removals. The run ends Partial, and a yellow banner in Sync explains why. The safeguard's threshold is set in the source's Groups section. See Importing Source Groups.

To review held removals:

  1. Open the source and select Sync.
  2. In the yellow banner, select Review removals. Each held change is listed: a member to remove, or a whole group that has left the source.
  3. Decide what to do:
    • Apply removals – removes those memberships now and runs the provisioning policies again for the affected people, so access they no longer qualify for is revoked.
    • Discard – removes nothing. If the source still lacks those memberships, the next sync holds them again, so fix the source first.
  4. Confirm.

A newer sync replaces held removals that haven't been dealt with. The run history then shows them as replaced by a newer sync.

Troubleshooting

  • The run is Failed. Read the error in the red notice and under the run's counts. Common causes are an offline agent, a connector name that doesn't match the agent, or wrong connection details.
  • The run is Partial with errors. Some records failed. Records with no identifier value, and new people beyond your licensed number of users, are counted as errors.
  • Attribute changes didn't change anyone's access. A sync re-runs the provisioning policies only when it makes a person inactive or changes their source groups. Use Process Identity on the person. See Processing an identity.