IntegrationsMicrosoft intuneActions
List compliance policy device statuses
List per-device compliance statuses for a policy.
compliance_policies.device_statuses.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 |
device_statuses | array<object> | Yes | maxItems 100 |
device_statuses[] | object | Yes | additionalProperties false |
device_statuses[].id | string | Yes | minLength 1; maxLength 128 |
device_statuses[].device_display_name | string | No | maxLength 512 |
device_statuses[].user_name | string | No | maxLength 512 |
device_statuses[].status | string | No | maxLength 128 |
device_statuses[].compliance_grace_period_expiration_at | string | No | minLength 1; maxLength 64 |
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": {
"device_statuses": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"id": {
"type": "string",
"minLength": 1,
"maxLength": 128
},
"device_display_name": {
"type": "string",
"maxLength": 512
},
"user_name": {
"type": "string",
"maxLength": 512
},
"status": {
"type": "string",
"maxLength": 128
},
"compliance_grace_period_expiration_at": {
"type": "string",
"minLength": 1,
"maxLength": 64
}
},
"required": [
"id"
]
},
"maxItems": 100
},
"next_cursor": {
"type": "string",
"minLength": 1,
"maxLength": 2048
}
},
"required": [
"device_statuses"
]
}