Back to the template catalog

Compliance Policies

[IHD] macOS Compliance

Compliance Policy for macOS Devices Imported by Intune Hydration Kit

Template details

Category
Compliance Policies
Platform
macOS
Policy type
mac OSCompliance Policy
Source
Intune Hydration Kit
OData type
#microsoft.graph.macOSCompliancePolicy
File path
Bundled with the web app

What this template configures

13 configured properties. Nested values use dotted paths.

firewallEnabled
true
firewallEnableStealthMode
true
gatekeeperAllowedAppSource
macAppStoreAndIdentifiedDevelopers
passwordBlockSimple
true
passwordExpirationDays
41
passwordMinimumCharacterSetCount
1
passwordMinutesOfInactivityBeforeLock
5
passwordPreviousPasswordBlockCount
3
passwordRequired
true
passwordRequiredType
alphanumeric
scheduledActionsForRule
1 item
storageRequireEncryption
true
systemIntegrityProtectionEnabled
true

Import-ready JSON

Payload
{
  "@odata.type": "#microsoft.graph.macOSCompliancePolicy",
  "displayName": "[IHD] macOS Compliance",
  "description": "Compliance Policy for macOS Devices Imported by Intune Hydration Kit",
  "roleScopeTagIds": [
    "0"
  ],
  "firewallEnabled": true,
  "firewallEnableStealthMode": true,
  "gatekeeperAllowedAppSource": "macAppStoreAndIdentifiedDevelopers",
  "passwordBlockSimple": true,
  "passwordExpirationDays": 41,
  "passwordMinimumCharacterSetCount": 1,
  "passwordMinutesOfInactivityBeforeLock": 5,
  "passwordPreviousPasswordBlockCount": 3,
  "passwordRequired": true,
  "passwordRequiredType": "alphanumeric",
  "scheduledActionsForRule": [
    {
      "ruleName": "PasswordRequired",
      "scheduledActionConfigurations": [
        {
          "actionType": "block",
          "gracePeriodHours": 0,
          "notificationMessageCCList": [],
          "notificationTemplateId": ""
        },
        {
          "actionType": "remoteLock",
          "gracePeriodHours": 480,
          "notificationMessageCCList": [],
          "notificationTemplateId": ""
        },
        {
          "actionType": "retire",
          "gracePeriodHours": 1080,
          "notificationMessageCCList": [],
          "notificationTemplateId": ""
        }
      ]
    }
  ],
  "storageRequireEncryption": true,
  "systemIntegrityProtectionEnabled": true
}