How to enroll a device in "DO Enrollment"
Reminder: Have you setup and prepared for device enrollment?
Visit the preparation for enrollment page to double check
Enrolling a Device in DO Mode
For each of your mobile devices to be associated with your FocusMDM workspace, you need to have the devices to physically complete the DO enrollment.
There are 2 options:
Use a QR Code
Use the DPC identifier
Note
Enrolling a device where the FocusMDM is the Device Owner of the device only works for devices with Android 6.0 or higher.
To enroll as DO using the QR Code, the device must be Android 7.0 or higher. Using the DPC identifier is the option for devices running Android 6.0
Using QR Code for enrollment: In-use devices (need a factory reset)
Turn on the device
Go to Settings > System > Reset Options > Erase all data (factory reset)
And then follow the rest of the steps below from step 2
Using QR Code for enrollment: Fresh out the box (never been used nor setup) devices
Turn on the device
NOTE: You will not go through all the setup
On the the first set-up screen (after Android has started up), tap on the first screen 6 times
Connect to Wi-Fi, the click "NEXT" button (if have Wi-Fi, else use data on device)
Either the camera screen is open and ready to scan QR-Code, or it will need to install a QR reader. (For Android 8.0, you'll be prompted to install a QR reader. Devices running Android 9 and later are pre-installed with a QR reader.)
Scan the QR-Code from https://focus.dimagi.com/a/enroll/do
Click "Setup and Continue" button
Once the device finishes its setup, find the FocusMDM icon
Open FocusMDM, then fill in device name and device phone number
Click "ENROLL" button (Expected result: FocusMDM will flash successful enrollment message, then it shows the "SETUP" button)
Click "minimize" button
Click "SETUP" in FocusMDM Screen
Grant ALL the permissions for the FocusMDM app
This will show the list of permissions that must all be turned on for the FocusMDM App to work
Grant all permissions by toggling each one to on
You are now finished enrolling the device with FocusMDM
Finish
Use DPC Identifier to Enroll in DO Mode
This is another method to enroll your devices if you cant read a QR Code or its easier to type in an identifier.
NOTE: When using this DPC token based provisioning method, the encryption is not required and system applications are removed from the device.
1) First Enroll the device
Turn on the device
Start performing a normal setup of a reset device
Your device will do some checking and you will need to setup Wi-Fi
When prompted to sign in with a Google Account, instead of using a Google email or a phone number , use the DPC identifier afw#dimagi
The device will then indicate you are setting up Android workspace
Then install the FocusMDM app as the Device Owner for mobile device management
The message from FocusMDM is "This account requires mobile device management. Install the FocusMDM app to enforce security polices required by the account."
Press the "INSTALL" button
The device will ask you to confirm the Install of FocusMDM, Again press "Install"
It will download the FocusMDM from the App Store
Open FocusMDM app, then fill in device name and phone number
One of the required fields for enrollment form is workspace id. Your workspace id can be found at https://focus.dimagi.com/a/enroll/do
Also fill in the device Owner name and Owner email although these are optional
Click "ENROLL" button and FocusMDM will flash successful enrollment message
You will be asked to "Accept" the Google terms
Then FocusMDM will open
In the FocusMDM App, the privacy policy must be read all the way to the end and the "I Agree" button pressed.
Then you will be asked to turn on permissions in the Setup screen
Setup ALL the permissions for the FocusMDM app
This will show the list of permissions requested that must all be turned on for the FocusMDM App to work
Grant all permissions by toggling each one to on
You are now finished enrolling the device with FocusMDM