Query Details
IntuneOperationalLogs | where TimeGenerated > ago(30d) // look for devices that were active in the last 30 days | where OperationName == "Enrollment" // Filter for enrollments | extend Type = todynamic(Properties).EnrollmentType // Look into properties for the enrollment type | summarize count(OperationName) by tostring(Type)
This query is looking at operational logs from Intune, a Microsoft service for managing mobile devices. It's specifically looking for logs from the past 30 days where a device has been enrolled. It then categorizes these enrollments by the type of enrollment, which is found in the properties of each log. Finally, it counts the number of each type of enrollment.

Ugur Koc
Released: July 21, 2022
Tables
Keywords
Operators