Already a NinjaOne customer? Log in to view more guides and the latest updates.

MDM: Adding an Android Mobile Device to NinjaOne

Topic

This article describes how to enroll personally owned and company-owned Android devices in NinjaOne Mobile Device Management (MDM).

Environment

  • NinjaOne Mobile Device Management (MDM)
  • Android

Description

You can enroll an Android device in NinjaOne MDM with one of three workflows, depending on the usage type that you select and who owns the device: personally owned, company-owned with personal usage allowed (COPE), or company-owned with no personal usage allowed. In each workflow, you generate an enrollment QR code in NinjaOne and then complete setup on the physical device.

Select a topic to continue:

Important Considerations

Review the following information before you add an Android device:

  • The minimum Android OS version supported for MDM is 8.0.
  • The NinjaOne platform installs the NinjaOne MDM app on all Android devices as part of enrollment. This installation gives the app the permissions it needs when the geolocation feature (beta) is activated. After the app installs, location tracking follows the policy settings. End users do not need to take any action other than installing their company apps when prompted during device enrollment. Refer to NinjaOne MDM: The NinjaOne MDM Mobile Application for more information.
  • Enrollment does not automatically include system apps. Some manufacturers include a gallery app as a system app, and that app may not be available on the device after enrollment. To make photos viewable, use one of the following methods:
    • Modify the enrollment QR code so that all system apps are available on the device. For more information about enrollment profiles, refer to NinjaOne MDM: Android Enrollment Profiles.
    • Deploy an alternative app, such as Google Photos or Gallery Go, at the organization level through Google Play.
  • The enrollment token has no expiration date and can be reused with different devices.

Android Usage Types

Device usage defines whether the device is used for both personal and work purposes or for work only. Company-owned devices can be fully managed, which enables actions such as full device wipes and reboots. These actions are not possible for personally owned devices.

When you add a mobile device to NinjaOne, you select one of the following usage types, also called enrollment types:

End User Device - Allow Personal Usage

Use this type for a personally owned device or for a company-owned, personally enabled (COPE) device. The details depend on who owns the device:

  • Personally owned device: This device is typically a bring your own device (BYOD) enrollment. NinjaOne (or any MDM) has limited access to device information and actions, such as serial numbers, International Mobile Equipment Identity (IMEI) numbers, and phone numbers. You enroll the device through the Android Device Policy (ADP) app or through an enrollment link on a device that is already in active use. With this usage type, your organization can manage the applications and data in the work profile. Your organization has no visibility into or management of the personal (parent) profile.

    To enroll a personally owned device, follow the steps in the Adding a Mobile Device to NinjaOne section of this article, and complete the steps under Complete Setup on a Personally Owned Device.

  • COPE device: The company owns, secures, and manages the device, and the work profile separates work apps and data from personal use. NinjaOne has more information about a COPE device than about a personally owned device, including its serial number and network-related information. Your organization controls data and security policies within the work profile. Outside the work profile, the device remains suitable for personal use.

    During setup, the process prompts the device user to add personal accounts and information in addition to the configured work profile. Your organization has some control over the personal (parent) profile, such as camera and screenshot policies. It has limited visibility of anything outside the work profile.

    To enroll a personally owned device, follow the steps in the Adding a Mobile Device to NinjaOne section of this article, and complete the steps under Complete Setup on a Personally Owned Device.

End User Device - No Personal Usage Allowed

Use this type for a company-owned device that your organization uses only for business purposes. The device has no work profile separation. For these devices:

  • Your organization controls apps, settings, and configurations, and can wipe the device without concern for personal data loss.
  • Policy blocks personal accounts and unauthorized app installations.
  • Users generally cannot modify core device settings.

To enroll a personally owned device, follow the steps in the Adding a Mobile Device to NinjaOne section of this article, and complete the steps under Complete Setup on a Company-Owned Device.

Dedicated Device - No Specific User

Use this type for a device that is not associated with a single user, so neither personal usage nor corporate identity authentication is expected. This type is similar to End user device - no personal usage allowed.

NinjaOne MDM does not have access to personal files or photos, whether the device is company-owned or personally owned.

To enroll a personally owned device, follow the steps in the Adding a Mobile Device to NinjaOne section of this article, and complete the steps under Complete Setup on a Company-Owned Device.

For more information about provisioning dedicated devices, refer to Enroll and provision a device in the Google Android Management API documentation (external link).

android usage types.png
Figure 1: Android usage types (click to enlarge)

Adding a Mobile Device to NinjaOne

The steps in this section apply to personally owned devices and to company-owned devices that use End user device - allow personal usage (COPE) or End user device - no personal usage allowed. For dedicated devices, refer to the Android Usage Types section of this article.

Before you add a device, you must activate Android Enterprise device management. For more information about activating it, refer to NinjaOne MDM: Enabling Android Enterprise Device Management. After you activate it, you can add the device to NinjaOne and complete the process on the physical device.

Prepare the Device

Prepare a company-owned device (COPE or no personal usage allowed) before you add it. Ensure the device is either out of the box or reset to factory defaults. Both workflows require a blank device to enable full management. Device setup will not work if the device has existing data. A personally owned device does not require this preparation.

Procedure

Complete the following steps in NinjaOne:

  1. Click the Add item icon, and then select Device → Mobile Device.
MDMApp_AddDevice.png
Figure 2: Add Device (click to enlarge)
  1. The Add a mobile device window opens. Enter the following information:

    FieldDescription
    Operating systemSelect the Android icon.
    OrganizationSelect the organization to which the device will belong.
    LocationSelect the location within the organization, if applicable.
    Device roleSelect Android devices. This field appears only if more than one Android device role is set up and the Advanced Installer option is activated.
    Android Enterprise connectionSelect the Android Enterprise connection through which the device will enroll. Refer to NinjaOne MDM: Enabling Android Enterprise Device Management for more information about Android Enterprise connections.
    Enrollment profile

    Select an enrollment profile and the usage type for the workflow that you are following:

    • For a personally owned device or a COPE device, select End user device - allow personal usage.
    • For a company-owned device with no personal usage, select End user device - no personal usage allowed.
    • For more information about usage types, refer to the Android Usage Types section of this article.
    • For more information about configuring enrollment profiles, refer to NinjaOne MDM: Android Enrollment Profiles.
MDMApp_AddMobileDevice.png
Figure 3: The Add a mobile device window (click to enlarge)
  1. Click Continue. The Preview enrollment token window opens. Make sure the General tab is selected, and then click Generate QR code.
MDMApp_GenerateQR.png
Figure 4: The generated QR code window (click to enlarge)
  1. Use the QR code to enroll the device in one of the following ways:
    • Scan the QR code: Scan the code on the physical device. The steps depend on the usage type and who owns the device. Refer to Registering a Device.
    • Send the QR code: In the Enrollment token generated section of the window, click Send by SMS or Send by email. You can add multiple email addresses.

To adjust the QR provisioning payload or extract the enrollment token ID, click the Copy icon below the QR code to copy the payload to your clipboard.

For personally owned devices with a work profile, you have the extra option of sending the QR code by SMS. Before you can send or scan the QR code, you must install the ADP app as the onscreen instructions describe. Company-owned devices accept runtime permissions automatically during enrollment, so this requirement applies only to personally owned devices.

Android_qr_ADP.png
Figure 5: Android Device Policy instructions in the QR code window (click to enlarge)

Registering a Device

After you scan the QR code, or select the link you receive by SMS or email, finish setup on the physical device. The steps depend on the usage type and who owns the device:

Complete Setup on a Company-Owned Device

Use these steps for a company-owned device that uses End user device - allow personal usage (COPE) or End user device - no personal usage allowed. The device must be new or reset to factory defaults, as described in Prepare the Device.

  1. Tap the welcome screen six times. This action either activates the camera or prompts you to download an app that can scan the QR code.
  2. Scan the QR code. If the device is not connected to WiFi, connect it when prompted. After it connects, tap Next.
Screenshot_20230425-163550.png
Figure 6: The WiFi connection screen (click to enlarge)
  1. Tap Accept & Continue to set up the work device, then tap Next on the following screen. Allow a few minutes for the device to update.
  2. Set your Google Services policies, and then tap Accept.
  3. Tap I accept on the Additional legal terms screen, and then skip or complete the device tutorials.

After you finish setup, the device downloads the apps that policy assigns to it. Continue to the Verify the Device in NinjaOne section of this article.

Complete Setup on a Personally Owned Device

Use these steps for a personally owned device that uses End user device - allow personal usage. The device has already completed the setup wizard and is in active use.

  1. On the physical device, open the Google Play Store, then search for and download the ADP app.
  2. Open the ADP app, and then accept the camera permission. The app generates the scan tool automatically.
  3. Scan the QR code. If you have trouble scanning, tap Enter code manually at the bottom of the device screen.
  4. Tap Accept & Continue.
  5. Tap Install to continue enrollment. After the work apps assigned to the device finish installing, tap Set up.

The last screen confirms that application setup is complete. After you close the ADP app, the NinjaOne MDM app and the apps that policy assigns to the device download. Continue to the Verify the Device in NinjaOne section of this article.

Verify the Device in NinjaOne

After you finish setup on the device, the device appears in NinjaOne.

MDMAddAndroid_ViewDevices2.png
Figure 7: The new device on the organization dashboard (click to enlarge)

If the device does not appear in NinjaOne, check whether the organization policy requires manual approval for new devices. If it does, navigate to the Devices → Pending tab on the organization dashboard, find the device in the list, and click Approve. To learn more about configuring policy settings for the device, refer to NinjaOne MDM: Getting Started with NinjaOne Mobile Device Management.

After the device appears, configure its policies, such as passcode requirements, app restrictions, and network settings. For more information, refer to NinjaOne MDM: Android Policy Management.

Additional Resources

To learn more about the resources that NinjaOne provides for MDM, refer to NinjaOne MDM: Resource Catalog.

FAQ

Next Steps