---
title: "POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/evaluateDeploymentPolicies"
method: POST
path: "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/evaluateDeploymentPolicies"
tags: ["CognitiveServicesAccounts"]
---

# POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/evaluateDeploymentPolicies

`POST /subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/evaluateDeploymentPolicies`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/Microsoft.CognitiveServices/accounts/{accountName}/evaluateDeploymentPolicies`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

Evaluate Azure Policy compliance for a set of hypothetical deployments without creating them.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `accountName` string, required

## Query parameters

- `api-version` string, required

## Request body

- EvaluateDeploymentPoliciesRequest: Request body for the evaluateDeploymentPolicies action.
  - `deployments` EvaluateDeploymentPoliciesDeployment[], required: The list of hypothetical deployments to evaluate against Azure Policy.
    - `name` string, required: The name of the hypothetical deployment.
    - `properties` EvaluateDeploymentPoliciesDeploymentProperties, required: Properties of a hypothetical deployment for policy evaluation.
      - `model` DeploymentModel, required: Properties of Cognitive Services account deployment model.
        - `publisher` string: Deployment model publisher.
        - `format` string: Deployment model format.
        - `name` string: Deployment model name.
        - `version` string: Optional. Deployment model version. If version is not specified, a default version will be assigned. The default version is different for different models and might change when there is new version available for a model. Default version for a model could be found from list models API.
        - `source` string: Optional. Deployment model source ARM resource ID.
        - `sourceAccount` string, arm-id: Optional. Source of the model, another Microsoft.CognitiveServices accounts ARM resource ID.
        - `callRateLimit` CallRateLimit: The call rate limit Cognitive Services account.
          - `count` number, float: The count value of Call Rate Limit.
          - `renewalPeriod` number, float: The renewal period in seconds of Call Rate Limit.
          - `rules` ThrottlingRule[]
            - `key` string
            - `renewalPeriod` number, float
            - `count` number, float
            - `minCount` number, float
            - `dynamicThrottlingEnabled` boolean
            - `matchPatterns` RequestMatchPattern[]
              - …
      - `raiPolicyName` string: The name of the RAI policy to evaluate.

## Response `200`

Azure operation completed successfully.

- EvaluateDeploymentPoliciesResponse: Response body for the evaluateDeploymentPolicies action.
  - `results` object: Per-deployment policy evaluation results, keyed by deployment name.

## Other responses

- `default`: An unexpected error response.

## Changes

- **2026-07-13** (2016-02-01-preview) `d0eb21b3d2a7`: 1 info
  - endpoint added
- **2026-07-13** (2016-02-01-preview) `32709aa3d659`: 1 breaking
  - api path removed without deprecation
- **2026-07-13** (2016-02-01-preview) `b3752b9dd1c8`: 1 info
  - endpoint added
- **2017-12-28** (2016-02-01-preview) `9fddc284caf8`: 1 breaking
  - api path removed without deprecation

[Operation history](https://skmtc.dev/azure/apis/cognitiveservices-microsoft-cognitiveservices/changes/subscriptions/:subscriptionId/resourceGroups/:resourceGroupName/providers/Microsoft.CognitiveServices/accounts/:accountName/evaluateDeploymentPolicies/post.md)

---

[API](https://skmtc.dev/azure/apis/cognitiveservices-microsoft-cognitiveservices.md) - [All operations](https://skmtc.dev/azure/apis/cognitiveservices-microsoft-cognitiveservices/llms.txt) - [OpenAPI document](https://skmtc.dev/azure/apis/cognitiveservices-microsoft-cognitiveservices/revisions/d0eb21b3d2a7?raw)
