Geeks With Blogs
blog.davidbarrett.net ///<summary>Just a lot of random technical stuff, really.</summary>

After an oops with creating a team project in TFS 2008 with an incorrect name, I wanted to cleanup by removing the team project with the incorrect name.  However, someone else created the project and every time I tried to delete the team project using the tfsdeleteproject.exe command line tool, I got the error message:

"You are not authorized to access <machine>."

Uhhh, what?  I'm a domain admin in this domain.  How can this be?

After fumbling around a bit, I had a hunch and checked permissions on the TFS Team Project.  Sure enough, I had permissions on the TFS project, but I had no access to the Sharepoint site or the Reporting services reports.  After using the TFS Admin tool to grant myself permissions to these resources, I was able to delete the Team Project successfully.  The tool was failing to verify I had permissions to these; it would have been helpful to get this feedback rather than the generic "you are not allowed to access this server" message.

Posted on Friday, May 23, 2008 9:15 AM TFS | Back to top


Comments on this post: TFS 2008 - Delete a Team Project and the "You are not authorized to access <machine>." message

# re: TFS 2008 - Delete a Team Project and the "You are not authorized to access <machine>." message
Requesting Gravatar...
If you use the /force option I believe you can get around the problem that you were experiencing.
Left by Brian on Jun 03, 2008 9:51 AM

# re: TFS 2008 - Delete a Team Project and the "You are not authorized to access <machine>." message
Requesting Gravatar...
My understanding of the /force option is that instead of doing a transactional delete of the components, it will delete the components it can and provide details about the components it couldn't. In this case, I think some components would be left (e.g., Analysis Services) while some components would be deleted. In this scenario, you would be unable to re-use the name of the Team Project you were trying to delete, plus you'd still have the issue of orphaned components. I don't have personal experience with this, but I'm basing this on the information at http://msdn.microsoft.com/en-us/library/ms400798.aspx
Left by David Barrett on Jun 03, 2008 10:32 AM

# re: TFS 2008 - Delete a Team Project and the "You are not authorized to access <machine>." message
Requesting Gravatar...
If you know the user that created the site you can also login with that user and run teh command with that user.
Left by Justin Selleck on Nov 20, 2008 2:15 PM

Your comment:
 (will show your gravatar)


Copyright © David Barrett | Powered by: GeeksWithBlogs.net