deviceCompliancePolicyAssignment resource type

Note: Using the Microsoft Graph APIs to configure Intune controls and policies still requires that the Intune service is correctly licensed by the customer.

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.deviceAndAppManagementAssignmentTarget"
  }
}