Microsoft.Management (preview:2024-02-01)

2025/04/30 • 25 new methods

ManagementGroups_List (new)
Description List management groups for the authenticated user.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups
{
api-version: string ,
Cache-Control: string ,
$skiptoken: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
type: string ,
name: string ,
properties:
{
tenantId: string ,
displayName: string ,
}
,
}
,
]
,
@nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
ManagementGroups_Get (new)
Description Get the details of the management group.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{groupId}
{
groupId: string ,
api-version: string ,
$expand: string ,
$recurse: boolean ,
$filter: string ,
Cache-Control: string ,
}

⚐ Response (200)

{
id: string ,
type: string ,
name: string ,
properties:
{
tenantId: string ,
displayName: string ,
details:
{
version: number ,
updatedTime: string ,
updatedBy: string ,
parent:
{
id: string ,
name: string ,
displayName: string ,
}
,
path:
[
{
name: string ,
displayName: string ,
}
,
]
,
managementGroupAncestors:
[
string ,
]
,
managementGroupAncestorsChain:
[
{
name: string ,
displayName: string ,
}
,
]
,
}
,
children:
[
{
type: enum ,
id: string ,
name: string ,
displayName: string ,
children:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
ManagementGroups_CreateOrUpdate (new)
Description Create or update a management group. If a management group is already created and a subsequent create request is issued with different properties, the management group properties will be updated.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Management/managementGroups/{groupId}
{
groupId: string ,
api-version: string ,
Cache-Control: string ,
createManagementGroupRequest:
{
id: string ,
type: string ,
name: string ,
properties:
{
tenantId: string ,
displayName: string ,
details:
{
version: number ,
updatedTime: string ,
updatedBy: string ,
parent:
{
id: string ,
name: string ,
displayName: string ,
}
,
}
,
children:
[
{
type: enum ,
id: string ,
name: string ,
displayName: string ,
children:
[
string ,
]
,
}
,
]
,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
type: string ,
name: string ,
properties:
{
tenantId: string ,
displayName: string ,
details:
{
version: number ,
updatedTime: string ,
updatedBy: string ,
parent:
{
id: string ,
name: string ,
displayName: string ,
}
,
path:
[
{
name: string ,
displayName: string ,
}
,
]
,
managementGroupAncestors:
[
string ,
]
,
managementGroupAncestorsChain:
[
{
name: string ,
displayName: string ,
}
,
]
,
}
,
children:
[
{
type: enum ,
id: string ,
name: string ,
displayName: string ,
children:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (202)

{
$headers:
{
location: string ,
azure-asyncoperation: string ,
}
,
$schema:
{
id: string ,
type: string ,
name: string ,
status: string ,
properties:
{
tenantId: string ,
displayName: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
ManagementGroups_Update (new)
Description Update a management group.
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Management/managementGroups/{groupId}
{
groupId: string ,
api-version: string ,
Cache-Control: string ,
patchGroupRequest:
{
displayName: string ,
parentGroupId: string ,
}
,
}

⚐ Response (200)

{
id: string ,
type: string ,
name: string ,
properties:
{
tenantId: string ,
displayName: string ,
details:
{
version: number ,
updatedTime: string ,
updatedBy: string ,
parent:
{
id: string ,
name: string ,
displayName: string ,
}
,
path:
[
{
name: string ,
displayName: string ,
}
,
]
,
managementGroupAncestors:
[
string ,
]
,
managementGroupAncestorsChain:
[
{
name: string ,
displayName: string ,
}
,
]
,
}
,
children:
[
{
type: enum ,
id: string ,
name: string ,
displayName: string ,
children:
[
string ,
]
,
}
,
]
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
ManagementGroups_Delete (new)
Description Delete management group. If a management group contains child resources, the request will fail.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Management/managementGroups/{groupId}
{
groupId: string ,
api-version: string ,
Cache-Control: string ,
}

⚐ Response (202)

{
$headers:
{
location: string ,
azure-asyncoperation: string ,
}
,
$schema:
{
id: string ,
type: string ,
name: string ,
status: string ,
properties:
{
tenantId: string ,
displayName: string ,
}
,
}
,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
ManagementGroups_GetDescendants (new)
Description List all entities that descend from a management group.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{groupId}/descendants
{
groupId: string ,
api-version: string ,
$skiptoken: string ,
$top: integer ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
type: string ,
name: string ,
properties:
{
displayName: string ,
parent:
{
id: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
ManagementGroupSubscriptions_Create (new)
Description Associates existing subscription with the management group.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}
{
groupId: string ,
subscriptionId: string ,
api-version: string ,
Cache-Control: string ,
}

⚐ Response (200)

{
id: string ,
type: string ,
name: string ,
properties:
{
tenant: string ,
displayName: string ,
parent:
{
id: string ,
}
,
state: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
ManagementGroupSubscriptions_Delete (new)
Description De-associates subscription from the management group.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}
{
groupId: string ,
subscriptionId: string ,
api-version: string ,
Cache-Control: string ,
}

⚐ Response (200)

{}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
ManagementGroupSubscriptions_GetSubscription (new)
Description Retrieves details about given subscription which is associated with the management group.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{groupId}/subscriptions/{subscriptionId}
{
groupId: string ,
subscriptionId: string ,
api-version: string ,
Cache-Control: string ,
}

⚐ Response (200)

{
id: string ,
type: string ,
name: string ,
properties:
{
tenant: string ,
displayName: string ,
parent:
{
id: string ,
}
,
state: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
ManagementGroupSubscriptions_GetSubscriptionsUnderManagementGroup (new)
Description Retrieves details about all subscriptions which are associated with the management group.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{groupId}/subscriptions
{
groupId: string ,
api-version: string ,
$skiptoken: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
type: string ,
name: string ,
properties:
{
tenant: string ,
displayName: string ,
parent:
{
id: string ,
}
,
state: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
HierarchySettings_List (new)
Description Gets all the hierarchy settings defined at the Management Group level. Settings can only be set on the root Management Group of the hierarchy.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{groupId}/settings
{
groupId: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
type: string ,
name: string ,
properties:
{
tenantId: string ,
requireAuthorizationForGroupCreation: boolean ,
defaultManagementGroup: string ,
}
,
}
,
]
,
@nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
HierarchySettings_Get (new)
Description Gets the hierarchy settings defined at the Management Group level. Settings can only be set on the root Management Group of the hierarchy.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/managementGroups/{groupId}/settings/default
{
groupId: string ,
api-version: string ,
}

⚐ Response (200)

{
id: string ,
type: string ,
name: string ,
properties:
{
tenantId: string ,
requireAuthorizationForGroupCreation: boolean ,
defaultManagementGroup: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
HierarchySettings_CreateOrUpdate (new)
Description Creates or updates the hierarchy settings defined at the Management Group level.
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Management/managementGroups/{groupId}/settings/default
{
groupId: string ,
api-version: string ,
CreateTenantSettingsRequest:
{
properties:
{
requireAuthorizationForGroupCreation: boolean ,
defaultManagementGroup: string ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
type: string ,
name: string ,
properties:
{
tenantId: string ,
requireAuthorizationForGroupCreation: boolean ,
defaultManagementGroup: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
HierarchySettings_Update (new)
Description Updates the hierarchy settings defined at the Management Group level.
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Management/managementGroups/{groupId}/settings/default
{
groupId: string ,
api-version: string ,
CreateTenantSettingsRequest:
{
properties:
{
requireAuthorizationForGroupCreation: boolean ,
defaultManagementGroup: string ,
}
,
}
,
}

⚐ Response (200)

{
id: string ,
type: string ,
name: string ,
properties:
{
tenantId: string ,
requireAuthorizationForGroupCreation: boolean ,
defaultManagementGroup: string ,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
HierarchySettings_Delete (new)
Description Deletes the hierarchy settings defined at the Management Group level.
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Management/managementGroups/{groupId}/settings/default
{
groupId: string ,
api-version: string ,
}

⚐ Response (200)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
Operations_List (new)
Description Lists all of the available Management REST API operations.
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/operations
{
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
name: string ,
display:
{
provider: string ,
resource: string ,
operation: string ,
description: string ,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
CheckNameAvailability (new)
Description Checks if the specified management group name is valid and unique
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Management/checkNameAvailability
{
api-version: string ,
checkNameAvailabilityRequest:
{
name: string ,
type: enum ,
}
,
}

⚐ Response (200)

{
nameAvailable: boolean ,
reason: enum ,
message: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
Entities_List (new)
Description List all entities (Management Groups, Subscriptions, etc.) for the authenticated user.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Management/getEntities
{
api-version: string ,
$skiptoken: string ,
$skip: integer ,
$top: integer ,
$select: string ,
$search: string ,
$filter: string ,
$view: string ,
groupName: string ,
Cache-Control: string ,
}

⚐ Response (200)

{
value:
[
{
id: string ,
type: string ,
name: string ,
properties:
{
tenantId: string ,
displayName: string ,
parent:
{
id: string ,
}
,
permissions: enum ,
inheritedPermissions: enum ,
numberOfDescendants: integer ,
numberOfChildren: integer ,
numberOfChildGroups: integer ,
parentDisplayNameChain:
[
string ,
]
,
parentNameChain:
[
string ,
]
,
}
,
}
,
]
,
count: integer ,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
StartTenantBackfill (new)
Description Starts backfilling subscriptions for the Tenant.
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Management/startTenantBackfill
{
api-version: string ,
}

⚐ Response (200)

{
tenantId: string ,
status: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
TenantBackfillStatus (new)
Description Gets tenant backfill status
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Management/tenantBackfillStatus
{
api-version: string ,
}

⚐ Response (200)

{
tenantId: string ,
status: enum ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
details: string ,
}
,
}
ServiceGroups_Get (new)
Description Get the details of the serviceGroup
Reference Link ¶

⚼ Request

GET:  /providers/Microsoft.Management/serviceGroups/{serviceGroupName}
{
serviceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
kind: string ,
tags: object ,
properties:
{
provisioningState: enum ,
displayName: string ,
parent:
{
resourceId: string ,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
CreateOrUpdateServiceGroup (new)
Description Create or Update a serviceGroup
Reference Link ¶

⚼ Request

PUT:  /providers/Microsoft.Management/serviceGroups/{serviceGroupName}
{
serviceGroupName: string ,
api-version: string ,
createServiceGroupRequest:
{
kind: string ,
tags: object ,
properties:
{
provisioningState: enum ,
displayName: string ,
parent:
{
resourceId: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
kind: string ,
tags: object ,
properties:
{
provisioningState: enum ,
displayName: string ,
parent:
{
resourceId: string ,
}
,
}
,
}

⚐ Response (201)

{
$headers:
{
azure-asyncoperation: string ,
}
,
$schema:
{
kind: string ,
tags: object ,
properties:
{
provisioningState: enum ,
displayName: string ,
parent:
{
resourceId: string ,
}
,
}
,
}
,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
UpdateServiceGroup (new)
Description Update a serviceGroup
Reference Link ¶

⚼ Request

PATCH:  /providers/Microsoft.Management/serviceGroups/{serviceGroupName}
{
serviceGroupName: string ,
api-version: string ,
updateServiceGroupRequest:
{
kind: string ,
tags: object ,
properties:
{
provisioningState: enum ,
displayName: string ,
parent:
{
resourceId: string ,
}
,
}
,
}
,
}

⚐ Response (200)

{
kind: string ,
tags: object ,
properties:
{
provisioningState: enum ,
displayName: string ,
parent:
{
resourceId: string ,
}
,
}
,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
DeleteServiceGroup (new)
Description Delete a ServiceGroup
Reference Link ¶

⚼ Request

DELETE:  /providers/Microsoft.Management/serviceGroups/{serviceGroupName}
{
serviceGroupName: string ,
api-version: string ,
}

⚐ Response (202)

{
location: string ,
}

⚐ Response (204)

{}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}
ServiceGroups_ListAncestors (new)
Description Get the details of the serviceGroup's ancestors
Reference Link ¶

⚼ Request

POST:  /providers/Microsoft.Management/serviceGroups/{serviceGroupName}/listAncestors
{
serviceGroupName: string ,
api-version: string ,
}

⚐ Response (200)

{
value:
[
{
kind: string ,
tags: object ,
properties:
{
provisioningState: enum ,
displayName: string ,
parent:
{
resourceId: string ,
}
,
}
,
}
,
]
,
nextLink: string ,
}

⚐ Response (default)

{
error:
{
code: string ,
message: string ,
target: string ,
details:
[
string ,
]
,
additionalInfo:
[
{
type: string ,
info: object ,
}
,
]
,
}
,
}