Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Namespace: microsoft.graph
Important
APIs under the /beta version in Microsoft Graph are subject to change. Use of these APIs in production applications is not supported. To determine whether an API is available in v1.0, use the Version selector.
Contains the outcome returned by the Evaluate policy and Evaluate assigned policies actions on resourcePolicyRoot.
The reported policy effect is independent of enforcement mode. isBlocked indicates whether the service would block the simulated request. These actions don't perform that request.
When isResultDetailed is false, details can still contain policy loading or evaluation errors. Use errorDetails on each detail to diagnose failures.
Methods
None.
Properties
| Property | Type | Description |
|---|---|---|
| appliedPoliciesEffects | policyEffects | The aggregate policy effect, independent of enforcement mode. If any policy returns deny, the result is deny; otherwise, including when no policies apply, it is compliant. Read-only. This flagged enumeration allows multiple members to be selected simultaneously. The possible values are: compliant, deny, unknownFutureValue. |
| details | policiesEvaluationDetail collection | The per-policy evaluation results. Entries with errorDetails can be returned even when detailed successful results weren't requested. Read-only. |
| httpMethod | requestHttpMethod | The HTTP method of the request that was evaluated. Read-only. The possible values are: post, patch, put, get, delete, unknownFutureValue. |
| isBlocked | Boolean | Indicates whether the resource policy service would block the simulated request. Evaluation actions don't perform the simulated request. Read-only. |
| message | String | A human-readable evaluation outcome or reason evaluation was skipped. A noncompliance message names at most four policy assignments and can append 'and others'. Read-only. |
| normalizedRequestInput | Json | The input document passed to the policy engine, including request context and resource data. Populated only when includeNormalizedRequestInput is true and evaluation isn't skipped. Read-only. |
| resourceUri | String | The URI of the request or resource that was evaluated. Read-only. |
Relationships
None.
JSON representation
The following JSON representation shows the resource type.
{
"@odata.type": "#microsoft.graph.policiesEvaluationResult",
"resourceUri": "String",
"httpMethod": "String",
"appliedPoliciesEffects": "String",
"isBlocked": "Boolean",
"message": "String",
"normalizedRequestInput": {
"@odata.type": "microsoft.graph.Json"
},
"details": [
{
"@odata.type": "microsoft.graph.policiesEvaluationDetail"
}
]
}