-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Description
az feedbackauto-generates most of the information requested below, as of CLI version 2.0.62
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.0
Additional context
Uninstalling AzureCLI 2.20.0 and installing 2.19.1 allows my command to function with no changes.