Project

General

Profile

Actions

Bug #12515

closed

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

Added by Arshana Atapattu 5 months ago. Updated 4 months ago.

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

0%

Estimated time:
Device Type:
Component:
Type:
Platform
QA Start Time:
QA Due Time:
QA Estimated Time(Hours):

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 #1

Updated by Arshana Atapattu 5 months 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
Actions #2

Updated by Arshana Atapattu 5 months 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)
Actions #3

Updated by Arshana Atapattu 5 months ago

  • Assignee set to Sandaru Daminda
Actions #6

Updated by Arshana Atapattu 4 months ago

  • Status changed from QA to QA Accept

Fixes are working

Actions #7

Updated by Arshana Atapattu 4 months ago

  • Status changed from QA Accept to Closed

Closing due to QA accept

Actions #8

Updated by Rajitha Kumara 4 months ago

  • Parent task deleted (#12510)
Actions

Also available in: Atom PDF