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 button Add Configuration.

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

To automatically name users by date: 2024-02-04_1, 2024-02-04_2, 2024-02-04_3 …

{
"android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE": {"enrollmentId": "XXXXXXXXXXXXXXXX", "prefixType": "DATE"}
}
DEVICE_ID

To automatically name users by the device ID of the device associated to them.

{
"android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE": {"enrollmentId": "XXXXXXXXXXXXXXXX", "prefixType": "DEVICE_ID"}
}
SERIAL_NUMBER

To automatically name users by the serial number of the device associated to them.

{
"android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE": {"enrollmentId": "XXXXXXXXXXXXXXXX", "prefixType": "SERIAL_NUMBER"}
}
IMEI

To automatically name users by the IMEI of the device associated to them.

{
"android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE": {"enrollmentId": "XXXXXXXXXXXXXXXX", "prefixType": "IMEI"}
}
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 234234579). You can select the configuration to be the Default configuration at the top, 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!