Skip to content

PublicAccessOnPremiumAccountContainerNotSupported #19320

@tobiasholzner-whiteduck

Description

@tobiasholzner-whiteduck

Bicep version
v0.41.2

Describe the bug
creating or updating a storage blob container with type container returns an error: {"code":"PublicAccessOnPremiumAccountContainerNotSupported","message":"Setting public access for a container in an Azure Premium Storage
account is not supported."}

this happens when using az deployment. It does not happen when using azure cli directly with az storage container create

To Reproduce
create or update a Microsoft.Storage/storageAccounts/blobServices/containers resource with type container using az deployment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Todo

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions