[Bug] az devops security group create fails with "API resource location … is not registered on …"
See original GitHub issueDescribe the bug
When running any az devops security group *
command against Azure DevOps Server 2020 (e.g. az devops security group create
or list
) it fails with the error message:
API resource location 048aee0a-7072-4cde-ab73-7af77b1e0b4e is not registered <Collection_URL>
To Reproduce
Versions: azure-cli 2.19.1 azure-devops: 0.18.0 Azure DevOps Server: 2020.RTW
Steps to reproduce the behavior:
- Set PAT to
AZURE_DEVOPS_EXT_PAT
environment variable - Run command:
az devops project list --org http://server:8080/tfs/collection
runs fine - Run command:
az devops security group list --org http://server:8080/tfs/collection --scope organization
fails - See error
Expected behavior It should list the security groups.
Screenshots
Debug logs Available upon request (contains private URLs)
Issue Analytics
- State:
- Created 3 years ago
- Reactions:1
- Comments:10 (4 by maintainers)
Top Results From Across the Web
18.170.30910.2 (Azure DevOps Server 2020.0.1)
API resource location ... is not registered - 18.170.30910.2 (Azure DevOps ... for example 'az devops user list' (or another) it reports me...
Read more >API resource location is not registered - Stack Overflow
There might be two problems with. API resource location {0} is not registered on {1}. 1. With URL. I think it should be...
Read more >Resource not found errors - Azure Resource Manager
Describes how to resolve errors when a resource can't be found. The error might occur when you deploy a Bicep file or Azure...
Read more >Error reference | Anthos Config Management - Google Cloud
This error indicates that the api-resources.txt file in a repository could not be parsed. Example errors: KNV1064: invalid NAMESPACED ...
Read more >Using secrets from Azure Key Vault in a pipeline
If not already logged in, login to the Azure Portal. ... Provide a name, subscription, resource group and location for the vault.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
What we probably need is some documentation which CLI commands are compatible with DevOps Server 2020 and which are not.
I am exactly facing same issue, and still did not find the solution for this issue. My version: “azure-cli”: “2.20.0”, “azure-cli-core”: “2.20.0”, “azure-cli-telemetry”: “1.0.6”, “extensions”: { “azure-devops”: “0.18.0”
Azure DevOps Server Version Dev18.M170.8