Intune Device Non-Compliance False Positives
I have been seeing this for a long time, and apparently many others have said they see it as well. Basically, when viewing the managed devices list (devices > all devices), many of the devices that show as "Not Compliant", but when opening the device details and clicking Device compliance, all the policies show "compliant" with a green check icon. Several of my customers have expressed concerns as to how accurate the data and/or reporting is within Intune. For example, is it really non-compliant?
Yes, this is a very annoying issue. We tracked it down to device duplicates causing 'confusion' in Intune, both in shared device scenario's (multiple windows users) and in re-enrollment where the old device record somehow still gets conditional access policies.
We completely got rid of this issue after deploying this script as a runbook/scheduled task: https://www.lieben.nu/liebensraum/2019/12/duplicate-azuread-device-cleanup/