Giter Site home page Giter Site logo

Comments (7)

elvza avatar elvza commented on August 18, 2024 1

Hello grawcho, we just ran into the same thing here at my office.

The reason why it wasn't working for us is because we enabled basic auth at the wrong level in IIS. Instead of enabling it on the application "Sites/Team Foundation Server**/tfs"** we enabled it directly on the site "/Sites/Team Foundation Server". After correcting this oversight it started working as expected.

No restart of the "Team Foundation Server" site was required in our case. Hope this helps.

from tfs-cli.

grawcho avatar grawcho commented on August 18, 2024

correction ... issue is persistent from windows client as well (checking Network configuration with IT) same machines are able to connect to VSTS instance with PAT and Basic Auth with no issues.

from tfs-cli.

grawcho avatar grawcho commented on August 18, 2024

thanks.
i'll try and report back

On Wed, Mar 2, 2016 at 6:00 PM, Elmar Vosloo [email protected]
wrote:

Hello grawcho, we just ran into the same thing here at my office.

The reason why it wasn't working for us is because we enabled basic auth
at the wrong level in IIS. Instead of enabling it on the application "Sites/Team
Foundation Server/tfs"
we enabled it directly on the site "/Sites/Team
Foundation Server"
. After correcting this oversight it started working
as expected.

No restart of the "Team Foundation Server" site was required in our
case. Hope this helps.


Reply to this email directly or view it on GitHub
#81 (comment).

G

from tfs-cli.

grawcho avatar grawcho commented on August 18, 2024

just tried ... no luck ... thanks.

On Wed, Mar 2, 2016 at 6:05 PM, shani feldman [email protected] wrote:

thanks.
i'll try and report back

On Wed, Mar 2, 2016 at 6:00 PM, Elmar Vosloo [email protected]
wrote:

Hello grawcho, we just ran into the same thing here at my office.

The reason why it wasn't working for us is because we enabled basic auth
at the wrong level in IIS. Instead of enabling it on the application "Sites/Team
Foundation Server/tfs"
we enabled it directly on the site "/Sites/Team
Foundation Server"
. After correcting this oversight it started working
as expected.

No restart of the "Team Foundation Server" site was required in our
case. Hope this helps.


Reply to this email directly or view it on GitHub
#81 (comment).

G

G

from tfs-cli.

elvza avatar elvza commented on August 18, 2024

As an aside the exact display message we got back (stock command prompt), personal details removed and i see one difference, we're using version 0.3.13...:

C:\Program Files (x86)\Microsoft Visual Studio 14.0>tfx login --auth-type basic
TFS Cross Platform Command Line Interface v0.3.13
Copyright Microsoft Corporation

Service URL: http://<tfs_hostname>:/tfs/collection
Username: domain\username
Password: ***
Invalid credentials.

Hope you find an answer soon.

from tfs-cli.

grawcho avatar grawcho commented on August 18, 2024

thanks everyone for your inputs.
the issue was: configure basic authentication for iis for entire Team Foundation site,
and logging in to the https://:/tfs (without collection path)
and logging in with DOMAIN\USERNAME (from command line in Linux needs to add escaping character DOMAIN\USERNAME)

and the magic happens.

Logged in successfully.

from tfs-cli.

grawcho avatar grawcho commented on August 18, 2024

Please Close the issue

from tfs-cli.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.