Device Devices Without Primary User
Query
// List of Devices with no PrimaryUser
IntuneDevices
| where OS == "Windows"
| where PrimaryUser startswith "000000"
| project DeviceName, PrimaryUserExplanation
This query is looking for a list of devices from IntuneDevices that are running the Windows operating system and do not have a primary user assigned (indicated by the primary user starting with "000000"). The results will display the device name and the primary user.