Why enrollment by afw#mobicontrol and QR code gives different results ?

Solved Locked
A
Arnaud
PAPIN MANAGEMENT

Hello,

I use afw#mobicontrol for enrollment on Samsung device with Entreprise Android and reactivate only few samsung App.

I have a lot of new device to enroll, using the QR code of Stage programmer looked good but when i use a QR code i obtain a different result, the device keep all core app.

There is a way for enrollment with QR code give same result than afw#mobicontrol ?

Thanks.

4 years ago
Android
ANSWERS
J
JCMOD@SOTI Platinum Contributor
4 years ago

Hello Arnaud,

Thank you for posting in SOTI Central.

To enroll under Android Enterprise through QR Code, you can follow the below instructions:

Step 1 – Download https://play.google.com/store/apps/details?id=net.soti.mobicontrol.programmer on a Staging Device
Step 2 – Navigate to \Android\data\net.soti.mobicontrol.programmer\files\nfcprovisioning.txt on the staging device
Step 3 – Input this into the file and save:

android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_NAME=net.soti.mobicontrol.androidwork
android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION=https://downloads.soti.net/apk/AEAgent/GoogleMobiControl1443_1074.apk
android.app.extra.PROVISIONING_LEAVE_ALL_SYSTEM_APPS_ENABLED=false
android.app.extra.PROVISIONING_RESET_PROTECTION_PARAMETERS=true
android.app.extra.PROVISIONING_SKIP_ENCRYPTION=false

Step 4 - Kill the Stage Programmer app (swipe it on the recents menu), to make sure it reads the new configuration from nfcprovisioning.txt.
Step 5 – Re-open the app and input your enrollment ID (Wifi credentials are optional), then generate the QR Code.
Step 6 - The device that you want to enroll to MobiControl needs to be on the startup wizard (factory reset)
Step 7 - Tap 6 times in the same spot on the setup wizard screen to bring up the QR code scanner and scan the helper phone's QR code.

If the DOWNLOAD_LOCATION row is unclear, you append https://downloads.soti.net/apk/AEAgent/GoogleMobiControl1443_1074.apk to it for example.

If this post resolves your issue, please mark this post as the solution. Also feel free to reach out if you have any questions or need clarification.

Regards,

Solution
RC
Raymond Chan Diamond Contributor
4 years ago (edited 4 years ago)

Hi Arnaud,

Basically, if you download and install Soti Stage programmer app from Google, there is no custom configuration file included and using it to enroll a device will have the same result as using afw#mobicontrol hashtag approach.

If you need customization different from the default, you add/edit your custom configuration file at  \Android\data\net.soti.mobicontrol.programmer\files\nfcprovisioning.txt  as mentioned by JCMOD.

A
Arnaud
4 years ago

Thank you, it works perfectly.