Skip to content

Instantly share code, notes, and snippets.

@bashenk
Last active May 13, 2026 14:32
Show Gist options
  • Select an option

  • Save bashenk/58c6dd883b177ee6e6ed1c533f3e8066 to your computer and use it in GitHub Desktop.

Select an option

Save bashenk/58c6dd883b177ee6e6ed1c533f3e8066 to your computer and use it in GitHub Desktop.
Creating a QR Code for Android Device Enrollment

Creating a QR Code for Android Device Enrollment

Android Enterprise Documentation: Create a QR code

Always required

Required if a DPC isn't already installed on the device

Recommended if the device isn't already connected to Wi-Fi

Optional


EMM Provisioning

Android Zero-Touch Enrollment EMM Provisioning Guide

πŸ‘ EMM Recommended

Use the following intent extras to set up your DPC

πŸ‘Ž EMM Not recommended

Don't include the following extras that you might use in other enrollment methods


Additional references

@LAKSHAYNE
Copy link
Copy Markdown

I dont think you can qr provision now . That now requires you to be a google parter or something for emm.

@Nickztar
Copy link
Copy Markdown

It does work, but it is super annoying to figure out why it doesnt work.

@saifikram969 I think your issue is android.app.extra.PROVISIONING_DEVICE_ADMIN_COMPONENT_NAME. It for some reason needs to include the full name so yours would be: com.example.testemmjc/com.example.testemmjc.MyDeviceAdminReceiver

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment