---
title: "GET /providers/Microsoft.RecommendationsService/locations/{location}/operationStatuses/{operationId}"
method: GET
path: "/providers/Microsoft.RecommendationsService/locations/{location}/operationStatuses/{operationId}"
---

# GET /providers/Microsoft.RecommendationsService/locations/{location}/operationStatuses/{operationId}

`GET /providers/Microsoft.RecommendationsService/locations/{location}/operationStatuses/{operationId}`

## Request

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

Returns the current status of an async operation.

## Parameters

- `../../../../../../common-types/resource-management/v2/types.json#/components/parameters/ApiVersionParameter` (unresolved $ref)
- `../../../../../../common-types/resource-management/v2/types.json#/components/parameters/LocationParameter` (unresolved $ref)
- `../../../../../../common-types/resource-management/v2/types.json#/components/parameters/OperationIdParameter` (unresolved $ref)

## Response `200`

Requested operation status

- OperationStatusResult (unresolved $ref)

## Other responses

- `default`: Error response describing why the operation failed.

---

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