IntegrationsMicrosoft intuneActions
List compliance policy assignments
List assignment targets for a compliance policy.
compliance_policies.assignments.list · Microsoft Intune · v1
Details
Scopes
intune.compliance.read
Input
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
policy_id | string | Yes | minLength 1; maxLength 128 |
page_size | integer | No | minimum 1; maximum 100 |
cursor | string | No | minLength 1; maxLength 2048 |
Output
| Name | Type | Required | Constraints |
|---|---|---|---|
(root) | object | Yes | additionalProperties false |
assignments | array<object> | Yes | maxItems 100 |
assignments[] | object | Yes | additionalProperties false |
assignments[].id | string | Yes | minLength 1; maxLength 128 |
assignments[].target_type | string | No | maxLength 256 |
assignments[].group_id | string | No | minLength 1; maxLength 128 |
next_cursor | string | No | minLength 1; maxLength 2048 |
Raw schema
Input
{
"type": "object",
"additionalProperties": false,
"properties": {
"policy_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"page_size": {
"type": "integer",
"minimum": 1,
"maximum": 100
},
"cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048
}
},
"required": [
"policy_id"
]
}Output
{
"type": "object",
"additionalProperties": false,
"properties": {
"assignments": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"target_type": {
"type": "string",
"maxLength": 256
},
"group_id": {
"type": "string",
"minLength": 1,
"maxLength": 128
}
},
"required": [
"id"
]
},
"maxItems": 100
},
"next_cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048
}
},
"required": [
"assignments"
]
}