Category Filter

How to periodically sync Android devices?

A device can be synced with Hexnode either automatically at periodic intervals or manually by the owner of the device. The sync device action forces the device to check-in with the MDM server. When the device checks in all the pending actions and policies associated are synchronized with the MDM app on the device. Frequently synchronizing the device with the MDM console helps to reduce the waiting time for the policy and action association. The scheduled automatic sync is initiated from the MDM portal, whereas the manual sync has to be initiated from the device.

Sync Device Automatically

Note:


Supported only on Android devices.


Periodic syncing of Android devices can be enforced either via the Hexnode Admin settings or via a policy. The sync configuration set up via the Admin settings is applicable for all the deployed Android devices, whereas the configurations set up via the policy will only be associated with the selected set of devices.
Notes:

  • Suppose you have associated a periodic sync policy with a device apart from the periodic sync configuration (common to all Android devices) under the Hexnode admin settings. In that case, the policy will be given priority, and the device will be synced with Hexnode as per the policy configurations and not based on the admin settings.
  • Suppose more than one periodic sync policy with different configurations is pushed to the same device. In that case, the most restrictive policy will take effect, that is, periodic sync will be handled as a foreground service.


To automatically sync your Android device at periodic intervals of time,

Method 1: Set up Policy

  1. On your Hexnode MDM console, navigate to Policies.
  2. Create a new policy by clicking New Policy or select an existing one. If you are creating a new policy, provide a suitable policy name and description.
  3. Head on to Android > Periodic Sync and click on Configure.
  4. Select either Background service or Foreground service as the Periodic sync behavior.
  5. Go to Policy Targets and associate the policies with the required Android devices, users, groups, or domains.
  6. Click on Save.

Method 2: Configure Hexnode Admin Settings

  1. Login to your Hexnode MDM console.
  2. Go to Admin > General Settings.
  3. Scroll down to Periodic Sync (Android).
  4. Set the Periodic sync behavior as either as Background service or Foreground service.
  5. Click on Save.

Background service

If the battery saver or data saver modes are enabled on the device, running periodic sync as a background service will not synchronize the Android devices with the Hexnode server. This disrupts the association of actions and policies pushed via Hexnode.

Foreground service

Running the periodic sync as a foreground service resolves disruptions in the policy and action association. It ensures the synchronization of Android devices with Hexnode servers at all times, even if the battery saver and data saver modes are enabled on the device. But this does come with higher battery consumption and a non-dismissible notification on the device.

It is recommended to set the periodic sync as a foreground service and is enabled by default.

Note:


If you run periodic sync as a background service, some devices may not respond to the Hexnode server if kept idle for too long. This blocks actions and policies from reaching the device. The admin can eliminate this by switching the sync to foreground service. But this might require manually rebooting the device since the device does not respond to the Hexnode server.

Sync devices Manually

Notes:

  • Supported on Android, iOS, macOS, and Windows devices.
  • On Windows devices, the sync button is available on the Hexnode Notifications app installed on the device.


Users can manually initiate a sync action from the Hexnode MDM/Hexnode For Work/Hexnode Notifications app installed on the devices by clicking on the sync button. This would send all the device and network-related information to the Hexnode portal.
Device sync in Hexnode MDM