Skip to content

[Storage] BREAKING CHANGE: az storage account create: Server change the default value to False for --allow-blob-public-access and --allow-cross-tenant-replication #27014

@calvinhzy

Description

@calvinhzy

Describe the bug

Beginning August 2023, there will be server breaking changes to these default security settings when creating a storage account, changes are expected to be completed by 12/5

  • --allow-blob-public-access will default to False instead of True now
  • --allow-cross-tenant-replication will default to False instead of True now.

Please see the blog post about the security risk and server change details:
https://techcommunity.microsoft.com/t5/azure-storage-blog/azure-storage-updating-some-default-security-settings-on-new/ba-p/3819554

Related command

az storage account create

Errors

--allow-blob-public-access and --allow-cross-tenant-replication default to False

Issue script & Debug output

N/A

Expected behavior

--allow-blob-public-access and --allow-cross-tenant-replication will default to False starting August 2023

Environment Summary

azure-cli 2.50.0

core 2.50.0
telemetry 1.1.0

Additional context

No response

Metadata

Metadata

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions