.NET Zone is brought to you in partnership with:

Martin has worked with many customers in government, finance, manufacturing, health and technology to help them improve their processes and deliver more. He provides management and technical consulting that intends to expose processes and practices to gain transparency, uncover impediments to value delivery and reduce cycle-time as part of an organisations path to agility. Martin is a Professional Scrum Trainer as well as a Visual Studio ALM MVP and Visual Studio ALM Ranger. He writes regularly on http://nakedalm.com/blog, and speaks often on Scrum, good practices and Visual Studio ALM. You can get in touch with Martin through naked ALM. Martin is a DZone MVB and is not an employee of DZone and has posted 64 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
| 2962 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.)