Android Device Enrollment as Fully Managed using QR Code
Prerequisites
- Server has to be downloaded and started.
- Must have been logged on to the server's Device Management Portal.
- Installing Entgra Agent section should have been followed.
- Optionally, Basic Concepts of Android Device Management will be beneficial as well.
- When enrolling a device using QR Code, the the Platform Configurations for an Android device should have been first set.
Steps
- Open the Entgra Agent application.
- Click Continue after reading the Disclaimer that appears.
- In the screen that follows, click Enroll with QR Code.
- In the server, select device ownership as COPE.
- Scan QR code that is generated on the server.
- The enrollment will be on hold until user enables the device owner:
- Enter the following command in the terminal or on the console to enable device owner.
adb shell dpm set-device-owner io.entgra.iot.agent/org.wso2 .iot.agent.services.AgentDeviceAdminReceiver - Click Agree in the screen that appears, if you agree to and accept the licence.