deviceCompliancePolicyGroupAssignment 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 group assignment.

Inherits from deviceCompliancePolicyAssignment

Methods

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

Properties

Property Type Description
id String Key of the entity. Inherited from deviceCompliancePolicyAssignment
targetGroupId String The Id of the AAD group we are targeting the device compliance policy to.
excludeGroup Boolean Indicates if this group is should be excluded. Defaults that the group should be included

Relationships

Relationship Type Description
deviceCompliancePolicy deviceCompliancePolicy The navigation link to the device compliance polic targeted. Inherited from deviceCompliancePolicyAssignment

JSON Representation

Here is a JSON representation of the resource.

{
  "@odata.type": "#microsoft.graph.deviceCompliancePolicyGroupAssignment",
  "id": "String (identifier)",
  "targetGroupId": "String",
  "excludeGroup": true
}