Skip to content

Creating storage account with hierarchical namespace results in error #25748

@rudolfdobias

Description

@rudolfdobias

Describe the bug

Parameter --hns or --enable-hierarchical-namespace fails the az storage create command.

Command Name
az storage account create

Errors:

(InvalidRequestPropertyValue) The value 'True' is not allowed for property isHnsEnabled. For more information, see - https://aka.ms/storageaccounthns
Code: InvalidRequestPropertyValue

To Reproduce:

  • az storage account create -g {} -n {} --sku Premium_LRS --enable-hierarchical-namespace

Expected Behavior

The storage account is created.

Environment Summary

Linux-5.15.0-1023-azure-x86_64-with-glibc2.31, Ubuntu 20.04.5 LTS
Python 3.10.10
Installer: DEB

azure-cli 2.46.0

Additional Context

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions