How sync works

The IT administrator decides when directory contacts reach phones and knows when they are removed.

When contacts are updated

RingSync receives no notification from the directory. A change made in Entra ID or Google Workspace therefore reaches each phone at its next sync.

On demand

The employee taps Sync on a directory card. This sync is always available, whatever the administrator has set. See Sync on demand.

Automatically

The administrator sets automatic sync for each directory under Settings → Sync tab → Periodic sync:

SettingEffectDefault
Sync frequencyEvery hour, Every day or Every week.Every day
Allow users to change their syncOn: users pick their own frequency in the app. Off: the frequency is enforced, and users can neither change it nor turn off automatic sync.On
Allow user-side deactivationOn: users can turn off automatic sync of this directory. No effect if the previous setting is off.On

In the app, these choices are on the directory's page, opened by tapping its card: Automatic updates and Frequency. An enforced setting is greyed out, with "Locked by your administrator" under the switch or "Frequency locked by your administrator" above the frequency.

Automatic sync runs in the background, without the employee opening the app. It only syncs the directories whose last sync on this phone is older than the chosen interval. Three mechanisms trigger it:

  • a notification from the RingSync server, the normal case: every 15 minutes, the server sends a silent notification to the phones that have a directory due, and the app syncs in the background, even when closed;
  • the phone's background task, as a safety net: the system picks the moment, mostly during idle periods such as overnight on iPhone;
  • opening the app and each return to the foreground, as a safety net.

The frequency is a target, not a guaranteed time: the system can delay syncs (low power mode, background refresh turned off). An app force-quit on iPhone, or force-stopped on Android, no longer syncs until it is opened again. If notifications are turned off for RingSync, only the background task and opening the app remain.

Each phone follows its own schedule, based on its last sync. In Users, open a person: the Trigger column of the Syncs tab shows Manual or Scheduled. See also Automatic sync.

What is removed from phones

  • Deleted or disabled account in the directory (disabled in Entra, suspended in Google): the contact is removed from each phone at its next sync.
  • Person who no longer meets the rules (became a guest, has neither an email nor a phone number, has no first or last name): the contact is removed. See Synced information.
  • Person who left the scope (left a group, or the group is excluded): the contact is removed at the next sync. With Microsoft on The whole directory, an exclusion changed after the fact applies to people already on a phone only at that phone's next full sync. See Select and exclude groups.
An empty list deletes nothing

If the directory returns an empty full list while the phone holds contacts from that directory, the sync fails instead of deleting everything. On the phone, the directory's card shows Sync failed. In the dashboard, the Failed syncs card shows “The directory returned an empty list: nothing was removed from the phone” for the person.

Access removal and purge

A purge removes all of a directory's contacts from a phone, and only those: the contacts of other directories stay. It is triggered when:

  • the person's access is removed, that is, their assignment is removed in Entra ID or they leave the scope chosen in Directory access for Google. RingSync detects this within 15 minutes, or right away with Read now (Users page, Directory access block);
  • the directory is deleted;
  • a directory share is stopped, or the person loses their access to the receiving directory (see Share a directory across subsidiaries).

For an access removal, RingSync also sends a notification to each of the person's phones. The phone handles it in the background, even when the app is closed: the purge usually happens shortly after. In every case, the purge happens at the latest the next time the app is opened.

After a purge, the app shows the "… was removed" screen the next time the list of directories is on screen. It gives the number of contacts deleted from this phone and says the other contacts have not changed.

Each phone confirms the purge. You can follow it in Users, by opening the person, in the Phones section: Purge pending, Purge confirmed or Nothing to purge. Details: Security and data.

Plan limits and subscription

  • Contact limit reached: RingSync refuses to start a sync, and no further contact is imported. See Users and limits and Pricing.
  • Suspended subscription (trial expired, unpaid invoice): RingSync refuses syncs.

Alerts

Organization owners and administrators receive an email, unless they turned off Receive operational alerts in their profile, in these cases:

  • Directory unreachable: RingSync has been unable to read the directory for 24 hours;
  • Sync failing: every sync of the last three days failed, or the latest one failed for a reason that needs action;
  • Client secret expiring soon: the Entra secret of a manual connection expires in less than 30 days.

The Directory connection card in the dashboard gives the cause and the action to take. If a sync shows zero contacts, see Sync shows zero contacts.

Technical details

The RingSync relay

The app never contacts the directory directly. Every sync goes through RingSync:

  1. The app opens a sync with RingSync.
  2. RingSync queries the directory from its servers (Microsoft Graph or Google's Admin SDK Directory), with its own credentials and read-only.
  3. RingSync passes the records to the phone, page by page, without storing them.
  4. The app writes the contacts to the phone, attached to that directory.
  5. The app sends the report (additions, updates, removals, refusals), then closes the sync. Logs keep one row for it, and the details of the contacts removed or refused.

Full or incremental read

Directory and scopeWhat is read at each sync
Microsoft, The whole directoryThe first time, the whole directory. After that, only the changes since this phone's last sync.
Microsoft, Specific groupsThe full list of members, every time.
Google Workspace, any scopeThe full list, every time: the Google API has no incremental read.

When the list is complete, the phone removes the people it holds that are no longer in it.

Incremental sync cursor

The cursor (Microsoft) belongs to the phone: it is kept on the device, never on RingSync's servers. It is used only if the phone already holds contacts from that directory. A full sync, with removal of people who left, is redone in these cases:

  • the phone holds no contact from that directory: first install, reinstall, reset phone, or after Delete this directory’s contacts or Delete all RingSync contacts;
  • Microsoft declared the cursor expired, which can happen after several days without a sync: RingSync then starts again from scratch;
  • the user tapped Sync everything again, on the directory's page;
  • the scope changed from Specific groups to The whole directory, or the other way round.

If a contact could not be written to the phone, the cursor does not advance: the next sync replays the same changes.

Pagination and limits

  • Microsoft: up to 999 users per page. On The whole directory, RingSync passes the pages to the phone one by one.
  • Google: RingSync reads the directory in pages of 500 users, then passes the full list.
  • Reading the members of a group is interrupted after 60 seconds.
  • The phone stops after 200 pages, as a safeguard. The sync fails: the card shows Sync failed, and the Failed syncs card shows “Directory too large for a single read” for the person. Sync everything again starts over from a full read.
  • On a phone, only one operation runs at a time per directory: a sync started during another one joins it, and a purge waits for the current sync to finish.

Other cases

CaseBehavior
Photo unavailableThe contact is created without a photo, with no error. See Synced information.
Network loss during the syncThe sync is marked as failed. The user taps Try again, or the next automatic sync resumes.
Entra guest accountAlways ignored.
Several phones for one personEach phone has its own sync, its own cursor and its own status.
Was this page useful?
Report what is missing →