Azure / Azure/azure-cli-extensions

az devops security permission update issues

Open
#1,660 3 comments 0 reactions 0 assignees View on GitHub
customer-reported DevOps needs-team-attention Service Attention
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

Hi There, using CLI , with below command we are unable to grant permission to teams created in project collection where as we are able to grant permission to multiple individual emails

**Not working**
az devops security permission update --namespace-id '2e9eb7ed-3c0a-47d4-87c1-0ffdd275fd87' --subject '[xxx]\team1' --token "repoV2//" --allow-bit 16502 --org "https://dev.azure.com/someorg"

**working**
az devops security permission update --namespace-id '2e9eb7ed-3c0a-47d4-87c1-0ffdd275fd87' --subject 'xxx@email.com' --token "repoV2//" --allow-bit 16502 --org "https://dev.azure.com/someorg"

**Error message:**
request failed: Error occurred in request., RetryError: HTTPSConnectionPool(host='dev.azure.com', port=443): Max retries exceeded with url: /someorg/_apis/AccessControlEntries/someid (Caused by ResponseError('too many 500 error responses'))

Azure CLI version : 2.5.1
Extensions:
azure-devops 0.18.0
this is the same issue for pipeline permission as well. Please help fix this

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.