Intune Enrollment QR Code - Two connection types
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 05:52 AM
Hi, all
I'm trying to modify our original enrollment token (Intune - Fully Managed Device QR Code) so that the device can enroll using mobile data OR any wifi network.
I managed to add this to an existing QR code
android.app.extra.PROVISIONING_USE_MOBILE_DATA":true,
Unfortunately, using such a QR code on a phone that does not have mobile data transmission means that the enrollment process no longer asks for the WIFI network and ends in failure.
To sum up, I want to create an enrollment code that works as follows:
1. Allow enrollment using mobile data.
2. If mobile data does not work - ask for any WIFI.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 06:02 AM
We used it i the past without issues even for the case you mentioned.
No SIM inserted, so got asked for Wifi credentials.
You could also (if possible because always same wifi) provide the Wifi credentials at the same time so it uses what it gets.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 10:30 PM
Situation you discribed also works for me - (with original Intune QR code.)
Other way around, when code is modyfied to use mobile data, enrollment process never asked for wifi network.
So my concern is how to remodel QR code to use ANY accessible network
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-23-2024 10:54 PM
No, as i said, we used QR codes always with android.app.extra.PROVISIONING_USE_MOBILE_DATA":true, in it and it always worked. With and without SIM inserted. For sure if there's a SIM inserted you won't be asked for a Wifi but i think that's not your issue as i understood it.
But we also don't use intune but another MDM but i also think this is not MDM related in your case.
Example QR:
{"qrCodeContent":
{"android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM":"I5YvS0O5hXY46mb01BlRjq4oJJGs2kuUcHvVkAPEXlg",
"android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME":"com.google.android.apps.work.cloudpc/.receivers.CloudDeviceAdminReceiver",
"android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION":"https://play.google.com/managed/downloadManagingApp?identifier=setup",
"android.app.extra.PROVISIONING_WIFI_SSID":"SSID",
"android.app.extra.PROVISIONING_WIFI_SECURITY_TYPE":"WPA",
"android.app.extra.PROVISIONING_WIFI_PASSWORD":"Password",
"android.app.extra.PROVISIONING_USE_MOBILE_DATA":true,
"android.app.extra.PROVISIONING_SKIP_ENCRYPTION":true,
"android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE":
{"com.google.android.apps.work.clouddpc.EXTRA_ENROLLMENT_TOKEN":"YourToken",
"PROVISIONING_MODE":"FULLY_MANAGED_DEVICE"}
},
"expirationDate": "2025-12-31T18:29:59.920206Z"}
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 12:22 AM
Thanks for explanation. Yep, you understood me correctly.
We are using only android.app.extra.PROVISIONING_USE_MOBILE_DATA":true, without any WiFi network defined.
Must check again, but my last test result was: enrollment stuck on searching for cellular network.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-24-2024 12:36 AM
Have you tried with a different model / manufacturer to sort out a device issue?
It can be that the OEM of your device acts different than expected.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
2 weeks ago
Did you find a way to fix this?
(or is the only way to have 2 separate QR codes, 1 for WiFi and 1 for mobile data)
- Automatically Skip Google Account during Zero Touch Enrollment with Intune? in Admin discussions
- Zebra HC50, HC20, TC21 - Zero-Touch enrollment isn't available. Check your internet connection and try again in Admin discussions
- Microsoft Intune bind - Something went wrong - Your account wasn't created in Admin discussions
- DPC Extras true/false entries not taken effect in Admin discussions
- Recovering or merging Playstore Managed account in Admin discussions