---
title: "Patch a Solution."
method: PATCH
path: "/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationsManagement/solutions/{solutionName}"
tags: ["Solution"]
---

# Patch a Solution.

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

Patch a Solution. Only updating tags supported.

## Path parameters

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

## Query parameters

- `api-version` string, required

## Request body

- SolutionPatch — The properties of a Solution that can be patched.
  - `tags` object — Resource tags

## Response `200`

Patch succeeded.

- 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.

## Changes

- **2019-05-07** (2015-11-01-preview) `daf7c29474bf` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/azure/apis/azure-log-analytics-operations-management/changes/subscriptions/:subscriptionId/resourcegroups/:resourceGroupName/providers/Microsoft.OperationsManagement/solutions/:solutionName/patch.md)

---

[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)
