Setup ZTE (Zero Touch Enrollment)

Zero-touch enrollment is a streamlined process for Android devices. On first boot, devices automatically check if they have received a specific configuration assignment and download the correct device policy controller app (here TinyMDM), which then completes setup on managed device.

Login to your TinyMDM admin account (or create one). If it’s not already done, follow the first steps of the quick start (register your business and setup your policies).

In the Devices tab, you can see a list of all zero touch devices you bought from your active ZTE reseller.

In the Resellers tab, you can see who is your active reseller and activate/deactivate the resellers from whom your organization purchases devices.

To create a configuration, click on the +.

Then, in the popup, name your configuration and choose TinyMDM from the EMM DPC list.

 In the field DPC extras, enter the following (you must replace the enrollmentId by the id of the policy you want to enroll the devices into):

{
“android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE”: {“enrollmentId”: “XXXXXXXXXXXXXXXX”}
}

Additional ZTE specs: if you want users to have a particular name in your TinyMDM dashboard, you can add a “prefixType” in the DPC extras. The “prefixType” can be DATEDEVICE_IDSERIAL_NUMBERIMEI or CUSTOM. See below:

DATE

Enter the following:
{
“android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE”: {“enrollmentId”: “XXXXXXXXXXXXXXXX”, “prefixType”: “DATE”}
}
Users will automatically be named 2020-02-04_1, 2020-02-04_2, 2020-02-04_3 …

DEVICE_ID

Enter the following:

{
“android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE”: {“enrollmentId”: “XXXXXXXXXXXXXXXX”, “prefixType”: “DEVICE_ID”}
}

Users will automatically be named with the device ID of the device associated to them.

SERIAL_NUMBER

Enter the following:

{
“android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE”: {“enrollmentId”: “XXXXXXXXXXXXXXXX”, “prefixType”: “SERIAL_NUMBER”}
}

Users will automatically be named with the serial number of the device associated to them.

IMEI

Enter the following:

{
“android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE”: {“enrollmentId”: “XXXXXXXXXXXXXXXX”, “prefixType”: “IMEI”}
}

Users will automatically be named with the IMEI of the device associated to them.

CUSTOM

If you choose CUSTOM, you must add a customPrefix.

{
“android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE”: {“enrollmentId”: “XXXXXXXXXXXXXXXX”, “prefixType”: “CUSTOM”, “customPrefix” : “YourOwnCustomPrefix”}
}

Users will automatically be named YourOwnCustomPrefix_1YourOwnCustomPrefix_2YourOwnCustomPrefix_3 …

The new configuration will appear in your configurations list: in the first column, you can see the ID of the configuration (here 814341143). You can select the configuration and click on Apply to apply it on any new device by default. Note: in most cases, you only need one configuration as it is only to link TinyMDM to all your devices (you must use your TinyMDM dashboard to assign different policies to different users).

To apply your configuration with TinyMDM as EMM solution to a device, go back to the Devices tab. From here, you can do it manually by selecting the configuration and confirm the update (see screenshot below). But, if you have a lot of devices, you can also do it with a csv file (see next step).

To apply your configuration with TinyMDM as EMM solution to all devices by batch, click on the menu at the top right of the devices and click on Upload batch configurations. From here you can download an example of CSV and prepare your own.To apply your configuration with TinyMDM as EMM solution to all devices by batch, click on the menu at the top right of the devices and click on Upload batch configurations. From here you can download an example of CSV and prepare your own.

The csv must be in the format modemtype,modemid,manufacturer,profiletype,profileid (see example below). Don’t forget to save your file in .csv (with a comma as separator) before uploading it on your ZTE web portal. Done!

Devices are managed straight out of the box: on first boot, they check to see if they’ve been assigned a specific configuration, download the correct device policy controller app (TinyMDM), which then completes setup of the managed device. See the steps below!