---
title: "GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}"
method: GET
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}"
tags: ["DeploymentOperations"]
---

# GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}

`GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/deployments/{deploymentName}/operations/{operationId}`

Gets a deployments operation.

## Path parameters

- `deploymentName` string, required
- `operationId` string, required

## Parameters

- `../../../../../../common-types/resource-management/v3/types.json#/components/parameters/ApiVersionParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v3/types.json#/components/parameters/ResourceGroupNameParameter` — unresolved $ref
- `../../../../../../common-types/resource-management/v3/types.json#/components/parameters/SubscriptionIdParameter` — unresolved $ref

## Response `200`

Azure operation completed successfully.

- DeploymentOperation — Deployment operation information.
  - `id` string — Full deployment operation ID.
  - `operationId` string — Deployment operation ID.
  - `properties` DeploymentOperationProperties — Deployment operation properties.
    - `provisioningOperation` 'NotSpecified' | 'Create' | 'Delete' | 'Waiting' | 'AzureAsyncOperationWaiting' | 'ResourceCacheWaiting' | 'Action' | 'Read' | 'EvaluateDeploymentOutput' | 'DeploymentCleanup' — The name of the current provisioning operation.
    - `provisioningState` string — The state of the provisioning.
    - `timestamp` string, date-time — The date and time of the operation.
    - `duration` string — The duration of the operation.
    - `serviceRequestId` string — Deployment operation service request id.
    - `statusCode` string — Operation status code from the resource provider. This property may not be set if a response has not yet been received.
    - `statusMessage` StatusMessage — Operation status message object.
      - `status` string — Status of the deployment operation.
      - `error` ErrorResponse — Common error response for all Azure Resource Manager APIs to return error details for failed operations. (This also follows the OData error response format.)
        - `code` string — The error code.
        - `message` string — The error message.
        - `target` string — The error target.
        - `details` ErrorResponse[] — The error details.
        - `additionalInfo` ErrorAdditionalInfo[] — The error additional info. — unresolved $ref
    - `targetResource` TargetResource — Target resource.
      - `id` string — The Azure resource ID of the resource.
      - `resourceName` string — The name of the resource.
      - `resourceType` string — The type of the resource.
      - `extension` DeploymentExtensionDefinition
        - `alias` string — The alias of the extension as defined in the deployment template.
        - `name` string — The extension name.
        - `version` string — The extension version.
        - `configId` string — The extension configuration ID. It uniquely identifies a deployment control plane within an extension.
        - `config` object — The extension configuration.
      - `identifiers` unknown
      - `apiVersion` string — The API version the resource was deployed with.
      - `symbolicName` string — The symbolic name of the resource as defined in the deployment template.
    - `request` HttpMessage — HTTP message.
      - `content` unknown
    - `response` HttpMessage — HTTP message.
      - `content` unknown

## Other responses

- `default` — An unexpected error response.

## Changes

- **2026-07-13** (2015-11-01) `ea64f4e7e898` — 3 warning
  - deleted the `path` request parameter `resourceGroupName`
  - deleted the `path` request parameter `subscriptionId`
  - deleted the `query` request parameter `api-version`

[Change history](https://skmtc.dev/azure/apis/resources-microsoft-resources-deployments/changes/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/deployments/:deploymentName/operations/:operationId/get.md)

---

[API](https://skmtc.dev/azure/apis/resources-microsoft-resources-deployments.md) · [All operations](https://skmtc.dev/azure/apis/resources-microsoft-resources-deployments/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/resources-microsoft-resources-deployments/revisions/ea64f4e7e898/schema)
