---
title: "Retrieve solution."
method: GET
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}"
tags: ["Solution"]
---

# Retrieve solution.

`GET /subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}`

Retrieves the user solution.

## Path parameters

- `subscriptionId` string, required
- `resourceGroupName` string, required
- `solutionName` string, required

## Query parameters

- `api-version` string, required

## Response `200`

OK response definition.

- Solution — The container for solution.
  - `id` string — Resource ID.
  - `name` string — Resource name.
  - `type` string — Resource type.
  - `location` string — Resource location
  - `tags` object — Resource tags
  - `plan` SolutionPlan — Plan for solution object supported by the OperationsManagement resource provider.
    - `name` string — name of the solution to be created. For Microsoft published solution it should be in the format of solutionType(workspaceName). SolutionType part is case sensitive. For third party solution, it can be anything.
    - `publisher` string — Publisher name. For gallery solution, it is Microsoft.
    - `promotionCode` string — promotionCode, Not really used now, can you left as empty
    - `product` string — name of the solution to enabled/add. For Microsoft published gallery solution it should be in the format of OMSGallery/<solutionType>. This is case sensitive
  - `properties` SolutionProperties — Solution properties supported by the OperationsManagement resource provider.
    - `workspaceResourceId` string, required — The azure resourceId for the workspace where the solution will be deployed/enabled.
    - `provisioningState` string — The provisioning state for the solution.
    - `containedResources` string[] — The azure resources that will be contained within the solutions. They will be locked and gets deleted automatically when the solution is deleted.
    - `referencedResources` string[] — The resources that will be referenced from this solution. Deleting any of those solution out of band will break the solution.

## Other responses

- `default` — Error response definition.

---

[API](https://skmtc.dev/azure/apis/azure-log-analytics-operations-management.md) · [All operations](https://skmtc.dev/azure/apis/azure-log-analytics-operations-management/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/azure/azure-log-analytics-operations-management/revisions/3c5d7c96843e/schema)
