Uredi

Quickstart: Add resources or resource containers to service groups in the Azure portal

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?.

Important

Azure Service Groups is currently in PREVIEW. See the Supplemental Terms of Use for Microsoft Azure Previews for legal terms that apply to Azure features that are in beta, preview, or otherwise not yet released into general availability.

Prerequisites

  • If you don't have an Azure subscription, create a free account before you begin.

  • An existing service group. If you haven't created one yet, see Create a service group in the portal.

  • To add a member, you need both:

    • Microsoft.Relationship/ServiceGroupMember/write permission on the resource you're adding (the member).
    • Service Group Contributor role on the target service group.

Add members during service group creation

  1. When creating a new Service Group, there's an available Members tab to add resources.

    Screenshot of the members tab within the create service group page.

  2. Select to add individual resources, resource groups, or subscriptions.

  3. Once selected, use filters to narrow the list. You can filter by resource type, subscription, resource group, or location.

  4. Once all members are chosen, press Select

  5. All members to be added are displayed in the list.

    Screenshot of the members list within the create service group page.

  6. Continue the service group creation flow or if all information is correct, select Review + Create

Add members to existing service group

  1. Log into the Azure portal.

  2. Search for Service Groups using the top portal search bar.

  3. Select Service Groups from the results.

  4. Select the desired Service Group.

  5. In the left hand side service menu, select Members under Relationship management.

    Screenshot of the relationship management drop down within the left hand context pane on the service group page.

  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.

Remove members from an existing service group

  1. Log into the Azure portal.

  2. Search for Service Groups using the top portal search bar.

  3. Select Service Groups from the results.

  4. Select the desired Service Group.

  5. In the left hand side service menu, select Members under Relationship management.

  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.

    Note

    Removing a member only breaks the connection between the resource and the service group. The underlying resource, resource group, or subscription isn't affected.

    Screenshot of the delete button within the  service group members page.

Next step

In this quickstart, you added members to service groups.

To learn more about managing membership at scale using Bicep, Azure Policy, or PowerShell scripts, see: