-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Latest API version not available in sovereign clouds #23985
Comments
A similar issue is when a new API version is only deployed to certain regions, but not other regions. This happened for network RP before: |
Azure PowerShell faces the same issue: |
Hi this happened again in our pipeline, could some actions be taken to ensure API version consistencies in sovereign clouds?
|
Hello, I am using Azure Portal -> cloud shell, could you suggest how to work around this issue? |
I find it confusing that the bot would link an issue to another issue which is opened relating to sovereign cloud, when the issue I opened earlier is NOT related to sovereign cloud. Either change the title, or stop linking the issues. |
Looking forward to a resolution for this issue that is still occurring.
Using older versions of the |
We have an internal ticket IcM 446898172 for this error:
|
Hi team, what is the progress on this issue? |
Still running into this issue. |
I'm using Azure Dev Ops and facing this issue, how to fix in ADO? |
In case it helps anyone, I was able to resolve this issue (Azure Public cloud) by updating the azurerm version from 3.0.4 to 3.94.0 per this comment: #28499 (comment)
|
Previously reported by
Microsoft.Cdn
: Need a central place to record the Azure cli api-version change #16094Microsoft.Storage
: Wrong api version used for enabling atp with the azure-cli on a storage account in China tenant #18828, az storage endpoint not available for AzureCLI 2.20.0 in Azure Goverment #17189Microsoft.ManagedIdentity
: AzureUSGovernment;az identity create
; NoRegisteredProviderFound API version2021-09-30-preview
for typeuserAssignedIdentities
#22661Microsoft.KeyVault
: Azure Key Vault API Error - Azure CLI version 2.30.0 #20226, "az keyvault update" not working in Azure China after upgrading to 2.40.0 #23888Symptom
We have a centralized location to define API versions for each resource provider:
azure-cli/src/azure-cli-core/azure/cli/core/profiles/_shared.py
Lines 154 to 158 in daa5685
Azure CLI supports 4 clouds, including 3 sovereign clouds:
AzureCloud
AzureChinaCloud
AzureUSGovernment
AzureGermanCloud
All of them use the same
latest
profile and the same API version for each resource provider.However, it happens frequently that a new API version is only deployed to
AzureCloud
, but not other clouds. Using Azure CLI to call that API version leads to error like:Temporary workaroud
Install previous versions of Azure CLI that use old API versions in sovereign clouds. The installation document has detailed instruction on how to install previous versions: https://learn.microsoft.com/en-us/cli/azure/install-azure-cli
Solution
Service team should deploy the new API version to all clouds synchronously.
The text was updated successfully, but these errors were encountered: