Forum Discussion
Xin3n
Apr 02, 2024Copper Contributor
Intune Compliance issue
Hi Guys I have been facing this issue regarding Intune compliance for sometime. We have a CA policy in place which allows only complaint devices to access the company resources. But for s...
Kaj__
Apr 03, 2024Copper Contributor
I recommend configuring your compliance policy actions with a minimum schedule of 2 days. The compliance checks currently occur only every 8 hours. By doing so, you can avoid having any devices marked as non-compliant, which can be particularly challenging when combined with conditional access policies.
You also can for a compliance check on the device
Start-Process -FilePath "C:\Program Files (x86)\Microsoft Intune Management Extension\Microsoft.Management.Services.IntuneWindowsAgent.exe" -ArgumentList "intunemanagementextension://synccompliance"
- Apr 03, 2024Hi..
The checkcompliance script you posted ... doesnt check for compliance :)... it checks for the custom compliance scripts policies... nothing more... nothing less 🙂
Also... i assume you mean maximum of 2 days :)... if the user is prompted to reboot his device after it has been enrolled with autopilot, normally 1 day would be enough- Kaj__Apr 03, 2024Copper ContributorWell yes, sorry for confusing - thanks for your blog post https://call4cloud.nl/2021/11/the-last-days-of-custom-compliance/