Skip to content

Commit 7026446

Browse files
author
Rich Thorn
committed
updates to add rbac and portal
1 parent e063eee commit 7026446

File tree

6 files changed

+108
-16
lines changed

6 files changed

+108
-16
lines changed
Lines changed: 90 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,90 @@
1+
---
2+
title: "Quickstart: Create a service group with REST API"
3+
description: In this quickstart, you use REST API to create a service group to organize your resources.
4+
author: rthorn17
5+
ms.author: rithorn
6+
ms.service: azure-governance
7+
ms.topic: quickstart
8+
ms.date: 5/19/2025
9+
---
10+
11+
12+
# Quickstart: Create a service group (preview) with REST API
13+
14+
Azure Service Groups offer a flexible way to organize and manage resources across subscriptions and resource groups, parallel to any existing Azure resource hierarchy. They're ideal for scenarios requiring cross-boundary grouping, minimal permissions, and aggregations of data across resources. These features empower teams to create tailored resource collections that align with operational, organizational, or persona-based needs. This article helps give you an overview of what Service Groups are, the scenarios to use them for, and provide guidance on how to get started. For more information on service groups, see [Getting started with Service Groups](overview.md).
15+
16+
> [!IMPORTANT]
17+
> Azure Service Groups is currently in PREVIEW.
18+
> For more information about participating in the preview, see [Azure Service Groups Preview](https://go.microsoft.com/fwlink/p/?linkid=2320124).
19+
> See the [Supplemental Terms of Use for Microsoft Azure Previews](https://azure.microsoft.com/support/legal/preview-supplemental-terms/) for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.
20+
21+
## Prerequisites
22+
23+
- If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/free/)
24+
account before you begin.
25+
26+
- Any Microsoft Entra ID user in the tenant can create a management group without the management group write
27+
permission assigned to that user if
28+
[hierarchy protection](./how-to/protect-resource-hierarchy.md#setting-require-authorization)
29+
isn't enabled. This new management group becomes a child of the Root Management Group or the
30+
[default management group](./how-to/protect-resource-hierarchy.md#setting-define-the-default-management-group)
31+
and the creator is given an Owner role assignment. Management group service allows this ability
32+
so that role assignments aren't needed at the root level. When the Root
33+
Management Group is created, users don't have access to it. To start using management groups, the service allows the creation of the initial management groups at the root level. For more information, see [Root management group for each directory](./overview.md#root-management-group-for-each-directory).
34+
35+
## Create in Azure portal
36+
37+
1. Log into the [Azure portal](https://portal.azure.com).
38+
39+
1. Select **All services** > **Management + governance**.
40+
41+
1. Select **Service Groups**.
42+
43+
1. Select **+ Add service group**.
44+
45+
![Screenshot of new SG screen](./media/create_SG.png)
46+
47+
1. Fill in the service group ID field
48+
49+
- The **Service Group ID** is the directory unique identifier that is used to submit commands
50+
on this service group. This identifier isn't editable after creation as it's used throughout
51+
the Azure system to identify this group. The
52+
[root service group](./overview.md#the-root-service-group) is
53+
automatically created with an ID that is the Microsoft Entra ID. For all other
54+
service groups, assign a unique ID.
55+
- The display name field is the name that is displayed within the Azure portal. A separate
56+
display name is an optional field when creating the service group and can be changed at any time.
57+
58+
1. Select the **Parent Service Group**.
59+
60+
1. Select "Next"
61+
62+
1. The review page shows
63+
64+
![The review page for creating a new service group](./media/create_review_sg.png)
65+
66+
1. If all information is correct, select **Create**
67+
68+
## Clean up resources
69+
70+
1. Select **All services** > **Management + governance**.
71+
72+
1. Select **Service Groups**.
73+
74+
1. Find the service group created that you want to delete, select it, then select the box.
75+
76+
1. Select the **delete** button at the top of the page.
77+
78+
## Next steps
79+
80+
In this quickstart, you created a service group. The service group can hold subscriptions, resource groups, or resources.
81+
82+
To learn more about service groups and how to manage your hierarchy, continue to:
83+
84+
> [!div class="nextstepaction"]
85+
> [How to: Manage Service Groups](manage-service-groups.md)
86+
87+
## Related content
88+
* [What are Azure Service Groups?](overview.md)
89+
* [How to: Manage Service Groups](manage-service-groups.md)
90+
* [Connect service group members with REST API](create-service-group-member-rest-api.md)

articles/governance/service-groups/index.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@ landingContent:
2323
links:
2424
- text: Create a service group with REST API
2525
url: ./create-service-group-rest-api.md
26+
- text: Create a service group in Azure portal
27+
url: ./create-service-group-portal.md
2628
- text: Connect Service Group members using the REST API
2729
url: ./create-service-group-member-rest-api.md
2830
- text: How to use Service Groups to manage resources
54.9 KB
Loading
68.2 KB
Loading

articles/governance/service-groups/overview.md

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ ms.date: 05/19/2025
1010

1111
# What are Azure Service Groups?
1212

13-
Azure Service Groups offer a flexible way to organize and manage resources across subscriptions and resource groups, parallel to any existing Azure resource hierarchy. They are ideal for scenarios requiring cross-boundary grouping, minimal permissions, and aggregations of data across resources. These features empower teams to create tailored resource collections that align with operational, organizational, or persona-based needs. This article helps give you an overview of what Service Groups are, the scenarios to use them for, and provide guidance on how to get started.
13+
Azure Service Groups offer a flexible way to organize and manage resources across subscriptions and resource groups, parallel to any existing Azure resource hierarchy. They're ideal for scenarios requiring cross-boundary grouping, minimal permissions, and aggregations of data across resources. These features empower teams to create tailored resource collections that align with operational, organizational, or persona-based needs. This article helps give you an overview of what Service Groups are, the scenarios to use them for, and provide guidance on how to get started.
1414

1515
> [!IMPORTANT]
1616
> Azure Service Groups is currently in PREVIEW.
@@ -19,17 +19,17 @@ Azure Service Groups offer a flexible way to organize and manage resources acros
1919
2020

2121
## Key capabilities
22-
- **Multiple Hierarchies**: Service Groups live outside of the resource hierarchy enabling scenarios where the same resources need to be group for different purposes.*
22+
- **Multiple Hierarchies**: Service Groups enable scenarios where the resources can be grouped in different views for multiple purposes.
2323
- **Flexible Membership**: Service Groups allow resources from different subscriptions to be grouped together, providing a unified view and management capabilities. They also allow the grouping of subscriptions, resource groups, and resources.
2424
- **Low Privilege Management**: Service Groups are designed to operate with minimal permissions, ensuring that users can manage resources without needing excessive access rights.
2525

2626

2727
### Multiple Hierarchies
28-
The same resources can be connected to many different service groups allowing different customer personas and scenarios to be created and used. With different Role Based Access Controls being assigned to the multiple Service Groups, customers can create many different views that support how they organize their resources.
28+
The same resources can be connected to many different service groups allowing different customer personas and scenarios to be created and used. Customers can create many different views that support how they organize their resources.
2929

3030
#### Example Scenarios
31-
* Separate Personas
32-
* An issue that arose frequently when trying to adopt a strict hierarchy was who would own the parent items. With Service Groups, this situation no longer becomes an issue and the different personas can have their own individual views. Customers can use the same resources to be members of a Workload Service Group, a Department Service Group, and a Service Group with all Production resources.
31+
* Varying Personas
32+
* With Service Groups, organizations have the ability to manage multiple hierarchies over the same resources for different personas and their own individual views. Customers can use the same resources to be members of a Workload Service Group, a Department Service Group, and a Service Group with all Production resources.
3333

3434
![MultipleSGTree](./media/MultiSG.png)
3535

@@ -44,24 +44,22 @@ Within the hierarchy of resources, there's a limitation of one parent resource c
4444

4545
![MGsandSGs](./media/sidebyside.png)
4646

47-
### Low Privilege Management
48-
Service Groups don't have the same inheritance capabilities that other Azure Resource Manager groups have today so that they can use minimal permissions and oversight over resources. This low privilege allows customers to assign only the required permissions needed to manage the Service Groups and its members. The [Azure Role Based Access Controls Permissions]() required to add resources can be assigned separately than the permissions to manage the Service Group itself allowing separation of duties to be defined.
49-
5047
#### Example Scenarios
5148
* Aggregating monitoring metrics
5249
* Since Service Groups don't inherit permissions to the members, customers can apply least privileges to assign permissions on the Service Groups that allow viewing of metrics. This capability provides a solution where two users can be assigned access to the same Service Group, but only one is allowed to see certain resources.
5350

5451

5552
## How it works
56-
Azure Service Groups are a separate hierarchy grouping resources that don't exist in the resource hierarchy with Resource Groups, Subscriptions, and Management Groups. The separation allows Service Groups to be connected many times to different resources and resource containers without impacting the existing structures.
53+
Azure Service Groups are a parallel hierarchy that allows the grouping of resources that don't exist in the resource hierarchy with Resource Groups, Subscriptions, and Management Groups. The separation allows Service Groups to be connected many times to different resources and resource containers without impacting the existing structures.
5754

5855
Information about Service Groups
5956
* A Service Group is created within the Microsoft.Management Resource Provider, the same Resource Provider that owns Management Groups.
6057
* Service Groups allow self nesting to create "levels" of groupings just as Management Groups do, but Service Groups can allow up to 10 levels of depth
6158
* Role assignments on the Service Group can be inherited to the **child Service Groups only**. There's **no inheritance** through the memberships to the resources or resource containers.
6259
* There's a limit of 2000 service group members coming from within the same subscription. This means that within one subscription, resources, or resource groups, there can only be 2,000 memberships to Service Groups.
6360
* Within the Preview window, there's a Limit of 10,000 Service Groups in a single tenant.
64-
* Service Groups Names support up to 250 characters. They can be alphanumeric and special characters: - _ ( ) . ~
61+
* Service Groups Names support up to 250 characters. They can be alphanumeric and special characters: - _ ( ). ~
62+
* Service Groups require a globally unique name/ID. Two Microsoft Entra tenants can't have a Service Group with identical names.
6563

6664

6765

@@ -101,13 +99,13 @@ Access to the root has to be given from a user with "microsoft.authorization/rol
10199
role-based-access-control/elevate-access-global-admin?tabs=azure-portal%2Centra-audit-logs)
102100

103101
### Role Based Access Controls
104-
Three built in roles have been created to support Service Groups in the preview.
102+
There are three built-in roles definitions to support Service Groups in the preview.
105103

106104
> [!NOTE]
107-
> Custom Role Based Access Controls (RBAC) are not supported within the Preview.
105+
> Custom Role Based Access Controls aren't supported within the Preview.
108106
109107
#### Service Group Administrator
110-
This role has been created to mange all aspects of Service Groups and Relationships. It will only allow the assignment of Service Group Roles to other Service Groups.
108+
This role manages all aspects of Service Groups and Relationships. It only allows the assignment of Service Group Roles to other Service Groups.
111109

112110
**ID**: '/providers/Microsoft.Authorization/roleDefinitions/4e50c84c-c78e-4e37-b47e-e60ffea0a775"
113111

@@ -155,7 +153,7 @@ This role has been created to mange all aspects of Service Groups and Relationsh
155153
}
156154
```
157155
#### Service Group Contributor
158-
The Service Group Contributor role is the default built-in role given to users when they create a new Service Group. This role allows fro all actions except for Role Assignment capabilities.
156+
The Service Group Contributor role is the default built-in role given to users when they create a new Service Group. This role allows fro all actions except for Role Assignment capabilities.
159157
```json
160158
{
161159
"assignableScopes": [

articles/governance/service-groups/toc.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,11 @@
44
href: overview.md
55
- name: Get started
66
items:
7-
- name: Create a service group
7+
- name: Create a service group in Azure portal
8+
href: create-service-group-portal.md
9+
- name: Create a service group with REST API
810
href: create-service-group-rest-api.md
9-
- name: Connect Service Group members
11+
- name: Connect Service Group members with REST API
1012
href: create-service-group-member-rest-api.md
1113
- name: How to use Service Groups to manage resources
1214
href: manage-service-groups.md

0 commit comments

Comments
 (0)