IT guide: managed configuration in Microsoft Intune
General steps to push SecureContacts managed configuration from Microsoft Intune. The Microsoft Intune menus come from Microsoft's public documentation and may change. SecureContacts uses standard Android managed configurations; we have not tested it specifically with Microsoft Intune. 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
- According to Microsoft, Intune app configuration policies apply to Managed Google Play apps on managed Android Enterprise devices.
- SecureContacts (com.adrimg.securecontacts) added as a Managed Google Play app in Intune.
- Your directory ready (HTTPS URL or JSON), as described in the IT guide.
1. Create the app configuration policy
- Sign in to the Microsoft Intune admin center.
- Go to Apps › Configuration › Create › Managed devices.
- On Basics, enter a name and choose Android Enterprise & AOSP as the platform.
- Next to Targeted app, click Select app, choose SecureContacts and click OK. Then Next.
- On Settings, under Configuration settings format, choose Use configuration designer if Intune shows SecureContacts' keys (it reads them from the schema the app publishes on Google Play). If they don't appear, choose Enter JSON data, click Download JSON template and fill in the values. SecureContacts publishes 11 managed configuration keys: contacts_source, contacts_format, download_allowed_hosts, https_only, block_private_ips, source_sha256, account_display_name, status_message, read_only, wipe_on_remove, sync_frequency_hours. Fill in at least these and click Next:
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).
- Continue to Assignments (see step 2) and finish with Review + create › Create.
2. Contacts permission and targets
- The app does not ask the employee for the Contacts permission. Grant it from your MDM; without it, sync fails. According to Microsoft's documentation, you can do this in the same policy under Settings › Permissions › Add, choosing the Contacts permission and the Auto grant state (Microsoft documentation).
- On Assignments, next to Assign to, choose Add groups with your test groups.
3. Check it works
- On a test device, open SecureContacts. The app shows English text if the phone is set to English; older versions may show Spanish only.
- It should show “Company directory ready”, “Configuration applied from: MDM” and “Synced contacts: N” with the expected count.
- Tap “Open Contacts app” and search for a directory contact.
- 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”.
Company contacts in their own account
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.
Device types in Intune
SecureContacts complements Intune: it does not replace it. You publish the directory in the app's managed configuration, as in the steps above.
According to Microsoft's documentation (What's new in Intune, service release 2611, and the Intune team blog), the “Require users to authenticate with a Google Workspace account” policy is configured in the settings catalog (Device restrictions › Users and Accounts) on corporate-owned devices, and with a device configuration template on personally owned devices with a work profile; it is not an app configuration policy setting. That Intune policy asks the user for a Google Workspace account from the organisation; it does not change the Microsoft Entra account associated with the device. Microsoft documents it for corporate-owned fully managed devices, corporate-owned devices with a work profile and, from 2611, personally owned (BYOD) devices with a work profile managed through the Android Management API. Microsoft states it is not available for dedicated devices, because they are not associated with an individual user.
We have not tested SecureContacts in Intune or on those device types. Our own tests were in a lab work profile (TestDPC), with no Intune console and no Google account in the profile. An attempt to install the app from Play in a work profile with a test account was stopped before we could measure the app. Until we have checked it, we do not claim how it behaves with a required Workspace account, or on fully managed phones, or on dedicated devices. We set this out on Tested on.