macOSCompliancePolicy resource type

Note: The Microsoft Graph API for Intune requires an active Intune license for the tenant.

This class contains compliance settings for Mac OS.

Inherits from deviceCompliancePolicy

Methods

Method Return Type Description
List macOSCompliancePolicies macOSCompliancePolicy collection List properties and relationships of the macOSCompliancePolicy objects.
Get macOSCompliancePolicy macOSCompliancePolicy Read properties and relationships of the macOSCompliancePolicy object.
Create macOSCompliancePolicy macOSCompliancePolicy Create a new macOSCompliancePolicy object.
Delete macOSCompliancePolicy None Deletes a macOSCompliancePolicy.
Update macOSCompliancePolicy macOSCompliancePolicy Update the properties of a macOSCompliancePolicy object.

Properties

Property Type Description
id String Key of the entity. Inherited from deviceCompliancePolicy
createdDateTime DateTimeOffset DateTime the object was created. Inherited from deviceCompliancePolicy
description String Admin provided description of the Device Configuration. Inherited from deviceCompliancePolicy
lastModifiedDateTime DateTimeOffset DateTime the object was last modified. Inherited from deviceCompliancePolicy
displayName String Admin provided name of the device configuration. Inherited from deviceCompliancePolicy
version Int32 Version of the device configuration. Inherited from deviceCompliancePolicy
passwordRequired Boolean Whether or not to require a password.
passwordBlockSimple Boolean Indicates whether or not to block simple passwords.
passwordExpirationDays Int32 Number of days before the password expires. Valid values 1 to 65535
passwordMinimumLength Int32 Minimum length of password. Valid values 4 to 14
passwordMinutesOfInactivityBeforeLock Int32 Minutes of inactivity before a password is required.
passwordPreviousPasswordBlockCount Int32 Number of previous passwords to block. Valid values 1 to 24
passwordMinimumCharacterSetCount Int32 The number of character sets required in the password.
passwordRequiredType requiredPasswordType The required password type. Possible values are: deviceDefault, alphanumeric, numeric.
osMinimumVersion String Minimum MacOS version.
osMaximumVersion String Maximum MacOS version.
systemIntegrityProtectionEnabled Boolean Require that devices have enabled system integrity protection.
deviceThreatProtectionEnabled Boolean Require that devices have enabled device threat protection.
deviceThreatProtectionRequiredSecurityLevel deviceThreatProtectionLevel Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet.
storageRequireEncryption Boolean Require encryption on Mac OS devices.
firewallEnabled Boolean Whether the firewall should be enabled or not.
firewallBlockAllIncoming Boolean Corresponds to the “Block all incoming connections” option.
firewallEnableStealthMode Boolean Corresponds to “Enable stealth mode.”

Relationships

Relationship Type Description
scheduledActionsForRule deviceComplianceScheduledActionForRule collection The list of scheduled action for this rule Inherited from deviceCompliancePolicy
deviceStatuses deviceComplianceDeviceStatus collection List of DeviceComplianceDeviceStatus. Inherited from deviceCompliancePolicy
userStatuses deviceComplianceUserStatus collection List of DeviceComplianceUserStatus. Inherited from deviceCompliancePolicy
deviceStatusOverview deviceComplianceDeviceOverview Device compliance devices status overview Inherited from deviceCompliancePolicy
userStatusOverview deviceComplianceUserOverview Device compliance users status overview Inherited from deviceCompliancePolicy
deviceSettingStateSummaries settingStateDeviceSummary collection Compliance Setting State Device Summary Inherited from deviceCompliancePolicy
assignments deviceCompliancePolicyAssignment collection The collection of assignments for this compliance policy. Inherited from deviceCompliancePolicy

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.macOSCompliancePolicy",
  "id": "String (identifier)",
  "createdDateTime": "String (timestamp)",
  "description": "String",
  "lastModifiedDateTime": "String (timestamp)",
  "displayName": "String",
  "version": 1024,
  "passwordRequired": true,
  "passwordBlockSimple": true,
  "passwordExpirationDays": 1024,
  "passwordMinimumLength": 1024,
  "passwordMinutesOfInactivityBeforeLock": 1024,
  "passwordPreviousPasswordBlockCount": 1024,
  "passwordMinimumCharacterSetCount": 1024,
  "passwordRequiredType": "String",
  "osMinimumVersion": "String",
  "osMaximumVersion": "String",
  "systemIntegrityProtectionEnabled": true,
  "deviceThreatProtectionEnabled": true,
  "deviceThreatProtectionRequiredSecurityLevel": "String",
  "storageRequireEncryption": true,
  "firewallEnabled": true,
  "firewallBlockAllIncoming": true,
  "firewallEnableStealthMode": true
}