Overview
Cross Tenant Replication in Azure allows data to be replicated across multiple Azure tenants. While this feature can be beneficial for data sharing and availability, it also poses a significant security risk if not properly managed. Unauthorized data access, data leakage, and compliance violations are potential risks. Disabling Cross Tenant Replication ensures data is not inadvertently replicated across tenant boundaries without explicit authorization.
Rationale
Disabling Cross Tenant Replication minimizes the risk of unauthorized data access and ensures that data governance policies are strictly followed. This control is especially critical for organizations with stringent data security and privacy requirements, as it prevents the accidental sharing of sensitive information.
Impact
Disabling Cross Tenant Replication may affect data availability and sharing across Azure tenants. Ensure that this change aligns with your organizational data sharing and availability requirements.
Default Value
Cross-tenant replication is not enabled for new storage accounts created after Dec 15, 2023 cross.
Remediation guidance
From Azure Console
- Open the storage account in the Azure Portal using the
Open in Azurebutton. - Under Data Management, click on Object replication.
- Click on Advanced settings and untick Allow cross-tenant replication.
- Click on OK.
From Azure CLI
az storage account update --name <storageAccountName> --resource-group <resourceGroupName> --allow-cross-tenant-replication false
Service-wide remediation
Recommended when many resources are affected: fix the platform baseline first so new resources inherit the secure setting, then remediate the existing flagged resources in batches.
Azure
Use management group or subscription Azure Policy assignments, remediation tasks where supported, landing-zone standards, and IaC modules so drift is prevented at scale.
Operational rollout
- Fix the baseline first at the account, subscription, project, cluster, or tenant scope that owns this control.
- Remediate the currently affected resources in batches, starting with internet-exposed and production assets.
- Re-scan and track approved exceptions with an owner and expiry date.
Query logic
These are the stored checks tied to this control.
Azure Storage Accounts Allowing Cross Tenant Replication
Connectors
Covered asset types
Expected check: eq []
{
storageAccounts(where: { allowCrossTenantReplication: true }) {
...AssetFragment
}
}
Microsoft Azure