MT.1053 - Ensure intune device clean-up rule is configured
Overviewβ
Ensure device clean-up rule is configured
This test checks if the device clean-up rule is configured.
Set your Intune device cleanup rules to delete Intune MDM enrolled devices that appear inactive, stale, or unresponsive. Intune applies cleanup rules immediately and continuously so that your device records remain current.
Remediation action:β
To enable device clean-up rules:
- Open Microsoft Intune - Device clean-up rules
- Or navigate to Microsoft Intune admin center > Devices > Organize devices > Device clean-up rules.
- Select Create.
- Set Name and Platform.
- Enter 30 days or more depending on your organizational needs.
- Click Next.
- Click Create.
Related linksβ
Test Metadataβ
| Field | Value |
|---|---|
| Test ID | MT.1053 |
| Severity | Medium |
| Suite | Maester |
| Category | Intune |
| PowerShell test | Test-MtManagedDeviceCleanupSettings |
| Tags | Intune, Maester, MT.1053 |
Sourceβ
- Pester test:
tests/Maester/Intune/Test-MtIntunePlatform.Tests.ps1 - PowerShell source:
powershell/public/maester/intune/Test-MtManagedDeviceCleanupSettings.ps1