TFS Service Credential Viewer

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:

  • Team Explorer 2012 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

http://youtu.be/Fkn6V0_zz28
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

If you encounter an exception when clicking “Connect” the most likely cause if that you do not have Team Explorer 2012 installed

 

Post Comment 16 comments on “TFS Service Credential Viewer

  • […] it would be a pain in the ass to have to spin up this code all of the time, so I created the TFS Service Credential Viewer that will do the heavy lifting for […]

  • […] 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..  […]

  • […] here and get the “TFS Service Credential Viewer”. Install it, run it and connect to your TFS […]

  • […] TFS Service Credential Viewer […]

  • Glen Chambers on

    Hi Martin, When I try and use TFS Service Credential Viewer it crashes the moment I click the Connect button. I also asked a colleague to check and he experienced the same issue.
    Any idea what the issue could be?
    Thanks.

    1. Martin Hinshelwood on

      Glen,

      It looks like you do not have Team Explorer 2012 installed. Would I be right that you only have Team Explorer 2013?

      -MrHinsh

      1. Glen Chambers on

        Correct! I’ll try it with the 2012 release

  • Martin Hinshelwood on

    This has been updated to work with Visual Studio 2013.

    1. avrsrikanth on

      Hi Martin,
      I have installed Team Explorer 2013 and using https://xxxxx.visualstudio.com. But still the TFS Service Credential Viewer is crashing in #2.

  • Rana Mutlaq on

    Hi Martin ,
    when i try to user TFS Service Credential viewer , it crashes when i click on retrieve credential
    can you help me ?
    thanks

    1. Martin Hinshelwood on

      Which version of TFS? Which Version & Edition of Visual Studio?

      1. Rana Mutlaq on

        TFS 2010 , Visual Studio 2010 Ultimate

        and i installed Team Explorer 2012 , and 2013

        1. Martin Hinshelwood on

          You need to be using VSO (http://tfs.visualstudio.com) for this to work.

    2. Martin Hinshelwood on

      I will look at this again.,..

  • Rob Davis on

    Martin,
    I am trying to use this tool with visualstudio.com. When I try it on a computer that has VS 2008, 2012, and 2013, it crashes when I click the Connect button. When I try it on a computer that has VS 2010 Express, 2012, and 2012 Express, everything appears to work fine with the Connect buttion. However, when I click Retrieve Credentials, it crashes. What can I do to figure out what is wrong? Are multiple versions of VS causing a problem?
    Thanks,
    Rob

  • Martin Hinshelwood on

    I have just fixed and reloaded this app… should work in 2015 on down to at least 2012.

Comments are closed.