title | description | author | ms.localizationpriority | ms.subservice | doc_type |
---|---|---|---|---|---|
aggregatedPolicyCompliance resource type |
Represents an aggregate view of device compliance for a managed tenant. |
idwilliams |
medium |
m365-lighthouse |
resourcePageType |
Namespace: microsoft.graph.managedTenants
[!INCLUDE beta-disclaimer]
Represents an aggregate view of device compliance for a managed tenant.
Method | Return type | Description |
---|---|---|
List aggregated policy compliances | microsoft.graph.managedTenants.aggregatedPolicyCompliance collection | Get a list of the aggregatedPolicyCompliance objects and their properties. |
Property | Type | Description |
---|---|---|
compliancePolicyId | String | Identifier for the device compliance policy. Optional. Read-only. |
compliancePolicyName | String | Name of the device compliance policy. Optional. Read-only. |
compliancePolicyPlatform | String | Platform for the device compliance policy. Possible values are: android , androidForWork , iOS , macOS , windowsPhone81 , windows81AndLater , windows10AndLater , androidWorkProfile , androidAOSP , all . Optional. Read-only. |
compliancePolicyType | String | The type of compliance policy. Optional. Read-only. |
id | String | Unique identifier for the aggregate device compliance policy. Required. Read-only |
lastRefreshedDateTime | DateTimeOffset | Date and time the entity was last updated in the multi-tenant management platform. Optional. Read-only. |
numberOfCompliantDevices | Int64 | The number of devices that are in a compliant status. Optional. Read-only. |
numberOfErrorDevices | Int64 | The number of devices that are in an error status. Optional. Read-only. |
numberOfNonCompliantDevices | Int64 | The number of device that are in a non-compliant status. Optional. Read-only. |
policyModifiedDateTime | DateTimeOffset | The date and time the device policy was last modified. Optional. Read-only. |
tenantDisplayName | String | The display name for the managed tenant. Optional. Read-only. |
tenantId | String | The Microsoft Entra tenant identifier for the managed tenant. Optional. Read-only. |
None.
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.managedTenants.aggregatedPolicyCompliance",
"id": "String (identifier)",
"tenantId": "String",
"tenantDisplayName": "String",
"compliancePolicyId": "String",
"compliancePolicyName": "String",
"compliancePolicyType": "String",
"compliancePolicyPlatform": "String",
"numberOfCompliantDevices": "Integer",
"numberOfNonCompliantDevices": "Integer",
"numberOfErrorDevices": "Integer",
"policyModifiedDateTime": "String (timestamp)",
"lastRefreshedDateTime": "String (timestamp)"
}