deviceCompliancePolicyAssignment resource type

Namespace: microsoft.graph

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.

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.
source deviceAndAppManagementAssignmentSource The assignment source for the device compliance policy, direct or parcel/policySet. Possible values are: direct, policySets.
sourceId String The identifier of the source of the 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.scopeTagGroupAssignmentTarget",
    "deviceAndAppManagementAssignmentFilterId": "String",
    "deviceAndAppManagementAssignmentFilterType": "String",
    "targetType": "String",
    "entraObjectId": "String"
  },
  "source": "String",
  "sourceId": "String"
}