---
title: "GET /subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/operationstatuses/{operationId}"
method: GET
path: "/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/operationstatuses/{operationId}"
tags: ["Servers"]
---

# GET /subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/operationstatuses/{operationId}

`GET /subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/operationstatuses/{operationId}`

## Request

- Base URL: `https://management.azure.com`
- URL: `https://management.azure.com/subscriptions/{subscriptionId}/providers/Microsoft.AnalysisServices/locations/{location}/operationstatuses/{operationId}`
- Auth: OAuth 2
  - Implicit: `https://login.microsoftonline.com/common/oauth2/authorize`
  - Scopes: `user_impersonation`

List the status of operation.

## Path parameters

- `location` string, required
- `operationId` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK. The operation completed.

- OperationStatus: The status of operation.
  - `id` string: The operation Id.
  - `name` string: The operation name.
  - `startTime` string: The start time of the operation.
  - `endTime` string: The end time of the operation.
  - `status` string: The status of the operation.
  - `error` ErrorDetail: The error detail.
    - `code` string: The error code.
    - `message` string: The error message.
    - `target` string: The error target.
    - `subCode` integer: The error sub code
    - `httpStatusCode` integer: The http status code
    - `timeStamp` string: the timestamp for the error.
    - `details` ErrorDetail[]: The error details.
    - `additionalInfo` ErrorAdditionalInfo[]: The error additional info.
      - `type` string: The additional info type.
      - `info` object: The additional info.

## Other responses

- `202`: Accepted. The operation is ongoing.
- `default`: Error response describing why the operation failed.

---

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