Azure / azure-cli

Azure Command-Line Interface
MIT License
3.91k stars 2.87k forks source link

Problem with az devops security with on-premise azure devops server 2020 #17459

Open mrweiland opened 3 years ago

mrweiland commented 3 years ago

Describe the bug

Onpremise azure devops 2020 cant get security groups or permissions.

I tried with ados.xxx.se/defaultcollection and without defaultcollection as default. I login with PAT token. Other commands work but with this commands regarding security i cant run commands.

PAT token are created with full access and im administrator on the system.

It seems i cant do anything with az devops security with cli?

Command Name az devops security permission list and also az devops security group list

Errors:

API resource location 048aee0a-7072-4cde-ab73-7af77b1e0b4e is not registered on https............

To Reproduce:

Run security commands with azure cli - cant find api resource for on-premise server.

Expected Behavior

Work with security groups with azure cli.

Environment Summary

Windows-10-10.0.18362-SP0
Python 3.6.8
Installer: MSI

azure-cli 2.21.0

Extensions:
azure-devops 0.18.0
ghost commented 3 years ago

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @narula0781, @ashishonce, @romil07.

Issue Details
## Describe the bug Onpremise azure devops 2020 cant get security groups or permissions. I tried with ados.xxx.se/defaultcollection and without defaultcollection as default. I login with PAT token. Other commands work but with this commands regarding security i cant run commands. PAT token are created with full access and im administrator on the system. It seems i cant do anything with az devops security with cli? **Command Name** `az devops security permission list and also az devops security group list` **Errors:** ``` API resource location 048aee0a-7072-4cde-ab73-7af77b1e0b4e is not registered on https............ ``` ## To Reproduce: Run security commands with azure cli - cant find api resource for on-premise server. ## Expected Behavior Work with security groups with azure cli. ## Environment Summary ``` Windows-10-10.0.18362-SP0 Python 3.6.8 Installer: MSI azure-cli 2.21.0 Extensions: azure-devops 0.18.0 ```
Author: mrweiland
Assignees: -
Labels: `DevOps`, `Service Attention`
Milestone: -
yonzhan commented 3 years ago

devops