If you have been tracking Azure's roadmap, there is a minor numbering quirk worth clearing up right away. An Azure Updates listing referencing Public Preview: PITR Immutability under update ID 582185 surfaced at the end of November without rendering a feature description, whereas Microsoft's official published announcement in Azure Updates is cataloged as update 579305 (AZ579305), released on November 3, 2026, under the title "Public Preview: Extend immutability for PITR backups for Azure SQL Database and Azure SQL Managed Instance" and subsequently highlighted alongside Microsoft Ignite 2026 database security announcements. Regardless of which roadmap ID hit your feed reader, Microsoft Learn's Azure SQL documentation lays out the exact mechanics—along with one irreversible catch that will punish anyone who treats this preview like a casual toggle switch.
Default Protection vs. the New Retention Lock
For months, Azure SQL Database and Azure SQL Managed Instance have provided a free, zero-configuration safety net: default automatic backup immutability. Once enabled at general availability, that baseline automatically shields up to the most recent seven days of PITR backups from alteration or deletion, even if an administrative credential is compromised.
Here is the trap many IT teams walk straight into: PITR retention and backup immutability are two different dials. Retention tells Azure how long to keep backups so you can rewind a database to a specific second. Immutability tells Azure how long those backups cannot be modified or purged. Before this preview, cranking your PITR retention up to 35 days did not make all 35 days immutable; backups older than seven days remained outside the immutable shield.
The new public preview introduces an optional setting—Lock immutability to configured PITR backup retention period—that binds the two together. Turn it on, and immutability stretches to match your full configured short-term retention period. Because the capability is integrated directly into Azure SQL's managed backup service, administrators do not need to provision separate storage accounts or wire up custom Azure Storage immutability policies by hand.
| Characteristic | Default Immutability (GA) | Locked Immutability Aligned with PITR Retention (Preview) |
|---|---|---|
| Activation | Automatic; no setup required | Optional; enabled per database |
| Protected Window | Up to the most recent 7 days of PITR backups | Full configured PITR retention period (e.g., up to 35 days where supported) |
| Retention Above 7 Days | Extra days are retained, not immutable | Entire configured retention window is immutable |
| Lowering Retention Later | Standard retention rules apply | Prohibited; retention can only be increased |
| Disabling the Lock | Not applicable | Permanent; cannot be unlocked |
| Database Deletion | Does not block database deletion | Does not block database deletion; retained backups stay protected for their configured window |
The Catch: There Is No Undo Button
Most cloud checkboxes forgive a change of heart. This one does not. Microsoft states plainly in both its Azure Updates notice and Microsoft Learn documentation that once you enable the PITR immutability lock, it remains permanent for the life of the database.
Think of it as a one-way ratchet for your backup policy:
- No unlock operation exists: Even though the Azure CLI and Azure PowerShell parameters accept Boolean values, passing
falseor$falsedoes not unlock or reverse an existing lock. - Retention can only go up: Once locked, neither the Azure portal, Azure CLI, nor PowerShell will let you shorten the PITR retention period. If you lock retention at 14 days and later raise it to 35 days, you can never drop back down to 14 days.
- Longer retention does not rewrite history: Increasing your PITR retention period after locking will not resurrect backups that have already expired; restore history simply grows forward as newer backups age under the extended policy.
- Do not "test" it on production databases you plan to shrink: Microsoft explicitly warns against flipping the lock on as a temporary experiment on any database whose retention period—and associated backup storage bill—you might later need to dial back.
Because this capability is currently in public preview, Microsoft notes that it is governed by supplemental preview terms intended for evaluation and feedback rather than general-availability production guarantees. Test it in a disposable sandbox or non-critical environment first, because if you lock a 35-day retention window on a large production database, your finance department is coming along for the 35-day ride.
What the Lock Does Not Protect
Backup immutability is a strong ransomware and tamper-resistance control, but it is not magic armor for your entire Azure subscription. Administrators should keep two firm boundaries in mind:
- It is not a resource deletion lock. Enabling PITR immutability does not stop an authorized user—or an attacker holding elevated Azure RBAC permissions—from deleting the database, its logical server, or its managed instance. If a database is deleted, its existing retained backups stay immutable for the remainder of their configured retention window. However, deletion does not freeze those backups forever or start a fresh retention clock; once their configured window expires, they age out normally. For logical server protection, Microsoft points administrators toward evaluating Azure SQL logical server soft delete retention (also in preview) alongside backup immutability.
- It does not cover Long-Term Retention (LTR) backups. This preview applies strictly to short-term PITR backups. If your compliance team needs multi-year immutable archives—up to 10 years—you must look at Microsoft's separate time-based LTR immutability and LTR legal hold capabilities.
Service Tier, Update Policy, and Scale Limitations
Before writing deployment scripts across your Azure estate, verify that your target workloads actually qualify. Microsoft Learn lists several hard boundaries that materially affect rollout planning:
- No Hyperscale support: Automatic backup immutability is currently unavailable on the Hyperscale service tier of Azure SQL Database. Worse, migrating an existing database from a non-Hyperscale tier to Hyperscale causes its backups to lose immutability protection.
- Managed Instance update policy restriction: On Azure SQL Managed Instance, automatic backup immutability works only with the Always-up-to-date or SQL Server 2025 update policies. Instances running the SQL Server 2022 update policy are excluded. Keep in mind that switching an instance to the Always-up-to-date policy is itself a one-way decision that drops database format alignment with SQL Server 2022 and SQL Server 2025.
- Service-tier retention limits still apply: While Microsoft cites financial organizations with 35-day PITR policies as a prime use case, the lock does not raise a tier's maximum supported retention ceiling. Verify that your specific tier supports 35 days before assuming you can set it.
- High-churn Managed Instance caveat: In Azure SQL Managed Instance environments experiencing heavy database management (CRUD) activity—roughly 5,000 operations per month—Microsoft notes that automatic backup immutability might not be applied to backups for some databases.
Cost and Compliance Reality Check
Default seven-day immutability is included at no extra cost, and the preview lock itself does not carry a separate feature fee. However, standard Azure SQL backup storage charges still apply to retained PITR backups. Extending immutable retention from seven days to 35 days—with no option to shrink it later—can meaningfully increase monthly backup storage consumption on write-heavy databases.
From a governance standpoint, Azure SQL's automatic backup immutability leverages Azure Storage's underlying immutable storage capabilities, which are validated for scenarios involving SEC Rule 17a-4(f), CFTC Rule 1.31(d), and FINRA record-retention rules. Still, Microsoft cautions that turning on a technical lock does not automatically make an organization compliant; legal and compliance teams must still validate how retention, access controls, and regional regulations fit together.
How to Enable and Verify Locked PITR Immutability
Before applying the setting, confirm four prerequisites: you have settled on a retention window you will not need to shorten, you have budgeted for the backup storage cost, your database tier and Managed Instance update policy are eligible, and your account has permissions to update the short-term backup retention policy.
Option 1: Azure Portal
- Open your SQL logical server (for Azure SQL Database) or managed instance (for Azure SQL Managed Instance) in the Azure portal.
- In the left navigation menu, select Backups, then choose Retention policies.
- Select the target database and click Configure policies.
- Under Point-in-time restore, enter your desired retention period in days (for example,
35if supported by your tier, or keep the current value to lock it in place). - Check Lock immutability to configured PITR backup retention period.
- Read the warning confirming that the lock is permanent and retention can only be extended, then apply and confirm the change.
Option 2: Azure CLI
Ensure your Azure CLI installation is updated to a version supporting --lock-immutability. Replace the placeholder names and retention value as needed:
# Azure SQL Database
az sql db str-policy set --resource-group "myResourceGroup" --server "mySqlServer" --name "myDatabase" --retention-days 35 --lock-immutability true
# Azure SQL Managed Instance
az sql midb short-term-retention-policy set --resource-group "myResourceGroup" --mi "myManagedInstance" --name "myDatabase" --retention-days 35 --lock-immutability true
Option 3: Azure PowerShell
Ensure your Az.Sql PowerShell module supports -LockImmutability:
# Azure SQL Database
Set-AzSqlDatabaseBackupShortTermRetentionPolicy `
-ResourceGroupName "myResourceGroup" `
-ServerName "mySqlServer" `
-DatabaseName "myDatabase" `
-RetentionDays 35 `
-LockImmutability $true
# Azure SQL Managed Instance
Set-AzSqlInstanceDatabaseBackupShortTermRetentionPolicy `
-ResourceGroupName "myResourceGroup" `
-InstanceName "myManagedInstance" `
-DatabaseName "myDatabase" `
-RetentionDays 35 `
-LockImmutability $true
Verifying Your Configuration
After applying the policy, confirm that the lock and retention window took effect:
- Portal: Return to Backups > Retention policies, select the database, and open Configure policies to verify the retention period and locked status.
- Azure CLI: Run
az sql db str-policy show(SQL Database) oraz sql midb short-term-retention-policy show(Managed Instance) with your resource group, server or instance name, and database name. - Azure PowerShell: Run
Get-AzSqlDatabaseBackupShortTermRetentionPolicy(SQL Database) orGet-AzSqlInstanceDatabaseBackupShortTermRetentionPolicy(Managed Instance).
The Bottom Line for Database Administrators
Extending PITR immutability beyond seven days closes an obvious gap for regulated enterprises and security-conscious IT teams that keep 14 to 35 days of point-in-time recovery history. Just respect the permanence of the switch: verify your tier eligibility, model the backup storage cost first, pair it with separate resource-deletion protections and LTR policies where needed, and never test a permanent lock on a database you expect to downsize tomorrow.
References
- (In preview) Public Preview: PITR Immutability Azure Updates · 2026-11-30T22:16:45Z
- Azure updates | Microsoft Azure azure.microsoft.com
- microsoft.com learn.microsoft.com