locked
Enable alternative credentials in TFS on on premises

    Question

  • Using Team foundation Service you have to enable Alternative Credentials in order to be able to connect to TFS Git Repo. using Eclipse or any other Git Client,

    My problem is i want to connect to TFS On premises Git Repo. using Eclipse but there is no way to enable Alternative Credentials, any way to enable Alternative Credentials to be able to do that ? or can i do it other way?

    Tuesday, November 26, 2013 8:33 PM

All replies

  • Hi Mohammed,

    You need to check your IIS, if the Basic authentication service role is installed (it is not installed by default), to install it, you go to Control Panel\Programs and Features then select Turn Windows features on or off. This will open a new dialog for you, go under the security node and check basic authentication and click ok. Then you need to enable basic authentication for your web service, you go to IIS Manager, select Team Foundation Server and from the right panel select authentication and disable everything other than basic auth. Then do the same for the tfs node under Team Foundation Server, then restart your IIS. This way basic authentication will be enabled.

    Please let me know if that did not work for you.

    Thanks

    Mireille

    Tuesday, December 3, 2013 3:11 PM
    Moderator
  • Dear Mireille,

    We are running TFS 2013 Update 3. I've enabled basic authentification as you described, restarted IIS. When I use Web access I am still unable to see whole Credentials tab in My Profile therefore I cannot enable Alternate credentials. Is there anything else I have to do to be able enable Alternate credentials?

    Can you please advice? 

    Thank you very much,

    Lukas

    Monday, November 3, 2014 11:23 AM
  • This is solved now. To be able to access GIT repository in TFS on premises with accounts from AD you have to:

    • Enable basic authentification on "team foundation server\tfs" in IIS
    • Set Authentification to NTLM in TFS Administration Console

    Then you can easily "git clone" the repository…

    Monday, November 3, 2014 12:37 PM