Comments (7)
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.
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.
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.
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 backOn 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.
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.
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.
Please Close the issue
from tfs-cli.
Related Issues (20)
- Release 0.10 missing from this GitHub repo. HOT 3
- fix high severity vulnerability from async HOT 2
- Uploading of Azure DevOps Extensions fails with timeout HOT 2
- Wrong mime type for `fsevents.node` HOT 7
- tfx command line publish issue for Azure DevOps Server 2022 RC1 HOT 4
- tfx build tasks create does not work anymore HOT 3
- tfx cannot handle TLS certificate issued by corp certificate authority HOT 4
- tfx command line publish issue for Azure DevOps Server 2022 RC1 HOT 1
- "Unexpected token import" for Azure DevOps custom task HOT 2
- tfx not found after installing 0.13.0 HOT 4
- Tfx 0.14 reports to be 0.13 HOT 1
- "A token is invalid" When Trying to Upload an Extension HOT 3
- ccccccucjednglchvdevjcerjtvhguhrcltvkrvilfve
- This repo is missing important files HOT 1
- Add documentation for `tfx extension init` HOT 1
- Fix repo and npm name mistmatch. HOT 2
- Pack an extension with binary executables for Mac/Linux using tar insteda of zip? HOT 1
- tfx extension publish not working for ADO cloud HOT 2
- Publish fails for service principal HOT 5
- 'tfx extension publish' not using cached PAT HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tfs-cli.