Check Device Compliance
Check the compliance status of a device
Last updated
Was this helpful?
Check the compliance status of a device
This runbook retrieves the compliance status of a managed device from Microsoft Intune. In simple mode it shows the overall compliance state and lists any non-compliant policies. In detailed mode it additionally shows which specific settings are failing and the reason for each failure. Optionally, a report with the full compliance details can be sent via email.
Device → General → Check Device Compliance
Full Runbook name
rjgit-device_general_check-device-compliance
Type: Microsoft Graph
Device.Read.All
DeviceManagementManagedDevices.Read.All
Organization.Read.All
The Entra ID device ID of the target device. Passed automatically by the RealmJoin platform.
Required
true
Default Value
Type
String
Select "Simple" (final value: $false) to show only the overall compliance state and non-compliant policy names. Select "Detailed" (final value: $true) to additionally show which specific settings are failing and the reason for each failure.
Required
false
Default Value
False
Type
Boolean
Optional - if specified, a compliance report will be sent to the provided email address(es). Can be a single address or multiple comma-separated addresses.
Required
false
Default Value
Type
String
The sender email address. This needs to be configured in the runbook customization.
Required
false
Default Value
Type
String
Last updated
Was this helpful?
Was this helpful?