Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph
Important: Microsoft supports Intune /beta APIs, but they are subject to more frequent change. Microsoft recommends using version v1.0 when possible. Check an API's availability in version v1.0 using the Version selector.
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, androidEnterprise, aosp, visionOS, tvOS. |
| technologies | deviceManagementConfigurationTechnologies | Technologies for this policy. Possible values are: none, mdm, windows10XManagement, configManager, appleRemoteManagement, microsoftSense, exchangeOnline, mobileApplicationManagement, linuxMdm, extensibility, enrollment, endpointPrivilegeManagement, unknownFutureValue, windowsOsRecovery, android. |
| 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 |
| assignments | deviceManagementConfigurationPolicyAssignment collection | Policy assignments |
| 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
}