---
title: "PUT /providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}"
method: PUT
path: "/providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}"
tags: ["ManagementGroups"]
---

# PUT /providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}

`PUT /providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}`

Associates existing subscription with the management group.

## Path parameters

- `groupId` string, required
- `subscriptionId` string, required

## Query parameters

- `api-version` string, required

## Headers

- `Cache-Control` string

## Response `204`

NoContent

## Other responses

- `default` — Error

---

[API](https://skmtc.net/azure/apis/management-groups-api.md) · [All operations](https://skmtc.net/azure/apis/management-groups-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/azure/management-groups-api/versions/8dbdf580df07/schema)
