Azure / Azure/azure-devops-cli-extension

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

オープン
#1,069 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
Area: ProToCol bug
主要言語
Python
スター
682
フォーク
278
平均マージ
3日 23時間
マージ済み PR(30日)
3

説明

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

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、報告されている Azure CLI と拡張機能のバージョンで `az devops login --verbose --organization https://aztest/CollectionName` を再現し、次に ErrorLoginWithToken.txt とスクリーンショットを調べて失敗の詳細を確認します。トークンログインを、動作すると報告されている REST API および clone の動作と比較します。Azure DevOps Server 2020 のオンプレミスインスタンスに対するトークンログインが成功すれば完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
azure, python
領域
authentication, cli
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
35/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。