Misleading error message when creating new storage account
Hi there,
the error message given when creating a generic storage account while also providing the --access-tier parameter is misleading.
Environment summary
Cloud Shell in Azure Portal.
~$ az storage account create --name eventlogsamplegeneric --location westcentralus --resource-group storageeventlogsample --sku Standard_LRS --kind Storage --access-tier Hot
Account property accessTier is required for the request.
The error message is wrong. To create a generic storage account, the --access-tier parameter has to be dropped.
It should be changed also for "update" operation on general purpose storage account
The response message is coming from the service. I will raise this to their attention and update this issue accordingly. Thanks for catching this :)
I have run into this as well, I agree it should be fixed
Ran into this issue today via .NET SDK.
Unhandled Exception: Microsoft.Rest.Azure.CloudException: Account property accessTier is required for the request.
I am getting this error too, with the last version...
@williexu can we get an update on this? If storage isn't willing to fix it, we could consider a short-term fix for CLI users.
@seguler can this be raised to the service team in question? The service is returning an improper error. This issue has been present for a while now.
Tested today and issue still persists with misleading error message
@seguler I know there was a fix made recently, when will that be available to users?
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @rthorn17
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @rthorn17
Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure
add to S165.
@seguler any update about this issue?
@seguler any update about this issue?
I have checked with the latest azure cli. It should already be fixed. If there is still any other problem, please create a new issue ticket to us.