question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[Bug] az devops security group create fails with "API resource location … is not registered on …"

See original GitHub issue

Describe 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:

  1. Set PAT to AZURE_DEVOPS_EXT_PAT environment variable
  2. Run command: az devops project list --org http://server:8080/tfs/collection runs fine
  3. Run command: az devops security group list --org http://server:8080/tfs/collection --scope organization fails
  4. See error

Expected behavior It should list the security groups.

Screenshots bug-azdevopsext-group

Debug logs Available upon request (contains private URLs)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:1
  • Comments:10 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
NenoLojecommented, May 13, 2021

What we probably need is some documentation which CLI commands are compatible with DevOps Server 2020 and which are not.

2reactions
junior2200commented, Mar 16, 2021

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

Read more comments on GitHub >

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

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found