Query Details

Operational Show Intune Enrollment Not Supported Devices

Query

//Intune Enrollment Failure Reasons - Devices not supported by time, failure type, and operating system
IntuneOperationalLogs
| extend FailureCategory_ = todynamic(Properties).FailureCategory
| where FailureCategory_ == "DeviceNotSupported"
| extend OS = todynamic(Properties).Os
| extend Reason = todynamic(Properties).FailureReason
| extend Type = todynamic(Properties).EnrollmentType
| extend DeviceId = tostring(todynamic(Properties).AADDeviceId)
| project FailureCategory_ , Reason, Type, OS, DeviceId

Explanation

This query is looking at operational logs from Microsoft Intune, a cloud-based service that focuses on mobile device management. Specifically, it's examining instances where devices failed to enroll in the service.

The query is filtering for cases where the failure category is "DeviceNotSupported", meaning the device trying to enroll isn't compatible with Intune.

It's then pulling out additional information about these failures, including the operating system of the device (OS), the specific reason for the failure (Reason), the type of enrollment attempted (Type), and the device's ID (DeviceId).

Finally, it's presenting this information in a table format, with columns for each of these details.

Details

Ugur Koc profile picture

Ugur Koc

Released: July 13, 2022

Tables

IntuneOperationalLogs

Keywords

IntuneOperationalLogs,FailureCategory,DeviceNotSupported,OS,Reason,Type,DeviceId

Operators

extendtodynamicwheretostringproject

Actions