question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

tfx login won't accept a Personal Access Token

See original GitHub issue

After calling tfx login --service-url https://app.market.visualstudio.com it asks for a Personal access token. I can’t do anything but press enter key at this prompt. It won’t accept any characters nor will it accept the paste command from the window tools Edit/Paste

Installation was via npm install -g tfx-cli inside a Windows 10 command prompt with Node 4.4.3 LTS installed

was able to login via tfx login --service-url https://app.market.visualstudio.com --token *********** however.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:6 (4 by maintainers)

github_iconTop GitHub Comments

2reactions
danatcofocommented, Apr 20, 2016

Spent about an hour trying to figure out how to get it to work before finally giving up and looking for an argument token for the pat in the source. I think echoing asterisks would be a wonderful solution to prevent the confusion.

a repository search for --service-url turned up the --token argument so I could actually get working.

By the way I don’t see --token documented in any .md files but I could of simply missed it.

Thanks for the responding @trevorsg & @bryanmacfarlane

0reactions
T-Hugscommented, Apr 20, 2016

The --token argument is shown when you use --help, e.g. tfx login --help.

Read more comments on GitHub >

github_iconTop Results From Across the Web

tfx login won't accept a Personal Access Token #109 - GitHub
After calling tfx login --service-url https://app.market.visualstudio.com it asks for a Personal access token. I can't do anything but press ...
Read more >
Use personal access tokens - Azure DevOps | Microsoft Learn
Learn how to create and manage personal access tokens (PATs) as alternate passwords to authenticate to Azure DevOps.
Read more >
Can't log in into anything that uses a Personal Access Token ...
I click login, it asks me for my password, it doesn't say anything about "Wrong password", it asks me again 4 times until...
Read more >
How to get PAT from on-premise TFS2015 - Stack Overflow
I installed NodeJS and tfx-cli but when tfx-cli want to connect to TFS I need to provide pat (personal access token) but I...
Read more >
TFS/VSO Task for Running FinalBuilder Project
With the personal access token configured use the tfx-cli login command to connect to VSO. You will be prompted for the TFS collection...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found