azure-cli icon indicating copy to clipboard operation
azure-cli copied to clipboard

Misleading error message when creating new storage account

Open polarapfel opened this issue 8 years ago • 16 comments

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.

polarapfel avatar Dec 15 '17 18:12 polarapfel

It should be changed also for "update" operation on general purpose storage account

cinek810 avatar Dec 17 '17 18:12 cinek810

The response message is coming from the service. I will raise this to their attention and update this issue accordingly. Thanks for catching this :)

williexu avatar Jan 20 '18 00:01 williexu

I have run into this as well, I agree it should be fixed

arichiardi avatar May 23 '18 22:05 arichiardi

Ran into this issue today via .NET SDK.

Unhandled Exception: Microsoft.Rest.Azure.CloudException: Account property accessTier is required for the request.

priyalaggarwal avatar Sep 05 '18 12:09 priyalaggarwal

I am getting this error too, with the last version...

JJ avatar Dec 10 '18 11:12 JJ

@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.

tjprescott avatar Dec 10 '18 15:12 tjprescott

@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.

williexu avatar Dec 10 '18 17:12 williexu

Tested today and issue still persists with misleading error message

sanvic76 avatar Jan 03 '19 15:01 sanvic76

@seguler I know there was a fix made recently, when will that be available to users?

williexu avatar Jan 03 '19 17:01 williexu

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @rthorn17

ghost avatar Jul 31 '19 20:07 ghost

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @rthorn17

ghost avatar Aug 14 '19 19:08 ghost

Thanks for the feedback! We are routing this to the appropriate team for follow-up. cc @armleads-azure

ghost avatar Dec 23 '19 01:12 ghost

add to S165.

yonzhan avatar Dec 23 '19 01:12 yonzhan

@seguler any update about this issue?

yonzhan avatar Feb 01 '20 07:02 yonzhan

@seguler any update about this issue?

yonzhan avatar Feb 15 '20 08:02 yonzhan

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.

Juliehzl avatar Feb 17 '20 08:02 Juliehzl