Azure / Azure/azure-devops-cli-extension

[Bug] Cannot Connect to OnPrem Azure DevOps server 2020 with token

Aperta
#1,069 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Area: ProToCol bug
Lingua principale
Python
Stelle
682
Fork
278
Merge medio
3g 23h
PR unite (30g)
3

Descrizione

Cannot Use Token with full permission to connect to OnPrem Azure DevOpos Server 2020 RTW

**To Reproduce**
azure-cli 2.15.0
core 2.15.0
telemetry 1.0.6
Extensions:
azure-devops 0.18.0

Python location 'C:\Program Files (x86)\Microsoft SDKs\Azure\CLI2\python.exe'
Python (Windows) 3.6.8 (tags/v3.6.8:3c6b436a57, Dec 23 2018, 23:31:17) [MSC v.1916 32 bit (Intel)]

Steps to reproduce the behavior:
1. login using az devops login --verbose --organization https://aztest/CollectionName
2. Enter Token:
3. Run command....
4. See error

**Expected behavior**
login sucessfull

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Debug logs**
Add the output of the command running it with debug mode (--debug)
[ErrorLoginWithToken.txt](https://github.com/Azure/azure-devops-cli-extension/files/5566151/ErrorLoginWithToken.txt)
![powershell_O8V8tgEzW5](https://user-images.githubusercontent.com/16662563/99655581-903dd680-2a64-11eb-82cd-08c3c554bc8a.png)

**Additional context**
connecting with RestAPI to the same server works ok
Clone from Server OK

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing `az devops login --verbose --organization https://aztest/CollectionName` with the reported Azure CLI and extension versions, then inspect ErrorLoginWithToken.txt and the screenshot for the failure details. Compare the token login with the reported working REST API and clone behavior; done means token login succeeds against the on-prem Azure DevOps Server 2020 instance.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
azure, python
Ambito
authentication, cli
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Ferma
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.