Category filter
Android Enterprise QR code enrollment fails when WiFi configuration is added to the Enrollment profile
TL;DR
If a new Android Enterprise device fails during QR code enrollment with the message “couldn’t set up your device, for help contact your IT admin” and then restarts, check the WiFi configuration assigned through the Enrollment profile. Removing the WiFi configuration from the Enrollment profile can allow the device to complete enrollment. This issue is most likely to affect fresh Android Enterprise devices enrolled from the welcome screen by tapping the screen 6 times and scanning the Hexnode QR code.
Executive summary
Android Enterprise enrollment using QR code scanning may fail during initial device setup if the Enrollment profile contains a WiFi configuration that the device cannot use successfully. The device may process the QR code, stop setup, display “couldn’t set up your device, for help contact your IT admin”, and restart.
Before retrying enrollment, verify that enough device licenses are available and that Android enrollment is allowed under Enrollment Restrictions. If those checks pass, remove the WiFi configuration from the Enrollment profile and scan the QR code again.
Applies to
- Android Enterprise enrollment
- QR code enrollment from the Android welcome screen
- Fresh or factory-reset Android devices that have not completed setup
- Enrollment profiles that include a WiFi configuration
Symptoms
The issue may appear during Android Enterprise QR code enrollment with the following behavior:
- The device is on the Android welcome screen.
- The QR code scanner is opened by tapping the welcome screen 6 times.
- The Hexnode Android Enterprise QR code is scanned.
- The device starts processing the enrollment request.
- The setup fails with the message “couldn’t set up your device, for help contact your IT admin”.
- The device restarts after the failure.
Cause
This enrollment failure can occur when the WiFi configuration included in the Enrollment profile is no longer valid or cannot be applied successfully during device setup. For example, the configured WiFi network details may have changed, or the device may be outside the environment where that WiFi profile is expected to work.
Before you begin
- Confirm that there are enough device licenses available for enrollment.
- Confirm that Android enrollment is allowed in Admin > Enrollment > Enrollment Restrictions.
- Ensure the device is ready for Android Enterprise QR code enrollment from the welcome screen.
Fix the enrollment failure
- In the Hexnode UEM portal, go to Enroll > Android > Android Enterprise.
- Review the Android Enterprise enrollment setup and the Enrollment profile used for QR code enrollment.
- Remove the WiFi configuration from the Enrollment profile.
- Save the updated enrollment configuration.
- On the Android device, return to the welcome screen if required.
- Tap the welcome screen 6 times to open the QR code scanner.
- Scan the Android Enterprise QR code again.
- Continue with enrollment and confirm that the device completes setup successfully.
What to check after enrollment succeeds
After the device enrolls successfully, review the WiFi configuration that was removed from the Enrollment profile before adding it back. Confirm that the configured network details are still accurate and valid for the intended deployment environment.
- Check whether the WiFi network name or authentication details changed.
- Confirm that the device is expected to connect to that network during initial setup.
- Reapply the WiFi configuration only after validating that it can be used successfully during enrollment.
Troubleshooting checklist
Check available device licenses
If no device licenses are available, the device may not be able to enroll. Verify that the portal has available device licenses before retrying enrollment.
Check Android enrollment restrictions
Go to Admin > Enrollment > Enrollment Restrictions and confirm that Android is selected. If Android enrollment is not allowed, the device cannot complete enrollment.
Check the Enrollment profile WiFi configuration
If licenses are available and Android enrollment is allowed, remove the WiFi configuration from the Enrollment profile and retry QR code enrollment. A WiFi configuration that cannot be applied during setup can prevent Android Enterprise enrollment from completing.
Frequently Asked Questions
Does Android Enterprise QR code enrollment require the device to be on the office WiFi network?
Not necessarily. The network itself is not expected to be a problem as long as the device has working internet access and the enrollment configuration can be applied. However, a WiFi configuration included in the Enrollment profile can cause setup to fail if the device cannot use that configuration successfully.
Why can’t the WiFi settings be changed directly on the Android device before enrollment?
When the device is fresh out of the box or factory reset, it may still be on the welcome screen and may not provide access to normal Android settings. In that state, QR code enrollment settings must be corrected from the Hexnode enrollment configuration.
What should be done if enrollment works after removing the WiFi configuration?
Review the WiFi configuration before using it again. Confirm that the network details are current and that the device can connect to that network during initial setup.