Bug #12515
openTask #12510: Android zero touch integration related bugs and improvements
WiFi configuration and mobile data configuration should not be added in the zero touch payload
0%
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]
[4]
Files
Updated by Arshana Atapattu 2 days ago
- Subject changed from WIFI configuration should not be added in the zero touch payload to WiFi configuration should not be added in the zero touch payload
Updated by Arshana Atapattu 2 days ago
- Subject changed from WiFi configuration should not be added in the zero touch payload to WiFi configuration and mobile data configuration should not be added in the zero touch payload
- Description updated (diff)
Updated by Arshana Atapattu about 14 hours ago
- File Screenshot 2025-02-05 at 08.35.17.png Screenshot 2025-02-05 at 08.35.17.png added
- Description updated (diff)