-
Notifications
You must be signed in to change notification settings - Fork 3.9k
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
Get-AzStorageAccount does not work for AzureUSGovernment regions #8892
Comments
@J0R3D1N The api version 2018-11-01 currently is only in the latest Powershell version 1.6.0 (Az.storage 1.1.0), would you please use an early version like Az.Storage 1.0.3, this use api version 2018-07-01. You can install Az.Storage 1.0.3 by:
|
This work around works. I saw the note to SRP, thanks! Any chance there are other cmdlets affected similarly like Az.Storage where the API version isn't available in specific regions? |
I owns Az.Storage. I don't know if other cmdlets will be affect by that. But the api version 2018-11-01 currently should only be used by Az.Storage module. |
As this issue is on server, and can't fix by Powershell cmdlets side, do you mind we close the issue now, and keep tracking the deployment of 2018-11-01 api version with the mail? |
Yes, you can close this and keep me updated in e-mail. |
Description
When using Get-AzStorageAccount, the cmdlet errors due to API versioning mismatches.
Steps to reproduce
Environment data
Module versions
Debug output
Error output
The text was updated successfully, but these errors were encountered: