Floating FB popout byF5debug

Deleting a Team Project in Team Foundation Services (TFS Preview) with Windows Azure – Meet Azure Edition


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.

About Author: Karthikeyan Anbarasan, Microsoft MVP (Most Valuable Professional) in ASP.NET/IIS Architecture. He is the Founder and Chief Editor of the www.f5debug.net website and has authored books on Windows Phone and Business Intelligence(SSIS). He is also a Passionate Speaker and a Blogger on Microsoft Technologies.

You can Join Me On: Facebook, Twitter, Google Plus, LinkedIn

Comments (1) -

Asian Restaurant Supplies
Asian Restaurant Supplies
10/6/2013 3:50:00 PM #

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��|

Add comment

  Country flag

  • Comment
  • Preview

Recent Posts

Random Posts

Most Viewed

URL Shortner

Create your own short urls!!!

Site Counter

free counters


This is a personal weblog. The opinions expressed here represent my own and not those of my employer. For accuracy and official reference refer to MSDN/ TechNet. I have documented my personal experience on this blog.

Protected by Copyscape Web Plagiarism Finder

Site Meter