deviceCompliancePolicyAssignment resource type

Namespace: microsoft.graph

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

Device compliance policy assignment.

Methods

Method Return Type Description
List deviceCompliancePolicyAssignments deviceCompliancePolicyAssignment collection List properties and relationships of the deviceCompliancePolicyAssignment objects.
Get deviceCompliancePolicyAssignment deviceCompliancePolicyAssignment Read properties and relationships of the deviceCompliancePolicyAssignment object.
Create deviceCompliancePolicyAssignment deviceCompliancePolicyAssignment Create a new deviceCompliancePolicyAssignment object.
Delete deviceCompliancePolicyAssignment None Deletes a deviceCompliancePolicyAssignment.
Update deviceCompliancePolicyAssignment deviceCompliancePolicyAssignment Update the properties of a deviceCompliancePolicyAssignment object.

Properties

Property Type Description
id String Key of the entity.
target deviceAndAppManagementAssignmentTarget Target for the compliance policy assignment.

Relationships

None

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.deviceCompliancePolicyAssignment",
  "id": "String (identifier)",
  "target": {
    "@odata.type": "microsoft.graph.configurationManagerCollectionAssignmentTarget",
    "collectionId": "String"
  }
}