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.

"az keyvault update" not working in Azure China after upgrading to 2.40.0

See original GitHub issue

az feedback auto-generates most of the information requested below, as of CLI version 2.0.62

Related command

% az keyvault update  --resource-group "xxxxxxx"  --name "xxxxxx"  --default-action Deny
(NoRegisteredProviderFound) No registered resource provider found for location 'chinaeast2' and API version '2022-07-01' for type 'vaults'. The supported api-versions are '2015-06-01, 2016-10-01, 2018-02-14-preview, 2018-02-14, 2019-09-01, 2021-04-01-preview, 2021-06-01-preview, 2021-10-01, 2021-11-01-preview'. The supported locations are 'chinanorth, chinaeast, chinanorth2, chinaeast2, chinanorth3, chinaeast3'.
Code: NoRegisteredProviderFound
Message: No registered resource provider found for location 'chinaeast2' and API version '2022-07-01' for type 'vaults'. The supported api-versions are '2015-06-01, 2016-10-01, 2018-02-14-preview, 2018-02-14, 2019-09-01, 2021-04-01-preview, 2021-06-01-preview, 2021-10-01, 2021-11-01-preview'. The supported locations are 'chinanorth, chinaeast, chinanorth2, chinaeast2, chinanorth3, chinaeast3'.

Describe the bug The command az keyvault update --resource-group "xxxxxxx" --name "xxxxxx" --default-action Deny display error message like above after upgrade az to version 2.40.0

To Reproduce az version 2.40.0 and az keyvault update --resource-group "xxxxxxx" --name "xxxxxx" --default-action Deny

Expected behavior The command should work on that az version

Environment summary az command from containerized debian system

Additional context Please at least give suggestion similar to what was provided in #22735

Issue Analytics

  • State:open
  • Created a year ago
  • Reactions:2
  • Comments:6 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
srjenningscommented, Sep 14, 2022

This happens in GovCloud as well. Running on windows-latest pools.

0reactions
jonathanzhang02commented, Sep 19, 2022

Hi @evelyn-ys and team

Could we have at least a work around here? Our CD pipeline is totally blocked in China.

I tried “az cloud set -n AzureChinaCloud --profile ‘2020-09-01-hybrid’” and rerun the command, but it still failed.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting Azure key vault access policy issues
Frequently asked questions · I am not able to list or get secrets/keys/certificate. · How can I identify how and when key vaults...
Read more >
Use Workload identity (preview) & Secrets Store CSI Driver
Ok, let´s talk about how you can use Azure workload identity (preview) ... the command az --version, if an update is needed run...
Read more >
Quick Start - Azure AD Workload Identity - Azure documentation
Quick Start · 1. Complete the installation guide · 2. Export environment variables · 3. Create an Azure Key Vault and secret ·...
Read more >
Azure Key Vault issue affecting Azure China (02/Nov/22)
Details. See details below for status of Azure Key Vault in Azure China regions. ... No access to historical issues and stats. After....
Read more >
Az.KeyVault 4.9.0 - PowerShell Gallery
Microsoft Azure PowerShell - Key Vault service cmdlets for Azure Resource Manager in Windows PowerShell and PowerShell Core.
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