How to Delete Inactive Devices from Intune Automatically

You can configure Intune to automatically remove devices that appear to be inactive, stale, or unresponsive. These cleanup rules continuously monitor your device inventory so that your device records stay current. Devices deleted in this way are removed from Intune management. This setting affects all devices managed by Intune, not just specific ones.

  1. Sign in to the Microsoft Intune admin center.
  2. Choose Devices > Device cleanup rules > Yes.
  3. In the Delete devices that haven’t checked in for this many days box, enter a number between 30 and 270.
  4. Choose Save.

If a removed device checks in before its device certification expires, it will reappear in the admin center.

The device clean up rule doesn’t trigger a wipe or retire.

 Note

Device cleanup rules aren’t available for Jamf-managed devices.

You need the permission Managed Device Cleanup Settings with Update set to Yes to update the device cleanup rules. This permission is part of Intune Roles.

Ref: https://learn.microsoft.com/en-us/mem/intune/remote-actions/devices-wipe