"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:
- Created a year ago
- Reactions:2
- Comments:6 (1 by maintainers)
Top 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 >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
This happens in GovCloud as well. Running on
windows-latest
pools.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.