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

MDM Unenrollment

Topic

This document shows you how to remove an Apple iOS, macOS, or Android mobile device from NinjaOne.  

Environment

  • NinjaOne Mobile Device Management (MDM)
  • iOS and iPadOS
  • macOS
  • Android

Description

When removing a mobile device from management in NinjaOne, you can disown, erase, or delete it. Select a category to learn more: 

What is the Difference Between Disown, Erase, or Delete?

Click the hyperlinked option to view instructions on disowning, erasing, or deleting the device from NinjaOne: 

  • Disown: This only applies to Apple Business Manager (ABM) enrollment. All information will be removed from the NinjaOne database, the enrollment profile will be deleted from the device, and the device will be removed from the ABM portal.
  • Erase: The enrollment profile is deleted on the physical device, but the information remains in the NinjaOne database so that a device can be re-enrolled with this option. If the device is personally owned, this will remove the work profile; if the device is company-owned, this will wipe the entire device, including personal data.
  • Delete: The device is removed from NinjaOne (if it uses ABM, the data stays in ABM with division and organization information). The enrollment profile is deleted from the device, and all information is removed from the NinjaOne database.
    • On Supervised Apple devices, the Delete Device action will perform a device wipe. On Unsupervised Apple devices, the Delete Device action will remove the MDM profile and all configurations without wiping the device itself.
    • When wiping or deleting a company-owned Android device from MDM, the device is factory reset, and any personal information is removed. When wiping or deleting a personally owned Android device from MDM, only the work profile is removed, and personal data remains intact. 

Important Notes:

  • If an erased device is not deleted from the system, re-enrolling it will add it to the organization to which it was originally mapped.
  • Devices can only be disowned if they were enrolled using ADE.
  • Technicians must have "View, Update, Delete" permissions enabled for DevicesDefault Access to see the Erase Device option on the device dashboard. 

Disown a Device

When you disown a device through the ABM (Apple Business Manager), the device will continue to be enrolled.  This can only be done on a company-owned device. 

Once the device is disowned, it is deleted from the NinjaOne console, and the data is erased. A log is recorded under the Activities tab on the device dashboard. 

Erase a Device

Device TypeOwnershipErase Device Actions
AndroidWork or company-ownedThis erases the device, including all data and contents. It requires the device to be set up as a new device.
AndroidPersonally ownedThis erases the Work profile and related Work content stored in that profile from the device. This can contain apps and files within those apps related to the Work profile.
Apple iOS, iPadOS, macOSCompany owned/Supervised or Personally owned/UnsupervisedThe entire device will be erased, including all personal and managed content.

To erase a device: 

  1. Navigate to the device dashboard and click the action button next to the device name.
  2. Move your cursor over Security actions and click Erase Device.
MDM_erase device.png
Figure 1: Erase macOS device data from NinjaOne

The confirmation modal displays. 

  1. Select an option from the drop-down menu, or if you are erasing an Android device, click the Wipe external storage option, if applicable, and then click Erase. 
     

    Wipe External Storage (Android): If the device is company-owned, wiping the device restores it to factory defaults. If personally owned, wiping the device removes the work profile, all work-related items, and the SD card. 
  2. Enter your NinjaOne account email to confirm that you wish to erase the device.
    You will see a confirmation notification in the bottom right corner of the screen. The device still shows on the organization dashboard; however, you can no longer take any actions at the device level. 

Erased data is reported in a variety of ways, many of which can be viewed from the Device search grid. 

The erased data is shown in the Activities and General sections at the device level. The Last Checked field under General displays the last time the device checked in before being erased. Management status is updated in the database to state that the device is "Unmanaged" and "Erased."

Delete a Device

NinjaOne administrators and technicians with the proper permissions can see which devices have been erased and access device details to determine if the erased devices need to be deleted from the NinjaOne console. 

When you delete a mobile device in NinjaOne, the device record will not issue a device wipe. The MDM profile will be uninstalled, and any managed configurations and apps will be removed, unless they were explicitly configured to remain. Personal apps and data will remain untouched.

Devices can be deleted from the NinjaOne consoles even if they have not been erased. To delete a device: 

  • Devices search page: Activate the checkbox to the left of the device name and then click Delete under the search filter. 
delete device from search page.png
Figure 2: Delete macOS device data from the search page
  • Device dashboard: Click Edit in the top right corner of the page and then click Delete device.
delete device from device dashboard.png
Figure 3: Delete macOS device data from the device dashboard

Disable the NinjaOne Apple or Android MDM Application

The Disable button in the app will only be actionable if the following is true: 

  • There are no connections or active content tokens for Apple Push Notifications, Automated Device Enrollment with Apple Business Manager or School, Apps and Books, or Android Enterprise.
  • Technician has the appropriate account permissions. 

To disable the app(s), the system administrator or technician must provide their credentials to verify the MFA. Once disabled, the app(s) can be enabled again at any time. 

MDM_disable.png
Figure 4: Disable the MDM feature in NinjaOne

Remove or Delete the MDM Enrollment Profile From an Apple Device

The previous sections of this article explain how to remove a mobile device from management in NinjaOne. This section explains how to complete the process by removing the MDM profile from the physical device, to clear the policies and allow the device to be re-enrolled if necessary. 

  1. Perform the steps in the Delete a Device section of this article.
  2. Log in to your ABM account and select a device. Click the ellipsis button in the top right corner and select the option to unassign. 
abm_devices_unassign mdm.png
Figure 5: Unassign a device from ABM
  1. Return to the NinjaOne console.
  2. Navigate to Administration Apps InstalledNinjaOne MDM Apple.
  3. Open the Automated Device Enrollment tab and select the ADE profile that was assigned to the device affected by Step 1. Click EditDevices → Sync with ABM.
  4. Verify device entry is cleared out.
  5. Factory reset the physical device and then go through the setup process.
  6. Verify the enrollment profile was removed (you can usually confirm this on the device under SettingsGeneral → VPN & Device Management).

Additional Resources

Refer to the following resource(s) to learn more about NinjaOne MDM: NinjaOne MDM: Resource Catalog.

FAQ

Next Steps