MediumScript packFree

Kage Security Lab: Device Security

Checks the real security state of devices on every platform: Intune compliance, check-in, encryption and jailbreak or root, plus Defender for Endpoint sensor health, onboarding, antivirus configuration and tamper protection.

By pir8g33k · Version 0.2.1 · Published 3 Dec 2026

← All tests

MP.KSL.1006 Intune managed devices have checked in recently.

Severity: MediumGraph

Every device Intune manages should check in regularly, 30 days by default.

A device keeps the last compliance state it reported. If it stops syncing, it can stay compliant for months while receiving no policies, no app updates and no security settings, and its Conditional Access access continues. Stale devices are usually lost, retired or broken, and all three need action.

Set the MaximumDaysSinceSync parameter in your Maester configuration to use another limit.

Remediation action

  1. In the Microsoft Intune admin center, go to Devices > All devices and sort by Last check-in.
  2. Contact the users of devices still in use and have them sync from the Company Portal app.
  3. Retire or delete devices that are no longer in use.
  4. Set up a device clean-up rule so stale devices are removed automatically.
  5. In the built-in compliance policy settings, set Compliance status validity period (days) so devices that stop checking in become non-compliant.

Related links

%TestResult%

Install
Install-MtPack pir8g33k/maester-pack-kagesecuritylab

Assumes Maester is installed. New to Maester? Get started.

Next: connect and run
Connect
Connect-Maester
Run
Invoke-Maester -Pack KSL