deviceManagementCompliancePolicy resource type

Namespace: microsoft.graph

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.

Device Management Compliance Policy

Methods

Method Return Type Description
List deviceManagementCompliancePolicies deviceManagementCompliancePolicy collection List properties and relationships of the deviceManagementCompliancePolicy objects.
Get deviceManagementCompliancePolicy deviceManagementCompliancePolicy Read properties and relationships of the deviceManagementCompliancePolicy object.
Create deviceManagementCompliancePolicy deviceManagementCompliancePolicy Create a new deviceManagementCompliancePolicy object.
Delete deviceManagementCompliancePolicy None Deletes a deviceManagementCompliancePolicy.
Update deviceManagementCompliancePolicy deviceManagementCompliancePolicy Update the properties of a deviceManagementCompliancePolicy object.
assign action deviceManagementConfigurationPolicyAssignment collection
setScheduledActions action deviceManagementComplianceScheduledActionForRule collection

Properties

Property Type Description
id String Key of the policy document. Automatically generated.
name String Policy name
description String Policy description
platforms deviceManagementConfigurationPlatforms Platforms for this policy. Possible values are: none, android, iOS, macOS, windows10X, windows10, linux, unknownFutureValue.
technologies deviceManagementConfigurationTechnologies Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, mobileApplicationManagement, linuxMdm, extensibility, enrollment, endpointPrivilegeManagement, unknownFutureValue, windowsOsRecovery.
createdDateTime DateTimeOffset Policy creation date and time. This property is read-only.
lastModifiedDateTime DateTimeOffset Policy last modification date and time. This property is read-only.
settingCount Int32 Number of settings. This property is read-only.
creationSource String Policy creation source
roleScopeTagIds String collection List of Scope Tags for this Entity instance.
isAssigned Boolean Policy assignment status. This property is read-only.

Relationships

Relationship Type Description
settings deviceManagementConfigurationSetting collection Policy settings
scheduledActionsForRule deviceManagementComplianceScheduledActionForRule collection The list of scheduled action for this rule

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.deviceManagementCompliancePolicy",
  "id": "String (identifier)",
  "name": "String",
  "description": "String",
  "platforms": "String",
  "technologies": "String",
  "createdDateTime": "String (timestamp)",
  "lastModifiedDateTime": "String (timestamp)",
  "settingCount": 1024,
  "creationSource": "String",
  "roleScopeTagIds": [
    "String"
  ],
  "isAssigned": true
}