deviceCompliancePolicy 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 is the base class for Compliance policy. Compliance policies are platform specific and individual per-platform compliance policies inherit from here.

Methods

Method Return Type Description
List deviceCompliancePolicies deviceCompliancePolicy collection List properties and relationships of the deviceCompliancePolicy objects.
Get deviceCompliancePolicy deviceCompliancePolicy Read properties and relationships of the deviceCompliancePolicy object.
Device configuration
assign action deviceCompliancePolicyAssignment collection Not yet documented
scheduleActionsForRules action None Not yet documented
refreshDeviceComplianceReportSummarization action](../api/intune-shared-devicecompliancepolicy-refreshdevicecompliancereportsummarization.md) None Not yet documented
Policy Set
hasPayloadLinks action hasPayloadLinkResultItem collection Not yet documented

Properties

Property Type Description
id String Key of the entity.
roleScopeTagIds String collection List of Scope Tags for this Entity instance.
createdDateTime DateTimeOffset DateTime the object was created.
description String Admin provided description of the Device Configuration.
lastModifiedDateTime DateTimeOffset DateTime the object was last modified.
displayName String Admin provided name of the device configuration.
version Int32 Version of the device configuration.

Relationships

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

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.deviceCompliancePolicy",
  "roleScopeTagIds": [
    "String"
  ],
  "id": "String (identifier)",
  "createdDateTime": "String (timestamp)",
  "description": "String",
  "lastModifiedDateTime": "String (timestamp)",
  "displayName": "String",
  "version": 1024
}