-
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
az storage endpoint not available for AzureCLI 2.20.0 in Azure Goverment #17189
Comments
storage |
Confirmed, have the same issue in all our Azure Devops pipelines using the public agents, ADO have just updated to 2.20.0. Workaround in the pipeline:
|
There is an issue in service side with api 2021-01-01. The same as Azure/azure-powershell#14395. |
We ran into the same issue last day. We had to pin our Az CLI to 2.19.1 to get it working again: pool:
vmImage: ubuntu-20.04
strategy:
runOnce:
deploy:
steps:
- bash: |
sudo apt install -y --allow-downgrades azure-cli=2.19.1-1~focal cc @D4N14L |
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @xgithubtriage. Issue Details
Describe the bug To Reproduce Expected behavior Environment summary Additional context
|
Same here, we had to downgrade Cli to make it work in GitHub actions, uses: azure/CLI@v1 |
we have the same issue in Azure china cloud. |
As mentioned in Azure/azure-powershell#14395 (comment), the issue is resolved now. |
Describe the bug
Attempting to use the
az storage
command with location usgovvirginia fails with the following error:ERROR: (NoRegisteredProviderFound) No registered resource provider found for location 'usgovvirginia' and API version '2021-01-01' for type 'storageAccounts'. The supported api-versions are '2020-08-01-preview, 2019-06-01, 2019-04-01, 2018-11-01, 2018-07-01, 2018-03-01-preview, 2018-02-01, 2017-10-01, 2017-06-01, 2016-12-01, 2016-07-01, 2016-05-01, 2016-01-01, 2015-06-15, 2015-05-01-preview'. The supported locations are 'usgoviowa, usgovvirginia, usgovtexas, usgovarizona, usdodeast, usdodcentral'.
To Reproduce
Install AzureCLI 2.20.0 (currently the latest)
Run command
az storage account create -g <Resource> -n <Name> -l usgovvirginia --sku Standard_LRS
Expected behavior
The azure storage account to be created and no error produced.
Environment summary
AzureCLI was installed manually through MSI file downloaded from https://aka.ms/installazurecliwindows
az storage
command was run through Azure DevOps Release using Azure CLI task version 2.1.0Additional context
Uninstalling AzureCLI 2.20.0 and installing 2.19.1 allows my command to function with no changes.
The text was updated successfully, but these errors were encountered: