iosCompliancePolicy resource type

Namespace: microsoft.graph

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

This class contains compliance settings for IOS.

Inherits from deviceCompliancePolicy

Methods

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.

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
passcodeBlockSimple Boolean Indicates whether or not to block simple passcodes.
passcodeExpirationDays Int32 Number of days before the passcode expires. Valid values 1 to 65535
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 requiredPasswordType 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 deviceThreatProtectionLevel 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.

Relationships

Relationship Type Description
scheduledActionsForRule deviceComplianceScheduledActionForRule collection The list of scheduled action per rule for this compliance policy. This is a required property when creating any individual per-platform compliance policies. 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.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
}