How to Delete Stale Intune Devices After 30 Days

Monitor and optimize health
Answer Correct answer: C — Configure a device clean-up rule to automatically delete devices that have not checked in for 30 days.

You have a Microsoft 365 E5 subscription. All devices are enrolled in Microsoft Intune. You need to ensure that devices that have NOT checked in for 30 days are deleted from Intune. What should you configure from the Microsoft Intune admin center?

  1. a device limit restriction
  2. automatic enrollment
  3. a device clean-up rule Correct Answer
  4. a configuration profile

Community Votes

C
100%

100% of anonymous learners picked answer C. Votes are pick records left by other test-takers — they are not the verified answer.

Community Insight

This question tests Intune device lifecycle management, specifically identifying the feature that automatically deletes stale devices based on their last check-in date rather than enrollment limits.

Configuring a device clean-up rule in Microsoft Intune allows administrators to automatically delete devices that have not checked in for a specified number of days. This page confirms that a device clean-up rule is the correct configuration to remove stale devices after 30 days of inactivity.

Choosing a device limit restriction (A) is a common mistake, but that restricts the number of devices a user can enroll rather than removing inactive ones.

Community Discussion (3 comments)

murcao 👍 4 Selected: C
Based in this link: https://techcommunity.microsoft.com/t5/device-management-in-microsoft/using-intune-device-cleanup-rules-updated-version/ba-p/3760854 For me is C To automatically delete devices that have not checked in for 30 days, you can configure the Device Cleanup Rules in the Microsoft Intune admin center. How to do it: > Microsoft Intune admin center. > Devices > Device Cleanup Rules. > Enable the cleanup rule > Set the number of days to 30 for deleting devices that have not checked in. Done :)
ergacharsk 👍 2 Selected: C
agreed with the given answer
jdr002 👍 4 Selected: C
Correct.

Comments & Corrections

No comments yet — spotted an error or have a note? Share it below.

Log in to comment, report an error, or add a note about this question.

Submitted for moderation before publishing. Keep it helpful and respectful.

Expert Analysis

Why the Answer Is Correct

Configuring a device clean-up rule is the exact mechanism in Microsoft Intune designed to automatically remove stale devices. By setting the rule to delete devices that have not checked in for 30 days, administrators can efficiently manage the device lifecycle and keep the Intune environment clean without manual intervention.

Why the Other Options Are Wrong

A device limit restriction (Option A) restricts how many devices a user can enroll, but does not delete inactive devices. Automatic enrollment (Option B) configures devices to automatically enroll in Intune via Microsoft Entra ID, but has no bearing on deleting stale records. A configuration profile (Option D) applies settings to devices but cannot be used to trigger the deletion of devices based on inactivity.

Community Comment Notes

The community agrees that the device clean-up rule is the correct feature for this requirement. As murcao noted, you can "automatically delete devices that have not checked in for 30 days" by navigating to Devices > Device Cleanup Rules in the Microsoft Intune admin center.

Official Reference

Exam Strategy

When asked about automatically removing devices based on inactivity or last check-in time, immediately look for the device clean-up rule option. Do not confuse device cleanup with device limit restrictions, which only cap enrollment numbers per user.

Related Analysis

Practice All MD-102 Questions

Access 92 questions with complete answers and detailed explanations.

View Full MD-102 Practice Test →

← Back to MD-102 Study Guide