IT guide: managed configuration in Hexnode

General steps to push SecureContacts managed configuration from an Android policy in Hexnode. The Hexnode menus come from Hexnode's public documentation and may change. SecureContacts uses standard Android managed configurations; we have not tested it specifically with Hexnode. Pilot with 1–2 devices first.

What each key means (contacts_source, download_allowed_hosts…) and how to prepare the directory is in the general IT guide.

Before you start

1. Create the configuration in a policy

  1. Log in to your Hexnode portal and open the Policies tab.
  2. Pick an existing policy or create one with New Policy.
  3. Go to Android › App Management › App Configurations and click Configure.
  4. Choose Managed Google Play app and click Select to pick SecureContacts.
  5. On the configuration screen, depending on your console, you will see the app's keys (SecureContacts publishes 11 managed configuration keys) or you may need to add them by hand. Fill in at least these and click Done:
    • contacts_source: the HTTPS URL or the directory JSON.
    • download_allowed_hosts: the URL's domain. If left empty, URL downloads are blocked.
    • The rest can keep their defaults (see useful options).
  6. Click Save.

2. Contacts permission and targets

  1. The app does not ask the employee for the Contacts permission. Grant it from your MDM using whatever app-permission policy your console offers; without it, sync fails.
  2. Go to Policy Targets, pick your test devices, groups, users or domains and click Save.

3. Check it works

  1. On a test device, open SecureContacts. The app shows English text if the phone is set to English; older versions may show Spanish only.
  2. It should show “Company directory ready”, “Configuration applied from: MDM” and “Synced contacts: N” with the expected count.
  3. Tap “Open Contacts app” and search for a directory contact.
  4. If you see “Último error” (older versions) or “We couldn't update the directory”, check download_allowed_hosts, the URL and the Contacts permission (see troubleshooting).

When it updates

Open the app once; after that it syncs in the background (every 6 hours by default; Android may delay it) and when the user taps “Sync now”.

Protected company contacts

read_only (on by default) asks Android to stop employees editing or deleting company contacts from the Contacts app. Some OEM Contacts apps may not fully honour it. Not yet verified on a device.