iosCompliancePolicy resource type

Important: Microsoft Graph APIs under the /beta version are subject to change; production use is not supported.

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
roleScopeTagIds String collection List of Scope Tags for this Entity instance. Inherited from deviceCompliancePolicy
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.
passcodeMinutesOfInactivityBeforeScreenTimeout Int32 Minutes of inactivity before the screen times out.
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.
osMinimumBuildVersion String Minimum IOS build version.
osMaximumBuildVersion String Maximum IOS build 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.
restrictedApps appListItem collection Require the device to not have the specified apps installed. This collection can contain a maximum of 100 elements.

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.iosCompliancePolicy",
  "roleScopeTagIds": [
    "String"
  ],
  "id": "String (identifier)",
  "createdDateTime": "String (timestamp)",
  "description": "String",
  "lastModifiedDateTime": "String (timestamp)",
  "displayName": "String",
  "version": 1024,
  "passcodeBlockSimple": true,
  "passcodeExpirationDays": 1024,
  "passcodeMinimumLength": 1024,
  "passcodeMinutesOfInactivityBeforeLock": 1024,
  "passcodeMinutesOfInactivityBeforeScreenTimeout": 1024,
  "passcodePreviousPasscodeBlockCount": 1024,
  "passcodeMinimumCharacterSetCount": 1024,
  "passcodeRequiredType": "String",
  "passcodeRequired": true,
  "osMinimumVersion": "String",
  "osMaximumVersion": "String",
  "osMinimumBuildVersion": "String",
  "osMaximumBuildVersion": "String",
  "securityBlockJailbrokenDevices": true,
  "deviceThreatProtectionEnabled": true,
  "deviceThreatProtectionRequiredSecurityLevel": "String",
  "managedEmailProfileRequired": true,
  "restrictedApps": [
    {
      "@odata.type": "microsoft.graph.appListItem",
      "name": "String",
      "publisher": "String",
      "appStoreUrl": "String",
      "appId": "String"
    }
  ]
}