https://www.petervanderwoude.nl/post/using-the-power-of-configmgr-together-with-microsoft-intune-to-determine-device-compliance/
Using the power of ConfigMgr together with Microsoft Intune to determine device compliance