Azure / Azure/azure-cli

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

Open
#17,459 2 comments 0 reactions 0 assignees View on GitHub
act-platform-engineering-squad DevOps Service Attention
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

## 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

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.