Azure Managementgroups Management
Azure Management Groups is an Azure governance service for organizing subscriptions into a hierarchy for policy, access, and compliance management.
- Base URL:
https://management.azure.com - Auth: OAuth 2.0 (user-delegated) — attach an InTouch
oauthcredential. Mint one withitcli.py /oauth <provider>(device-code) or/google-auth(Google); the server auto-refreshes the access token before each run, so the connector never handles or stores tokens.
Operations
managementgroups_list— GET /providers/Microsoft.Management/managementGroups — List management groups for the authenticated user.managementgroups_get— GET /providers/Microsoft.Management/managementGroups/{groupId} — Get the details of the management group.-
managementgroups_getdescendants— GET /providers/Microsoft.Management/managementGroups/{groupId}/descendants — List all entities that descend from a management group. -
operations_list— GET /providers/Microsoft.Management/operations — Lists all of the available Management REST API operations. checknameavailability— POST /providers/Microsoft.Management/checkNameAvailability — Checks if the specified management group name is valid and uniqueentities_list— POST /providers/Microsoft.Management/getEntities — List all entities (Management Groups, Subscriptions, etc.) for the authenticated
Inputs
- a linked
oauthcredential (no key inputs) — the server injects a freshAuthorization: Bearerfrom it operation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: managementgroups_list
# (attach an 'oauth' credential to the task — no inline secrets)
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
operation |
string | yes | — | One of: managementgroups_list, managementgroups_get, managementgroups_getdescendants, operations_list, checknameavailability, entities_list |
groupId |
string | no | — | Path parameter groupId (required by some operations). |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |