Project

General

Profile

Actions

Bug #12515

closed

Task #12510: Android zero touch integration related bugs and improvements

WiFi configuration and mobile data configuration should not be added in the zero touch payload

Added by Arshana Atapattu about 1 month ago. Updated 16 days ago.

Status:
Closed
Priority:
Critical
Start date:
03/02/2025
Due date:
% Done:

0%

Estimated time:
Device Type:
Component:
Type:
Platform

Description

Environment details
7.0.0 Staging server

Prerequisites
Configured "zero touch customer" account [1]
Should configure zero touch in platform configuration in UEM server.
In the QR code generation section(Enroll device page -> enroll using QR) configure network as wifi and fill it there.

Steps
Click on "Bulk Enrollment Sync" button and sync with the google server.
Note the created configuration in the zero touch configuration in the google server

Description
When sync with the google server it create a configuration. In this configuration it has the WIFI configuration.
This wifi configuration or mobile data configuration should not be added in this payload.

Issue with this is, once this configuration is received by the device, it will try to search this wifi network and if this wifi was not there it will break the enrollment(stops enrolling due to search for that wifi network)
Payload [2], [3]

Fix: add these lines into here [4]
payload.remove("android.app.extra.PROVISIONING_WIFI_SSID");
payload.remove("android.app.extra.PROVISIONING_WIFI_PASSWORD");
payload.remove("android.app.extra.PROVISIONING_USE_MOBILE_DATA");

Result
[1]
https://enterprise.google.com/u/0/android/zero-touch/customers/1169539628/configurations

[3] {"android.app.extra.PROVISIONING_WIFI_SECURITY_TYPE":"WPA","android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE":{"android.app.extra.serverIp":"https://uem.gw.entgra.net:443","android.app.extra.token":"dummy_value","android.app.extra.token.expiry":360000,"android.app.extra.defaultOwner":"COPE"},"android.app.extra.PROVISIONING_WIFI_SSID":"X555","android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED":true,"android.app.extra.PROVISIONING_WIFI_PASSWORD":"dummy_value"}

[2]
[2]

[4]
[4]


Files

Actions

Also available in: Atom PDF