deviceCompliancePolicyAssignment resource type

Important: APIs under the / beta version in Microsoft Graph are in preview and are subject to change. Use of these APIs in production applications is not supported.

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.


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.


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



JSON Representation

Here is a JSON representation of the resource.

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