You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/governance/service-groups/create-service-group-member-portal.md
+32-20Lines changed: 32 additions & 20 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -9,9 +9,9 @@ ms.date: 11/3/2025
9
9
---
10
10
11
11
12
-
# Quickstart: Add resources or resource containers to service groups with Service Group Member Relationships in Portal
12
+
# Quickstart: Add resources or resource containers to service groups in the Azure portal
13
13
14
-
To add resources, resource groups, or subscriptions to a Service Group (preview), you need to create a new Service Group Member Relationship. For more information on service groups, see [Getting started with Service Groups](overview.md).
14
+
To add resources, resource groups, or subscriptions to a Service Group (preview), you create a Service Group Member Relationship. This relationship links the resource to the service group without moving it from its current location. For more information on service groups, see [What are Azure Service Groups?](overview.md).
15
15
16
16
> [!IMPORTANT]
17
17
> Azure Service Groups is currently in PREVIEW.
@@ -22,65 +22,77 @@ To add resources, resource groups, or subscriptions to a Service Group (preview)
22
22
- If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn)
23
23
account before you begin.
24
24
25
-
- To be able to deploy a service group member relationship, you must have Microsoft.Relationship/ServiceGroupMember/write permissions on member resource and [Service Group Contributor](../../role-based-access-control/built-in-roles/management-and-governance.md) at the target service group.
25
+
- An existing service group. If you haven't created one yet, see [Create a service group in the portal](create-service-group-portal.md).
26
+
27
+
- To add a member, you need both:
28
+
-**Microsoft.Relationship/ServiceGroupMember/write** permission on the resource you're adding (the member).
29
+
-[**Service Group Contributor**](../../role-based-access-control/built-in-roles/management-and-governance.md) role on the target service group.
26
30
27
31
## Add members during service group creation
28
32
29
33
1. When creating a new Service Group, there's an available `Members` tab to add resources.
30
34
31
-
:::image type="content" source="./media/members-tab-create-flow.png" alt-text="Screenshot of the members tab within the create service group page." lightbox="./media/members-tab-create-flow.png":::
35
+
:::image type="content" source="./media/members-tab-create-flow.png" alt-text="Screenshot of the members tab within the create service group page." lightbox="./media/members-tab-create-flow.png":::
32
36
33
37
2. Select to add individual resources, resource groups, or subscriptions.
34
38
35
-
3. Once selected, you can use filters to narrow the list as needed.
39
+
3. Once selected, use filters to narrow the list. You can filter by resource type, subscription, resource group, or location.
36
40
37
41
4. Once all members are chosen, press **Select**
38
42
39
43
5. All members to be added are displayed in the list.
40
44
41
-
:::image type="content" source="./media/members-list-create-flow.png" alt-text="Screenshot of the members list within the create service group page." Lightbox="./media/members-list-create-flow.png":::
45
+
:::image type="content" source="./media/members-list-create-flow.png" alt-text="Screenshot of the members list within the create service group page." Lightbox="./media/members-list-create-flow.png":::
42
46
43
47
6. Continue the service group creation flow or if all information is correct, select **Review + Create**
44
48
45
49
46
50
## Add members to existing service group
47
51
48
-
1. Log into the [Azure portal](https://aka.ms/portalfx/service-groups-internal).
52
+
1. Log into the [Azure portal](https://portal.azure.com/).
2.Search for **Service Groups**using the top portal search bar.
51
55
52
-
3. Select **Service Groups**.
56
+
3. Select **Service Groups** from the results.
53
57
54
58
4. Select the desired Service Group.
55
59
56
-
5. In the left hand side service menu, select **members** under relationship management.
60
+
5. In the left hand side service menu, select **Members** under **Relationship management**.
57
61
58
-
:::image type="content" source="./media/members-service-menu.png" alt-text="Screenshot of the relationship management drop down within the left hand context pane on the service group page." Lightbox="./media/members-service-menu.png":::
62
+
:::image type="content" source="./media/members-service-menu.png" alt-text="Screenshot of the relationship management drop down within the left hand context pane on the service group page." Lightbox="./media/members-service-menu.png":::
59
63
60
64
6. To add members, select the **+Add** button on the top action bar. Select to add individual resources, resource groups, or subscriptions. On the **Add members** pane, select and filter to the desired resources. Once all members are chosen, select **Add**.
61
65
62
66
63
-
## Remove members to existing service group
67
+
## Remove members from an existing service group
64
68
65
-
1. Log into the [Azure portal](https://aka.ms/portalfx/service-groups-internal).
69
+
1. Log into the [Azure portal](https://portal.azure.com/).
2.Search for **Service Groups**using the top portal search bar.
68
72
69
-
3. Select **Service Groups**.
73
+
3. Select **Service Groups** from the results.
70
74
71
75
4. Select the desired Service Group.
72
76
73
-
5. In the left hand side service menu, select **members** under relationship management.
77
+
5. In the left hand side service menu, select **Members** under **Relationship management**.
78
+
79
+
6. Select the members from the list by clicking the check box and press **Delete** from the top action bar. This removes the resource as a member, but doesn't delete the resource itself.
74
80
75
-
6. Select the members from the list of members by clicking the check box and press **Delete** from the top action bar. This removes the resource as a member, but won't delete the resource.
81
+
> [!NOTE]
82
+
> Removing a member only breaks the connection between the resource and the service group. The underlying resource, resource group, or subscription isn't affected.
76
83
77
-
:::image type="content" source="./media/delete-members.png" alt-text="Screenshot of the delete button within the service group members page." Lightbox="./media/delete-members.png":::
84
+
:::image type="content" source="./media/delete-members.png" alt-text="Screenshot of the delete button within the service group members page." Lightbox="./media/delete-members.png":::
78
85
79
86
## Next step
80
87
81
88
In this quickstart, you added members to service groups.
82
89
83
-
To learn more about service groups and how to manage your service group hierarchy, continue to:
90
+
To learn more about managing membership at scale using Bicep, Azure Policy, or PowerShell scripts, see:
84
91
85
92
> [!div class="nextstepaction"]
86
-
> [Manage your resources with service groups](manage-service-groups.md)
93
+
> [Manage membership at scale](manage-membership.md)
94
+
95
+
## Related content
96
+
*[What are Azure Service Groups?](overview.md)
97
+
*[How to: Manage Service Groups](manage-service-groups.md)
98
+
*[Add members using REST API](create-service-group-member-rest-api.md)
Copy file name to clipboardExpand all lines: articles/governance/service-groups/create-service-group-member-rest-api.md
+26-2Lines changed: 26 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -31,8 +31,16 @@ To add resources, resource groups, or subscriptions to a Service Group (preview)
31
31
32
32
## Create in REST API
33
33
34
+
The `[scope]` in the URLs below refers to the full Azure Resource Manager path of the resource you want to add as a member. The scope varies depending on the type of resource:
35
+
36
+
| Resource type | Scope format |
37
+
|---|---|
38
+
| Subscription |`subscriptions/{subscriptionId}`|
39
+
| Resource group |`subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}`|
[Service Groups Member- Create or Update]() endpoint to create a new service group member.
43
+
[Service Groups Member- Create or Update](/rest/api/resources/service-group-member/create-or-update) endpoint to create a new service group member.
36
44
37
45
In this example, we're adding a Virtual Machine [VM1] to a service group [Contoso].
38
46
@@ -71,7 +79,7 @@ specify the service group as the parent, use the **TargetID** property.
71
79
## Clean up resources
72
80
73
81
To remove the service group created in this document, use the
74
-
[Service Group Member Delete]() endpoint:
82
+
[Service Group Member - Delete](/rest/api/resources/service-group-member/delete) endpoint:
75
83
76
84
- REST API URI
77
85
@@ -81,6 +89,22 @@ To remove the service group created in this document, use the
81
89
82
90
- No Request Body
83
91
92
+
## Verify your service group member
93
+
94
+
The Create Service Group Member API is an asynchronous call. A successful response means the request was accepted, but the operation may still be processing. To check the operation status:
95
+
96
+
1. Look for the **Azure-AsyncOperation** header in the response from the PUT request.
97
+
2. Make a GET request to the URL in that header to check the operation status.
98
+
99
+
```json
100
+
{
101
+
"status": "Succeeded"
102
+
}
103
+
```
104
+
105
+
Possible status values include `Succeeded`, `Failed`, and `InProgress`. Wait for the operation to complete before relying on the membership relationship.
106
+
107
+
For more information on checking operation status, see [Checking for Service Group Operation Status](manage-service-groups.md#checking-for-service-group-operation-status).
Copy file name to clipboardExpand all lines: articles/governance/service-groups/create-service-group-portal.md
+31-28Lines changed: 31 additions & 28 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -13,7 +13,7 @@ ms.custom:
13
13
14
14
# Quickstart: Create a service group (preview) in the portal
15
15
16
-
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).
16
+
Azure Service Groups let you create flexible, custom groupings of your Azure resources across subscriptions and resource groups, without changing your existing resource hierarchy. For a full overview of capabilities and scenarios, see [What are Azure Service Groups?](overview.md).
17
17
18
18
> [!IMPORTANT]
19
19
> Azure Service Groups is currently in public preview.
@@ -23,53 +23,56 @@ Azure Service Groups offer a flexible way to organize and manage resources acros
23
23
24
24
- If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/pricing/purchase-options/azure-account?cid=msft_learn)
25
25
account before you begin.
26
+
- You need **Service Group Contributor** or **Service Group Administrator** role on the parent service group where you want to create the new group. If creating under the root service group, see [Root Service Group access](./overview.md#the-root-service-group).
26
27
27
28
## Create in Azure portal
28
29
29
30
1. Log into the [Azure portal](https://portal.azure.com/).
30
-
3. Search **Service Groups**.
31
-
4. Select **+ Create Service Group**.
31
+
32
+
2. In the top search bar, search for **Service Groups** and select **Service Groups** from the results.
33
+
34
+
3. Select **+ Create Service Group**.
32
35
33
-
:::image type="content" source="./media/create-service-group.png" alt-text="Screenshot of new Service Group screen." Lightbox = "./media/create-service-group.png" :::
34
-
5. Fill in the service group ID field
35
-
36
-
* The **Service Group ID** is the directory unique identifier that is used to submit commands
37
-
on this service group. This identifier isn't editable after creation as it's used throughout
38
-
the Azure system to identify this group. The
39
-
[root service group](./overview.md#the-root-service-group) is
40
-
automatically created with an ID that is the Microsoft Entra ID. For all other
41
-
service groups, assign a unique ID.
42
-
* The display name field is the name that is displayed within the Azure portal. A separate
43
-
display name is an optional field when creating the service group and can be changed at any time.
44
-
6. Select the **Parent Service Group**.
36
+
:::image type="content" source="./media/create-service-group.png" alt-text="Screenshot of new Service Group screen." Lightbox = "./media/create-service-group.png" :::
37
+
38
+
4. Fill in the **Service Group ID** field.
39
+
40
+
* The **Service Group ID** is a unique identifier used to reference this service group in API calls, scripts, and policies. This ID **can't be changed** after creation, so choose a meaningful and descriptive name (for example, `platform-networking` or `project-contoso-prod`).
41
+
* The ID must be globally unique across all Microsoft Entra tenants. Two tenants can't have a Service Group with the same ID.
42
+
* The **Display name** field is optional and can be changed at any time. It controls how the service group appears in the Azure portal.
43
+
44
+
5. Select the **Parent Service Group**.
45
45
46
-
* If you don't have a parent service group, or don't know what to pick, select the Root Service Group which has same ID as the tenant's ID. _"Microsoft.Management/serviceGroups[tenantId]"_
46
+
* If you don't have a parent service group, or don't know what to pick, select the Root Service Group which has the same ID as your tenant's ID: `Microsoft.Management/serviceGroups/[tenantId]`
47
+
48
+
6. Select **Next** to proceed.
47
49
48
-
7. Select "Next"
49
-
8. The review page shows
50
+
7. The review page shows a summary of your choices.
50
51
51
-
:::image type="content" source="./media/create-review-service-group.png" alt-text="Screenshot of the review page for creating a new service group" Lightbox="./media/create-review-service-group.png":::
52
+
:::image type="content" source="./media/create-review-service-group.png" alt-text="Screenshot of the review page for creating a new service group" Lightbox="./media/create-review-service-group.png":::
52
53
53
-
9. If all information is correct, select **Create**
54
+
8. If all information is correct, select **Create**.
55
+
56
+
> [!TIP]
57
+
> After creating your service group, the next step is to add members. See [Add members to a service group in the portal](create-service-group-member-portal.md) or [Add members using REST API](create-service-group-member-rest-api.md).
54
58
55
59
## Clean up resources
56
60
57
-
1.Search **Service Groups**.
61
+
1.In the top search bar, search for **Service Groups** and select **Service Groups** from the results.
58
62
59
-
1. Find the service group created that you want to delete, select it, then select the box.
63
+
1. Find the service group you want to delete, select the checkbox next to it.
60
64
61
-
1. Select the **delete** button at the top of the page.
65
+
1. Select the **Delete** button at the top of the page.
62
66
63
67
## Next steps
64
68
65
-
In this quickstart, you created a service group. The service group can hold subscriptions, resource groups, or resources.
66
-
67
-
To learn more about service groups and how to manage your hierarchy, continue to:
69
+
In this quickstart, you created a service group. The next step is to add resources, resource groups, or subscriptions as members.
68
70
69
71
> [!div class="nextstepaction"]
70
-
> [How to: Manage Service Groups](manage-service-groups.md)
72
+
> [Add members to a service group in the portal](create-service-group-member-portal.md)
71
73
72
74
## Related content
73
75
*[What are Azure Service Groups?](overview.md)
74
76
*[How to: Manage Service Groups](manage-service-groups.md)
75
-
*[Connect service group members with REST API](create-service-group-member-rest-api.md)
77
+
*[Add members using REST API](create-service-group-member-rest-api.md)
78
+
*[Manage membership at scale](manage-membership.md)
summary: Organize and manage resources across subscriptions with flexible, custom groupings using Azure Service Groups.
5
5
6
6
metadata:
7
7
title: Azure Service Groups documentation
8
-
description: Azure Service Groups documentation.
8
+
description: Learn how to create flexible resource groupings across subscriptions using Azure Service Groups. Build custom views for teams, projects, and workloads with minimal permissions.
9
9
ms.service: azure-policy
10
10
ms.topic: landing-page
11
11
author: kenieva
@@ -20,13 +20,19 @@ landingContent:
20
20
links:
21
21
- text: What are Azure Service Groups?
22
22
url: ./overview.md
23
-
- linkListType: how-to-guide
23
+
- linkListType: quickstart
24
24
links:
25
+
- text: Create a service group in the Azure portal
26
+
url: ./create-service-group-portal.md
25
27
- text: Create a service group with REST API
26
28
url: ./create-service-group-rest-api.md
27
-
- text: Create a service group in Azure portal
28
-
url: ./create-service-group-portal.md
29
-
- text: Connect Service Group members using the REST API
29
+
- text: Add members in the Azure portal
30
+
url: ./create-service-group-member-portal.md
31
+
- text: Add members with REST API
30
32
url: ./create-service-group-member-rest-api.md
31
-
- text: How to use Service Groups to manage resources
0 commit comments