Forum Discussion
Tachik0ma
Mar 11, 2024Copper Contributor
Intune Default Compliance Policy
Hi folks I'm seeking a little clarification around compliance notifications. We have email alerts set for the compliance policies we have created but can't see how we would set this for the in-bu...
Tachik0ma
Mar 14, 2024Copper Contributor
I've had a look into this but I don't think I can use this for what I need. When I use Get-DeviceManagement_DeviceCompliancePolicies I don't get a policy ID for the in-built compliance policy
SebastiaanSmits
Mar 15, 2024Iron Contributor
You do not really need the Compliancy cmdlet, I think, maybe I am misunderstanding you. If you use this for example:
(Get-MgDeviceManagementManagedDevice).LastSyncDateTime
You get al the last-check in dates and you can base the notification actions around that...
(Get-MgDeviceManagementManagedDevice).LastSyncDateTime
You get al the last-check in dates and you can base the notification actions around that...