memdocs
memdocs copied to clipboard
WQL Query for Co-Managed Devices
What is the purpose of "MDMProvisioned = 1" in the WQL query?
The documentation on this page suggests "A device is co-managed when the MDMEnrolled field and ComgmtPolicyPresent fields both have a value of 1." So why does the WQL query has this additional requirement? I have found that by dropping MDMProvisioned = 1 I still have a collection of only co-managed devices, but the devices show up quicker (suggesting this MDMProvisioned state takes some more time).
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
- ID: 24d681b3-cef8-b09b-68c5-0a76239a5a7f
- Version Independent ID: b49e8656-c979-6de2-8238-ac6321a0c545
- Content: Create queries - Configuration Manager
- Content Source: memdocs/configmgr/core/servers/manage/create-queries.md
- Product: configuration-manager
- Technology: configmgr-core
- GitHub Login: @aczechowski
- Microsoft Alias: aaroncz