Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Deleted projects in Azure DevOps remain in Visual Studio with their ID

After deleting 3 projects in Azure DevOps (VSTS) they are deleted there. But in VS 2017 Team Explorer (Source Control Explorer) they are still there - without their name, but with an ID, e.g. D486bb7b9-b159-441b-a9cd-8758c60c38e3.

I cannot delete them there.

enter image description here

How do I get rid of them?

like image 596
Stefan Meyer Avatar asked Jan 20 '19 09:01

Stefan Meyer


1 Answers

You face this problem, because the project can be recovered within 28 days.

Projects are permanently deleted, if not restored within 28 days.

Azure DevOps implemented this feature to protect companies from mad employees and people who would harm the repositories.The only solution is to wait 28 days, before they are gone.


When the repository is not visible in Azure DevOps, you can remove the TFS repositories by using the Destroy command

tf destroy [/keephistory] <itemspec1>[;<versionspec>][<itemspec2>...<itemspecN>] 
[/stopat:<versionspec>] [/preview] [/startcleanup] [/noprompt] [/silent] [/login:username,[password]] [/collection:TeamProjectCollectionUrl]]
like image 145
R Pelzer Avatar answered Oct 02 '22 19:10

R Pelzer