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...
SebastiaanSmits
Mar 12, 2024Iron Contributor
Hi,
It is not possible indeed to sent out emails through this mechanism (shown in your screens) for the built-in Compliance Policy. There is not a lot of info about this but for example, see this earlier discussion: https://www.reddit.com/r/Intune/comments/153waru/default_device_compliance_and_notification_policy/?share_id=GQ84FFU-aYWFu37XfS8aa&utm_content=2&utm_medium=ios_app&utm_name=iossmf&utm_source=share&utm_term=22
Best way, also stated in the URL above, is to use Graph Powershell module, it is not really difficult to create a script on last check in date that sends out emails to the users. If you need help with this let us know..
It is not possible indeed to sent out emails through this mechanism (shown in your screens) for the built-in Compliance Policy. There is not a lot of info about this but for example, see this earlier discussion: https://www.reddit.com/r/Intune/comments/153waru/default_device_compliance_and_notification_policy/?share_id=GQ84FFU-aYWFu37XfS8aa&utm_content=2&utm_medium=ios_app&utm_name=iossmf&utm_source=share&utm_term=22
Best way, also stated in the URL above, is to use Graph Powershell module, it is not really difficult to create a script on last check in date that sends out emails to the users. If you need help with this let us know..
- Tachik0maMar 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
- SebastiaanSmitsMar 15, 2024Iron ContributorYou 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...
- Tachik0maMar 12, 2024Copper ContributorCheers, I'll have a look into this. Glad to know it's not possible from within the GUI though it's a little frustrating that this isn't available as a feature.