Steve
Steve

Reputation: 513

How to connect to hosted Team Foundation Service from command line

I have signed up on http://tfs.visualstudio.com/en-us/pricing/tfs-information, and it is working in Eclipse and VS but not working in the command line.

I am receiving an authenticating error I don't know the username; I am trying email.

How can I access Team Foundation Service from the command line?

Upvotes: 2

Views: 5207

Answers (1)

Edward Thomson
Edward Thomson

Reputation: 78813

Windows Command-Line Client

From the command-line, you should be prompted with a pop up dialog prompting you to authenticate to Team Foundation Service with your Microsoft ID. You should not need to perform additional authentication.

Cross-Platform Command-Line Client

If you are not provided with an authentication dialog, then I suspect you downloaded and installed the Team Explorer Everywhere Command-Line Client when you downloaded the TFS plug-in for Eclipse. This is the cross-platform command-line client for Team Foundation Server.

The cross-platform command-line client will not raise UI at any point, including to prompt for authentication to the service. Instead, you should set up alternate credentials for use with the TEE CLC.

Note that the TEE CLC is not officially supported under Windows (we recommend using tf.exe that is bundled with Visual Studio Team Explorer.) The command-line client that is included with Visual Studio is more performant.

Upvotes: 4

Related Questions