Android for Work QR Code

Solved
M
Markus
MVS Migros Verteilzentrum Suhr AG

Hi

We want to enroll Android for Work (Andoid Enterprise) Devices with the QR Code at the initial Setup of a Device.

How can i generate the QR Code?

I found nothing in the documentation. 

For example for AirWatch it looks like this:

{
"android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME":
"com.airwatch.androidagent/com.airwatch.agent.DeviceAdministratorReceiver",

"android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM":
"6kyqxDOjgS30jvQuzh4uvHPk-0bmAD-1QU7vtW7i_o8=\n",

"android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION":
"https://awagent.com/mobileenrollment/airwatchagent.apk",
"android.app.extra.PROVISIONING_SKIP_ENCRYPTION": false,
"android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE": {
"serverurl": "Server URL",
"gid": "Group ID",
"un":"Username",
"pw":"Password"
}
}

Best regards

Markus
Edited 7 years ago
Android
ANSWERS
M
Markus
7 years ago

i found a solution. 

here you go. Just replace the "https://yourserver" with your enrollment id

{
"android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME":"net.soti.mobicontrol.androidwork/net.soti.mobicontrol.admin.DeviceAdminAdapter",
"android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM":"hn8mSNJMPcovWbnnWrb-uMpWZjNlNp-jyV_2A-Whumc=",
"android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION":"http://soti.net/apk/ae2",
"android.app.extra.PROVISIONING_SKIP_ENCRYPTION": false,
"android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE":
{
"enrollmentId":"https://yourserver"
}
}

Solution

Hi Marcus, 

Thank you for sharing this information.

EG
Edgar Gomez
7 years ago

Hello

We are very interested in this topic in order to enroll many devices as this method would greatly simplify enrollment.

Where do you get this parameter ?

android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM

When do you read this code? In the Google help  says you have to type 6 times in same spot, but I suppose this is after you configure wi-fi, is that right?

Thank you in advance

EG
Edgar Gomez
7 years ago

Well, finally I did tests with the barcode with the data you provided, only changing the MC server and it worked fine.

You have to tap 6 times in the very first screen after factory reset. It prompts to configure WiFi and then read QR code. The device requires to be encripted, and after 2-3 min. it enrolls automátically.

I would sugest that this QR could be generated by Mobicontrol Stage application, since this is great for simplifing Android Enterprise enrollment, and competion are broadly using this method.

J
JonathanG
6 years ago

Hello Markus, 

Sorry to bring back an old thread but where do we input that information to create that QR code ? 

I'm pretty sure other would benefit from this answer :).

Thank you ! 

J
JonathanG
6 years ago

Well, finally I did tests with the barcode with the data you provided, only changing the MC server and it worked fine.

You have to tap 6 times in the very first screen after factory reset. It prompts to configure WiFi and then read QR code. The device requires to be encripted, and after 2-3 min. it enrolls automátically.

I would sugest that this QR could be generated by Mobicontrol Stage application, since this is great for simplifing Android Enterprise enrollment, and competion are broadly using this method.

Hello Edgar,

Can you tell me where do you insert these instructions ? Is it in the MobicontrolStage software ? If so, in which setting.

Thank you,

JB
Josh Bradley
6 years ago
EG
Edgar Gomez
6 years ago

Hi,

I use https://barcode.tec-it.com/

However, if you use Mobicontrol Stage Programer app you only have to enter the enrollment id or enrollment url and you get the qr code in the device screen and read it from there with the other devices.

By the way, I'd like to know if it is possible to set the APN settings in this QR code. In the examples above and in Stage Programmer you only have the option of WIFI config.

Thank you.