Microsoft Intune Documentation - Assign user and device profiles: This document clarifies
how assignments work, stating, "Exclude assignments override include assignments... If a
device is in two groups, one group is in the included assignment, and the second group is in
the excluded assignment, then the device is excluded and the policy isn't deployed."
Source: Microsoft Learn, "Assign user and device profiles in Microsoft Intune," section on
"Include and exclude groups."
Microsoft Intune Documentation - Device compliance policies: This resource explains that
for a device to be considered compliant, it must meet the rules and settings defined in the
assigned policy.
Source: Microsoft Learn, "Device compliance policies in Microsoft Intune," section on "How
Intune compliance policies work."