Microsoft, please help me diagnose TFS Administration permission issues!

Topic(s)
Audience

Everyone

I recently had a fun time trying to debug a permission issue I ran into using TFS 2010’s TfsConfig.

Update 5th March 2010 – In its style of true excellence my company has added rant to its “Suggestions for Better TFS”.


<rant>

I was trying to run the TfsConfig tool and I kept getting the message:

“TF55038: You don’t have sufficient privileges to run this tool. Contact your Team Foundation system administrator.”

This message made me think that it was something to do with the Install permissions as it is always recommended to use a single account to do every install of TFS. I did not install the original TFS on our network and my account was not used to do the TFS2010 install. But I did do the upgrade from 2010 beta 2 to 2010 RC with my current account.

So I proceeded to do some checking:

  • Am I in the administrators group on the server?
    image
    Figure: Yes, I am in the administrators group on the server
  • Am I in the Administration Console users list?
    image
    Figure: Yes, I am in the Administration Console users list
  • Have I reapplied the permissions in the Administration Console users list ticking all the options?
    image
    Figure: Make sure you check all of the boxed if you want to have all the admin options

    image
    Figure: Yes, I have made sure that all my options are correct.

     
  • Am I in the Team Foundation administrators group?
    image
    Figure: Yes, I am in the Team Foundation Administrators group
  • Is my account explicitly SysAdmin on the Database server?
    image
    Figure: Yes, I do have explicit SysAdmin on the database

Can you guess what the problem was?

The command line window was not running as the administrator!

As with most other applications there should be an explicit error message that states:

“You are not currently running in administrator mode; please restart the command line with elevated privileges!”

This would have saved me 30 minutes, although I agree that I should change my name to Muppet and just be done with it.

</rant>

 

Technorati Tags:     

Create a conversation around this article

Share on Facebook
Share on Twitter
Share on Linkdin

Read more

Martin Hinshelwood
In organizational development and team dynamics, Agile (as the Agile Manifesto delineates) and Scrum (as the Scrum Guide outlines) guide teams not by solving their problems but by illuminating the issues that demand attention. These frameworks aim to identify and spotlight the challenges within a team or organization’s processes, effectively …
Martin Hinshelwood
This week, I participated in a Scrum.org Webinar hosted by Sabrina Love (Scrum.org Product Owner) as well as my colleagues, Joanna Płaskonka, Ph.D. and Alex Ballarin to discuss the state of learning and how immersive learning is the future of training. You can watch the video below to hear what …
Martin Hinshelwood
For a long time now I have been searching for that perfect domain that epitomised the vision, the why, of what I am trying to achieve with my customers and the industry at large. Now I have found it in http://nkdagility.com
Martin Hinshelwood
At the MVP Summit I was appalled by the number of people who asked questions about new features for supporting hierarchical tasks! I shared a disgusted look with Peter Provost and we had a quick (and I mean really quick) conversation that resulted in this post. it really comes down …