azure-cli: Cannot create DataLake Gen2 container using AZ CLI yet

This is autogenerated. Please review and update as needed.

Describe the bug

Command Name az storage container create

Errors:

Blob API is not yet supported for hierarchical namespace accounts. ErrorCode: BlobApiNotYetSupportedForHierarchicalNamespaceAccounts
<?xml version="1.0" encoding="utf-8"?><Error><Code>BlobApiNotYetSupportedForHierarchicalNamespaceAccounts</Code><Message>Blob API is not yet supported for hierarchical namespace accounts.
RequestId:9e747912-c01e-00e3-5cb3-776430000000
Time:2019-09-30T17:25:00.0406002Z</Message></Error>
Traceback (most recent call last):
python3.7/site-packages/knack/cli.py, ln 206, in invoke
    cmd_result = self.invocation.execute(args)
...
RequestId:9e747912-c01e-00e3-5cb3-776430000000
Time:2019-09-30T17:25:00.0406002Z</Message></Error>

To Reproduce:

Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

  • Put any pre-requisite steps hereā€¦
  • az storage container create --name {} --account-name {} --account-key {} --auth-mode {}

Expected Behavior

Environment Summary

Darwin-17.7.0-x86_64-i386-64bit
Python 3.7.4
Shell: bash

azure-cli 2.0.74

Extensions:
storage-preview 0.2.8

Additional Context

About this issue

  • Original URL
  • State: closed
  • Created 5 years ago
  • Comments: 22 (9 by maintainers)

Most upvoted comments

Customer can create container(file system) in Data Lake Gen2 storage account using az storage fs create command

I had to remove the following two properties in the properies element to work.

"properties": {
   "defaultEncryptionScope": "$account-encryption-key",
   "denyEncryptionScopeOverride": false,
}

now i have access issues