Azure / Azure/azure-devops-cli-extension

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

Đang mở
#1,069 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Area: ProToCol bug
Ngôn ngữ chính
Python
Star
682
Fork
278
Merge trung bình
3 ngày 23 giờ
Pull request đã merge (30 ngày)
3

Mô tả

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

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Hướng nghiên cứu

Bắt đầu bằng cách tái hiện `az devops login --verbose --organization https://aztest/CollectionName` với các phiên bản Azure CLI và extension đã được báo cáo, sau đó kiểm tra ErrorLoginWithToken.txt và ảnh chụp màn hình để xem chi tiết lỗi. So sánh việc đăng nhập bằng token với REST API và hành vi clone được báo cáo là hoạt động; hoàn tất khi việc đăng nhập bằng token thành công trên phiên bản Azure DevOps Server 2020 on-premises.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Đánh giá

Công nghệ
azure, python
Lĩnh vực
authentication, cli
Loại issue
Lỗi
Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức độ hoạt động
Đình trệ
Độ rõ ràng
Khá rõ ràng
Mức phù hợp với người mới
35/100

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.