---
title: "GET /deviceUpdate/{instanceId}/management/operations/{operationId}"
method: GET
path: "/deviceUpdate/{instanceId}/management/operations/{operationId}"
tags: ["Device and deployment management"]
---

# GET /deviceUpdate/{instanceId}/management/operations/{operationId}

`GET /deviceUpdate/{instanceId}/management/operations/{operationId}`

Retrieve operation status.

## Path parameters

- `instanceId` string, required
- `operationId` string, required

## Query parameters

- `api-version` string, required

## Headers

- `If-None-Match` string

## Response `200`

The request has succeeded.

- DeviceOperation — Operation metadata.
  - `operationId` string, required — Operation Id.
  - `status` 'NotStarted' | 'Running' | 'Succeeded' | 'Failed', required — Operation status.
  - `error` Error — Error details.
    - `code` string, required — Server defined error code.
    - `message` string, required — A human-readable representation of the error.
    - `target` string — The target of the error.
    - `details` Error[] — An array of errors that led to the reported error.
    - `innererror` InnerError — An object containing more specific information than the current object about the error.
      - `code` string, required — A more specific error code than what was provided by the containing error.
      - `message` string — A human-readable representation of the error.
      - `errorDetail` string — The internal error or exception message.
      - `innerError` InnerError — recursive
    - `occurredDateTime` string, date-time — Date and time in UTC when the error occurred.
  - `traceId` string — Operation correlation identity that can used by Microsoft Support for troubleshooting.
  - `lastActionDateTime` string, date-time, required — Date and time in UTC when the operation status was last updated.
  - `createdDateTime` string, date-time, required — Date and time in UTC when the operation was created.
  - `etag` string — Operation ETag.

## Other responses

- `default` — An unexpected error response.

## Changes

> 6 revisions in range; 1 could not be searched.

- **2026-07-13** (2020-09-01) `5ba53cf1b884` — 1 info
  - endpoint added
- **2026-07-13** (2020-09-01) `6f894985f81d` — 2 info
  - api operation id `DeviceManagement_GetOperation` removed and replaced with `DeviceManagement_GetOperationStatus`
  - removed the non-success response with the status `304`
- **2021-03-02** (2020-09-01) `be0eed01a5b1` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/azure/apis/deviceupdate-microsoft-deviceupdate/changes/deviceUpdate/:instanceId/management/operations/:operationId/get.md)

---

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