.NET Zone is brought to you in partnership with:

Martin is a Senior ALM Consultant at Northwest Cadence, and had the honour of being not only Microsoft Visual Studio ALM MVP of the year 2011 but also named a Visual Studio ALM Ranger Champion for 2011. He is a Professional Scrum Trainer and regularly delivers both the Professional Scrum Master (PSM) as well as the Professional Scrum Developer (PSD) courses. He regularly writes on his Processes, Practices & Tools blog, and speaks often on Scrum, good practices and Visual Studio Team Foundation Server. Martin aims to provide Strategic and Tactical consulting on successful implementations of new Processes, Practices & Tools within both small and large organisations across the world. Martin is a DZone MVB and is not an employee of DZone and has posted 53 posts at DZone. You can read more from them at their website. View Full User Profile

Introducing the TFS Service Credential Viewer

03.30.2012
| 2083 views |
  • submit to reddit

TFS Service Credential Viewer

Tools for Team Foundation Service

If you want to connect to the Team Foundation Service (TFS Preview) API you are going to need some credentials in order to connect. That’s right, where do you expect to store your Live ID for connecting? Do you expect to add it to the windows credentials store? What about having the user manually add it? Both these options suck… so introducing the TFS Service Credential Viewer.

image

The TFS Service Credential Viewer connects to your Team Foundation Service account on http://tfspreview.com and using your credentials it retrieves credentials that you can use for an automated service to connect and authenticate correctly.

Download TFS Service Credential Viewer

The following prerequisites are required:

  • Visual Studio 11 (any version)
  • .NET 4.5

If these components are already installed, you can launch the application now. Otherwise, click install below to install the prerequisites and run the application.

install or launch via clickonce

How it works

Once you have authenticated as a TFS Collection Administrator to your hosted TFS Collection we use the Access Control Service to provision a service identity that you can use for unattended connections to Team Foundation Service (TFS Preview).

SNAGHTML85af783
Figure: A quick #1, #2 to get your credentials

Video: How to get your credentials

Troubleshooting

If you are using Windows 8 Consumer Preview you will not get an automatic launch of the application due to an extra security check for applications that come from the internet.

  1. Click or Press “Start” and Scroll all the way to the right
  2. Select the TFS Service Credential Viewer
  3. When the security dialog pops up click “More Info”

    image
    Figure: Select More Info

  4. Click “Run anyway” to launch the application and add it to the safe list

    image
    Figure;

  5. Done

Related Posts:

-Do you want to move to Visual Studio 11 Team Foundation Service NOW? Microsoft is providing a Go-Live licence (that means that it is supported in production) and you can use it today! For help moving forward contact info@nwcadence.com

Published at DZone with permission of Martin Hinshelwood, author and DZone MVB. (source)

(Note: Opinions expressed in this article and its replies are the opinions of their respective authors and not those of DZone, Inc.)