Skip to content

Latest commit

 

History

History
287 lines (209 loc) · 10.6 KB

File metadata and controls

287 lines (209 loc) · 10.6 KB
title Rename or remove/delete a team
titleSuffix Azure DevOps
description Learn how to rename or remove, delete a team in Azure DevOps.
ms.subservice azure-devops-settings
ms.assetid 9F1D0A0F-02D5-4E06-A5EC-C220472A0F66
ms.author chcomley
author chcomley
ms.topic how-to
monikerRange <= azure-devops
ms.date 11/12/2024
ms.custom sfi-image-nochange

Rename or remove a team

[!INCLUDE version-lt-eq-azure-devops]

As your organization evolves, you might need to rename or remove a team to better align with new roles, projects, or organizational structures.

When you rename a team, the new name automatically propagates throughout Azure DevOps, ensuring consistency and avoiding confusion. The following team artifacts automatically get renamed:

  • Team security group
  • Team backlogs and boards
  • Team dashboards

Automatic renaming maintains access controls, project tracking, and dashboard configurations without manual updates. Removing a team deletes its configurations and reassigns its members to other teams, ensuring workflow continuity and organizational clarity.

Tip

Update any queries that reference the old team security group name.

Deleting a team removes all configuration settings, including dashboards, backlogs, and boards. Work item data remains unchanged. Team configurations cannot be recovered after deletion.

Prerequisites

[!INCLUDE prerequisites-project-administrator-only]

Rename a team

::: moniker range="azure-devops"

Note

To enable the user interface for the New Teams Page, see Manage or enable features.

::: moniker-end

::: moniker range="azure-devops"

  1. From your project in the web portal, select Project settings > Teams.

    Screenshot of Open Project settings, and then Teams, new Teams page.

  2. Choose the team you want to rename, and then select Settings.

  3. Under Team Details, enter a new name for the team. Optionally, add a new description.

  4. Save your changes.

::: moniker-end

[!INCLUDE temp]

  1. From your project in the web portal, select Project settings > Teams.

    Screenshot of Open Project settings, and then Teams, current page.

  2. Choose the team you want to rename. Under the Team Profile, enter the new name and optionally update the description. Save your changes.

To configure other team features, see Manage teams and configure team tools.

::: moniker range="azure-devops"

You can rename a team or its description using Azure DevOps team update. For more information, see Get started with Azure DevOps CLI.

[!div class="tabbedCodeSnippets"]

az devops team update --team
                      [--description]
                      [--name]
                      [--org]
                      [--project]

Parameters

  • team: Optional. Name or ID of a team.
  • description: Optional. Description to apply to the team.
  • name: Optional. Name to apply to rename the team.
  • org: Optional. URL of organization. You can configure the default organization using az devops configure -d org=URL. Required if not configured as default or picked up via git config.
  • project: Optional. Name or ID of the project. Example: --project "Fabrikam Fiber." You can configure the default project using az devops configure -d project=NAME_OR_ID. Required if not configured as default or picked up via git config.

Example

For example, the following command renames the Account Management team to Organization Management. For addition output formats, see Output formats for Azure CLI commands.

[!div class="tabbedCodeSnippets"]

az devops team update --team "Account Management" --name "Organization Management" --description "Management team focused on creating and maintaining customer services for organizations"
{
  "description": "Management team focused on creating and maintaining customer services for organizations",
  "id": "7f099146-29a2-4798-9949-77c9f5f79653",
  "identity": {
    "descriptor": "Microsoft.TeamFoundation.Identity;S-1-9-1551374245-227716950-993605186-2584159299-2630527068-1-4146437839-3810360391-2614259327-2922617790",
    "id": "7f099146-29a2-4798-9949-77c9f5f79653",
    "isActive": true,
    "isContainer": true,
    "masterId": "7f099146-29a2-4798-9949-77c9f5f79653",
    "memberOf": [],
    "members": [],
    "metaTypeId": 255,
    "properties": {
      "Account": {
        "$type": "System.String",
        "$value": "Account Management"
      },
      "Description": {
        "$type": "System.String",
        "$value": "Management team focused on creating and maintaining customer services"
      },
      "Domain": {
        "$type": "System.String",
        "$value": "vstfs:///Classification/TeamProject/56af920d-393b-4236-9a07-24439ccaa85c"
      },
      "LocalScopeId": {
        "$type": "System.String",
        "$value": "56af920d-393b-4236-9a07-24439ccaa85c"
      },
      "Microsoft.TeamFoundation.Team": {
        "$type": "System.String",
        "$value": "True"
      },
      "SchemaClassName": {
        "$type": "System.String",
        "$value": "Group"
      },
      "ScopeId": {
        "$type": "System.String",
        "$value": "e03662ad-bec4-4a33-bb0f-86e365ee2d88"
      },
      "ScopeName": {
        "$type": "System.String",
        "$value": "Fabrikam Fiber"
      },
      "ScopeType": {
        "$type": "System.String",
        "$value": "TeamProject"
      },
      "SecuringHostId": {
        "$type": "System.String",
        "$value": "380ed149-33d0-4d78-a7ed-89921802f389"
      },
      "SecurityGroup": {
        "$type": "System.String",
        "$value": "SecurityGroup"
      },
      "SpecialType": {
        "$type": "System.String",
        "$value": "Generic"
      },
      "VirtualPlugin": {
        "$type": "System.String",
        "$value": ""
      }
    },
    "providerDisplayName": "[Fabrikam Fiber]\\Account Management",
    "resourceVersion": 2,
    "subjectDescriptor": "vssgp.Uy0xLTktMTU1MTM3NDI0NS0yMjc3MTY5NTAtOTkzNjA1MTg2LTI1ODQxNTkyOTktMjYzMDUyNzA2OC0xLTQxNDY0Mzc4MzktMzgxMDM2MDM5MS0yNjE0MjU5MzI3LTI5MjI2MTc3OTA"
  },
  "identityUrl": "https://spsprodeus21.vssps.visualstudio.com/A380ed149-33d0-4d78-a7ed-89921802f389/_apis/Identities/7f099146-29a2-4798-9949-77c9f5f79653",
  "name": "Organization Management",
  "projectId": "56af920d-393b-4236-9a07-24439ccaa85c",
  "projectName": "Fabrikam Fiber",
  "url": "https://dev.azure.com/fabrikam/_apis/projects/56af920d-393b-4236-9a07-24439ccaa85c/teams/7f099146-29a2-4798-9949-77c9f5f79653"
}

::: moniker-end

[!INCLUDE temp]


Set a team as the default

When a project gets created, a default team also gets created based on the project name.

  1. Open Project settings > Teams.
  2. Select :::image type="icon" source="../../media/icons/more-actions.png" border="false"::: More options next to the team you want as the new default, and then select Set team as project default.

Delete a team

You can delete any team except the default team. At least one team must be defined for a project.

Important

Deleting a team removes all team configuration settings (dashboards, backlogs, boards). Work item data remains unchanged. Team configurations cannot be recovered once deleted.

::: moniker range="azure-devops"

Note

To enable the user interface for the New Teams Page, see Manage or enable features.

::: moniker-end

::: moniker range="azure-devops"

  1. From your project in the web portal, select Project settings > Teams as shown in the previous section.

  2. Select the team you want to delete and then select Settings.

  3. Scroll down and select Delete Team.

  4. Select Delete in the confirmation box to complete the delete operation.

    [!div class="mx-imgBorder"] Screenshot of Delete team confirmation dialog, new teams page.

::: moniker-end

[!INCLUDE temp]

::: moniker range="<=azure-devops"

  1. From your project in the web portal, select Project settings > Teams > for the team you want to delete, and then select Delete.

    [!div class="mx-imgBorder"]
    Screenshot of Project Settings > Teams > Delete team sequence of choices.

    [!IMPORTANT]
    Deleting a team deletes all team configuration settings, including team dashboards, backlogs, and boards. Data defined for work items assigned to the team are left unchanged. Once deleted, you can't recover the team configurations.

  2. To complete the delete operation, you must enter the name of the work item type as shown in the following example.

    Screenshot of Delete team confirmation dialog.

::: moniker-end

::: moniker range="azure-devops"

You can delete a team using az devops team delete.

[!div class="tabbedCodeSnippets"]

az devops team delete --id
                      [--project]
                      [--yes]

Parameters

  • id: Required. The ID of the team to delete.
  • project: Optional. Name or ID of the project. Example: --project "Fabrikam Fiber."
  • yes: Optional. Specify to not prompt for confirmation.

Example

[!div class="tabbedCodeSnippets"]

az devops team delete --id 5385556a-254d-4ad4-bd11-71955e3a7070 --project "Fabrikam Fiber"
Are you sure you want to delete this team? (y/n): y

::: moniker-end

[!INCLUDE temp]


Related content