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.1005 Intune managed devices are compliant.

Severity: HighGraph

Every device Intune manages should be compliant with its compliance policies.

Conditional Access policies that require a compliant device only protect you if non-compliant devices are fixed or blocked. A device that is non-compliant, in error or in conflict has failed a requirement such as encryption, a minimum OS version or Defender protection. A device whose state is unknown has never been evaluated against any policy.

This test covers every platform: Windows, macOS, iOS/iPadOS and Android. Devices in their grace period are noted but do not fail the test.

Remediation action

  1. In the Microsoft Intune admin center, go to Devices > All devices and filter Compliance to Not compliant.
  2. Open a device and select Device compliance to see which setting failed, then fix the device or the policy.
  3. For devices in error or conflict, check that only one compliance policy of each platform type targets them.
  4. Make sure a compliance policy is assigned to every platform you allow, so no device stays unknown.

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