Forum Discussion
Edit Intune QR Code to include wifi and Cellular Data
- 2 years ago
Thanks everyone I appreciate your help in figuring out the issue. after our discussion I started focusing on Notepad++ QR plugin. It appeared to be an issue with the plugin, after writing the .json , we have to select it and hit the QR plugin to generate the QR . While selecting the code it was removing the last letter which happened to be this '}' . I had to select few empty lines and then it picked the character and created the QR and wallah!!! it worked.
My overall solution to edit the intune QR CODE is as follows:
1. Export the json from intune or simply try google lens and scan to get the script.
2. Edit as per requirement like wifi and cellular data.
3 Use notepad++ plugin to generate the QR code as I mentioned above.
This way i don't have to expose the script to any online untrusted website.
Your QR code is invalid due to the "qrCodeContent", and the expiration line. Here's a version which should work for you -
{
"android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME": "com.google.android.apps.work.clouddpc/.receivers.CloudDeviceAdminReceiver",
"android.app.extra.PROVISIONING_DEVICE_ADMIN_SIGNATURE_CHECKSUM": "XXXXX",
"android.app.extra.PROVISIONING_DEVICE_ADMIN_PACKAGE_DOWNLOAD_LOCATION": "https://play.google.com/managed/downloadManagingApp?identifier=setup",
"android.app.extra.PROVISIONING_WIFI_PASSWORD": "XXX",
"android.app.extra.PROVISIONING_WIFI_SECURITY_TYPE": "WPA",
"android.app.extra.PROVISIONING_WIFI_SSID": "FlatNetwork",
"android.app.extra.PROVISIONING_ADMIN_EXTRAS_BUNDLE": {
"com.google.android.apps.work.clouddpc.EXTRA_ENROLLMENT_TOKEN": "XXXXX"
}
}
NB, I haven't tested it since it's full of dummy data 🙂
Moombas there's no such thing as a zero-touch QR. Same payload, different format. ZT only needs the DPC Extras and not the rest of the above 🙂
Thanks for the response Jason, i had earlier tried it without the qrcontent and expiration date but it gives the same error.
Related Content
- 2 years ago