-
Notifications
You must be signed in to change notification settings - Fork 882
Windows configuration profile fails even if the OS settings are enabled #29769
Copy link
Copy link
Closed
Copy link
Labels
#g-mdmMDM product groupMDM product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.P2Urgent: Supported workflow not functioning as intended, newly drafted feature with urgent Fleet needUrgent: Supported workflow not functioning as intended, newly drafted feature with urgent Fleet needbugSomething isn't working as documentedSomething isn't working as documentedcustomer-fouriercustomer-julianacustomer-numa~csaIssue was created by or deemed important by the Customer Solutions Architect.Issue was created by or deemed important by the Customer Solutions Architect.~released bugThis bug was found in a stable release.This bug was found in a stable release.
Milestone
Metadata
Metadata
Assignees
Labels
#g-mdmMDM product groupMDM product group:releaseReady to write code. Scheduled in a release. See "Making changes" in handbook.Ready to write code. Scheduled in a release. See "Making changes" in handbook.P2Urgent: Supported workflow not functioning as intended, newly drafted feature with urgent Fleet needUrgent: Supported workflow not functioning as intended, newly drafted feature with urgent Fleet needbugSomething isn't working as documentedSomething isn't working as documentedcustomer-fouriercustomer-julianacustomer-numa~csaIssue was created by or deemed important by the Customer Solutions Architect.Issue was created by or deemed important by the Customer Solutions Architect.~released bugThis bug was found in a stable release.This bug was found in a stable release.
Fleet version: 4.68, also testing in dogfood
Web browser and operating system: Chrome, latest
💥 Actual behavior
Windows configuration profile fails to verify even if the settings are on the device.
profile_verifier.gohere. My understanding is that the verification relies onrawProfileResultsSyncMLwhich comes from themdm_bridgeextension. We suspect themdm_bridgeextension likely queries WMI/CIM classes.Configuration profile (CSP) is here:
This affects verification of any CSP policy that doesn't populate WMI classes, leading to false negatives where policies are correctly applied but Fleet reports them as failed.
Other profiles I have tested this same behavior on are passcode and PinnedStart Items. I can provide some examples if needed.
Why is this a problem?
Supporting Evidence:
which returns returns nothing. The CSP node is there but there is no values assigned to it.
However, if we use the registry which is the authoritative source for CSP policy data, we see the expected values from the CSP, the command to query the reg:
🧑💻 Steps to reproduce
Add this DeviceHealth profile to Fleet:
🕯️ More info (optional)
@TsekNet: We may want to do what https://github.com/okieselbach/SyncMLViewer does and look at the etw trace for the syncml response instead of relying on the mdm_bridge extension? Or update the extension?
🛠️ To fix
Fix Fleet's Windows configuration profile verification to handle verification of any configuration profiles that don't populate WMI classes.