Check provider logo

Storage account has cross-tenant replication disabled

storage_cross_tenant_replication_disabled

Severityhigh
Servicestorage
by Prowler

Azure Storage accounts are assessed for whether cross-tenant object replication is disallowed via AllowCrossTenantReplication=false, limiting replication policies to the same tenant.

Risk

Permitting cross-tenant replication can copy sensitive blobs into external tenants, undermining confidentiality. A compromised or mismanaged destination enables data exfiltration; mirrored updates/deletes can impact integrity and retention, complicating auditability and incident response.

Run this check with Prowler CLI

prowler azure --checks storage_cross_tenant_replication_disabled

Recommendation

Enforce AllowCrossTenantReplication=false and keep replication within the same tenant. Apply least privilege and separation of duties for replication management, backed by policy-based governance to prevent drift. If cross-tenant transfer is required, use formal data-sharing controls, monitoring, and time-bound approvals.

Remediation

CLI

az storage account update --name <storage-account-name> --resource-group <resource-group> --allow-cross-tenant-replication false

Native IaC
Terraform
Other
  1. In the Azure portal, go to Storage accounts and open your storage account
  2. Under Data management, select Object replication
  3. Click Advanced settings
  4. Uncheck Allow cross-tenant replication
  5. Click OK/Save
  6. If the option is unavailable, delete any existing cross-tenant object replication policies first, then retry

Source Code

Resource Type

microsoft.storage/storageaccounts

References