iosCompliancePolicy resource type

Note: Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is correctly licensed by the customer.

This class contains compliance settings for IOS.

Inherits from deviceCompliancePolicy


Method Return Type Description
List iosCompliancePolicies iosCompliancePolicy collection List properties and relationships of the iosCompliancePolicy objects.
Get iosCompliancePolicy iosCompliancePolicy Read properties and relationships of the iosCompliancePolicy object.
Create iosCompliancePolicy iosCompliancePolicy Create a new iosCompliancePolicy object.
Delete iosCompliancePolicy None Deletes a iosCompliancePolicy.
Update iosCompliancePolicy iosCompliancePolicy Update the properties of a iosCompliancePolicy object.
List deviceCompliancePolicyGroupAssignments deviceCompliancePolicyGroupAssignment collection Get the deviceCompliancePolicyGroupAssignments from the groupAssignments navigation property.
List deviceComplianceScheduledActionForRules deviceComplianceScheduledActionForRule collection Get the deviceComplianceScheduledActionForRules from the scheduledActionsForRule navigation property.
List deviceComplianceDeviceStatuses deviceComplianceDeviceStatus collection Get the deviceComplianceDeviceStatuses from the deviceStatuses navigation property.
List deviceComplianceUserStatuses deviceComplianceUserStatus collection Get the deviceComplianceUserStatuses from the userStatuses navigation property.
Get deviceComplianceDeviceOverview deviceComplianceDeviceOverview Get the deviceComplianceDeviceOverview from the deviceStatusOverview navigation property.
Get deviceComplianceUserOverview deviceComplianceUserOverview Get the deviceComplianceUserOverview from the userStatusOverview navigation property.
List settingStateDeviceSummaries settingStateDeviceSummary collection Get the settingStateDeviceSummaries from the deviceSettingStateSummaries navigation property.


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
passcodeBlockSimple Boolean Indicates whether or not to block simple passcodes.
passcodeExpirationDays Int32 Number of days before the passcode expires. Valid values 1 to 255
passcodeMinimumLength Int32 Minimum length of passcode. Valid values 4 to 14
passcodeMinutesOfInactivityBeforeLock Int32 Minutes of inactivity before a passcode is required.
passcodePreviousPasscodeBlockCount Int32 Number of previous passcodes to block. Valid values 1 to 24
passcodeMinimumCharacterSetCount Int32 The number of character sets required in the password.
passcodeRequiredType String The required passcode type. Possible values are: deviceDefault, alphanumeric, numeric.
passcodeRequired Boolean Indicates whether or not to require a passcode.
osMinimumVersion String Minimum IOS version.
osMaximumVersion String Maximum IOS version.
securityBlockJailbrokenDevices Boolean Devices must not be jailbroken or rooted.
deviceThreatProtectionEnabled Boolean Require that devices have enabled device threat protection .
deviceThreatProtectionRequiredSecurityLevel String Require Mobile Threat Protection minimum risk level to report noncompliance. Possible values are: unavailable, secured, low, medium, high, notSet.
managedEmailProfileRequired Boolean Indicates whether or not to require a managed email profile.


Relationship Type Description
groupAssignments deviceCompliancePolicyGroupAssignment collection The list of group assignments for this compliance policy. Inherited from deviceCompliancePolicy
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

JSON Representation

Here is a JSON representation of the resource.

  "@odata.type": "#microsoft.graph.iosCompliancePolicy",
  "id": "String (identifier)",
  "createdDateTime": "String (timestamp)",
  "description": "String",
  "lastModifiedDateTime": "String (timestamp)",
  "displayName": "String",
  "version": 1024,
  "passcodeBlockSimple": true,
  "passcodeExpirationDays": 1024,
  "passcodeMinimumLength": 1024,
  "passcodeMinutesOfInactivityBeforeLock": 1024,
  "passcodePreviousPasscodeBlockCount": 1024,
  "passcodeMinimumCharacterSetCount": 1024,
  "passcodeRequiredType": "String",
  "passcodeRequired": true,
  "osMinimumVersion": "String",
  "osMaximumVersion": "String",
  "securityBlockJailbrokenDevices": true,
  "deviceThreatProtectionEnabled": true,
  "deviceThreatProtectionRequiredSecurityLevel": "String",
  "managedEmailProfileRequired": true