Delete a project
Azure DevOps Services | Azure DevOps Server 2019 | TFS 2018 | TFS 2017 | TFS 2015 | TFS 2013
You can delete a project from Azure DevOps or from an on-premises deployment of Team Foundation Server (TFS). Deleting a project helps simplify the navigation to projects that are in use.
Projects are permanently deleted, if not restored within 28 days.
Your web portal uses either the New navigation or Previous navigation user interface. Choose the New navigation tab if the New Navigation feature is enabled. You'll see a vertical sidebar along with other navigational features when New Navigation has been enabled for the signed-in user or the organization. Choose Previous navigation when you see a top-level, blue-bar—indicating that New navigation isn't enabled. For more information, see Web portal navigation.
Choose the New navigation tab for guidance. Azure DevOps Server 2019 supports the New Navigation user interface. For more information, see Web portal navigation.
Choose the Previous navigation tab for guidance. TFS 2018 and earlier versions only support the previous navigation user interface. For more information, see Web portal navigation.
Open organization settings
Organization settings configure resources for all projects or the entire organization. For an overview of all organization settings, see Project collection administrator role and managing collections of projects.
Open the actions icon menu for the project that you want to delete and choose Delete.
If you don't see the actions icon , either you're not accessing Azure DevOps or you're not a member of the Project Collection Administrators group. Learn about joining the Project Collection Administrators group.
Enter the name of the project, and then select Delete.
From the Overview tab, open the context icon menu for the project that you want to delete and choose Delete.
If you don't see the context icon menu, you don't have the permissions to delete the project. Learn about joining the Project Collection Administrators group.
You must enter the name of the project in order to initiate the delete operation.
Your project is deleted and can be restored up to 28 days afterward.
Delete a project from TFS
Using the administration console, you can delete a project from a project collection. Afterwards, you'll need to manually delete any associated reports and SharePoint project portal. Or, you can use the TFSDeleteProject command line tool to delete all artifacts.
If you're not a member of one or more of the following administrator groups, get permissions now:
Team Foundation Administrators group (required).
SQL Server System Administrators group (required).
Farm Administrators group for SharePoint Products (required when your deployment uses SharePoint Products).
Open the administration console for TFS and delete the project from its project collection.
Choose whether to delete external data associated with the project and then initiate the delete action.
(Optional) To review the status of the delete action, open the Status tab.
To review the details of the delete action, you can open the log file from either the Status tab or Logs tab.
Delete reports that remain after deleting a project
If your on-premises project used reporting, and you didn't choose to delete external artifacts, you can delete the reports using SQL Server Report Manager. From the project collection page, delete the folder that corresponds to the deleted project.
Remove the project portal
If your on-premises project had a project portal, all links to that portal are removed from TWA and Team Explorer, but the SharePoint site or website that acted as the portal is not deleted. If you want to delete the portal, you must do so manually after the project has been deleted. See How to: Create, Edit, and Delete Windows SharePoint Services Sites.
What to do if the delete action doesn't finish
Review the status and log files for the delete action. Open the Status tab and for Deleted, review the additional information in parentheses, and take the indicated action.
(Processing) means that the process has started and is in progress.
(Pending) means that the deletion process has started from a client application. The deletion might be in progress or might have failed. Because the process was started from a client application, the server cannot accurately report the status of the deletion.
If a project deletion remains pending for a long time, try to delete the project again from the administration console.
(Failed) means that the deletion process started but did not successfully finish. The log file contains specific information about the failure.
Review the information about the failure, and then try to delete the project again.
If partial data remains, you can also use the TFSDeleteProject command line tool.