Today it was a long day, was working on some tasks with Team Foundation Services (TFS Preview) on the cloud, by creating many team projects and making a continuous deployment for Windows Azure from the Visual Studio builds etc. But when I was trying to delete the unwanted team projects I don’t see an option to delete the project from the TFS Preview portal. Was wondering if something is missing from my eyes and later on after a bit search came to know we don’t have an option to delete the project from the cloud rather we need to use a command line tool to do that. We are going to see how to delete the Team project using the command line tool in this article. [more]
Steps to delete the Team Project in Team Foundation Preview:
Step 1 – Login to the tfspreview.com website and note down the projects which needs to be deleted permanently. Note that once the project is deleted we will not be possible to get back it since we don’t have any backup strategy available.
Say below are my Team Project details
- TFSPreview link – http://f5debug.tfspreivew.com/
- Team project name – F5debugTest
Step 2 – Go to Visual Studio 2012 release preview and open the Visual Studio Command Prompt as shown in the screen below.
Step 3 – Now we need to use the tool called TFSDELETEPROJECT which is used to delete the project from the tfspreview, to see the list of options first type the tool name on the command prompt and we can see the list of available options as shown in the screen below.
Step 4 – Now type the below command which deletes the team project (F5debugTest) as shown in the screen below.
Script – tfsdeleteproject /collection:https://f5debug.tfspreview.com/DefaultCollection f5debugtest
We can see a notification popped up for confirming if we want to proceed with the deletion. Press Y to proceed further as shown in the screen below.
We can see the team Project gets deleted one by one which indicates at the final step that the deletion is completed successful as shown in the screen below.
That’s it, its very simple to delete the project. But the main point to note down is it doesn’t have any authentication to delete the project. Anyone can delete it directly with out providing the username and credentials which we need to keep in mind before making any major project on to the cloud team foundation services.
No Comments
I needed to thank you for this wonderful read!! I certainly loved every little bit of it. I have got you book marked to look at new stuff you post��|