If your Azure landing zone still relies on Azure Blueprints, you have until 31 December 2026 before existing assignments lock completely against modification, and until 31 January 2027 before the service disappears from the portal, CLI, and ARM API altogether. Worse, many platform teams who already abandoned Blueprints for Azure Deployment Stacks quietly kneecapped them by leaving actionOnUnmanage on detachAll because classic what-if output was too noisy to trust with real deletions.
With What-If for Azure Deployment Stacks now generally available alongside baseline-backed noise reduction and native drift detection, that excuse has expired. Native Azure Resource Manager (ARM) lifecycle management is finally safe enough to run in delete mode inside a pull-request workflow—provided you understand where denySettings, RBAC separation, and point-in-time drift checks still bite.
What Actually Happens on 31 December and 31 January
Too many engineering leads read “Azure Blueprints is retiring” and assume existing subscriptions keep ticking along untouched while the migration sits in next year’s backlog. According to Microsoft’s Azure Blueprints retirement schedule , the cut-off is sharp and phased:
- 31 July 2026 & 31 October 2026 (already passed): New blueprint definitions and new assignments are disabled, and existing definitions cannot be modified.
- 31 December 2026 (Phase 3): Existing blueprint assignments can no longer be updated (
PUTis fully disabled). - 31 January 2027 (Phase 4): The API stops responding, Az CLI and PowerShell commands stop working, Blueprints vanishes from the Azure portal, unexported definitions and assignments are permanently deleted, and Blueprint locks (
Do Not DeleteandRead Only) stop functioning.
Notice the silent operational hazard on 31 January 2027. Your underlying resource groups, policies, and role assignments remain in place, but every lock protecting them evaporates overnight. If your subscription governance relied on Blueprint locks to stop application teams deleting diagnostic settings or hub-spoke peering routes, your environment drops back to unprotected RBAC unless you migrate those controls to Deployment Stacks first.
The Reality of Late Migrations: Leaving Blueprints until January means migrating while assignment updates are frozen and locks are days away from vanishing. Export every definition and assignment now, convert the artifacts into standard Bicep or ARM templates, and move assignment lifecycle and deny protection onto Deployment Stacks before the New Year freeze.
Why Teams Left Deployment Stacks on detachAll
Classic ARM template deployments were write-only history logs. You submitted a template, ARM provisioned the delta, and the deployment record sat in subscription history with zero ownership over what happened next. Removing a subnet or a policy assignment from your Bicep file did not remove it from Azure—it simply left an orphan behind.
Deployment Stacks (Microsoft.Resources/deploymentStacks) fixed the ownership model by grouping resources across resource groups, subscriptions, or management groups into a single lifecycle-aware unit. Yet in real enterprise estates I kept seeing the same compromise: teams configured --action-on-unmanage detachAll everywhere, turning Deployment Stacks into slightly tidier classic deployments.
They did it for a rational reason. Classic az deployment ... what-if compared your template against live resource state without knowing what ARM’s own resource providers had normalised or injected at deploy time. Every PR preview flooded reviewers with false-positive modifications and missing read-only fields. Nobody with production accountability was willing to enable deleteResources or deleteAll when the preview tool cried wolf on every run.
Stacks What-If (GA) solves the signal-to-noise problem at the control plane rather than asking engineers to squint harder at diffs:
- Post-deployment baselines filter provider noise: Whenever you create or update a stack (on or after 13 August 2026), ARM evaluates
what-ifimmediately after the deployment succeeds and stores that baseline. Subsequent Stacks What-If runs subtract differences that already existed in the baseline, isolating real template edits and external drift. - Every preview is an addressable ARM resource: Unlike classic
what-if,az stack-whatifcreates aMicrosoft.Resources/deploymentStacksWhatIfResultsresource with its own resource ID and configurable--retention-interval. Reviewers and automated gates can inspect the exact persisted diff—includingDelete(-) andDetach(v) actions—rather than trusting ephemeral terminal logs. - Drift detection works out of the box: Running Stacks What-If with the exact template, parameters,
actionOnUnmanage, anddenySettingsfrom your last deployment surfaces portal edits, ad-hoc scripts, or deleted resources cleanly. Microsoft even documented this workflow explicitly in their November 2026 Azure Deployments round-up .
Wiring Stacks What-If into Subscription Vending and Landing Zones
In Azure Landing Zones: What They Are and Why Getting Them Wrong Is Expensive to Fix
, I argued that a landing zone is a product that compounds or decays based on how changes are shipped. Combining extendable .bicepparam files, bicepconfig.json inheritance, and azure/bicep-deploy@v2 gives platform teams a clean “preview on PR, enforce on merge” loop without bolting on third-party state backends.
Here is how a least-privilege subscription vending or landing-zone pipeline uses Stacks What-If on pull requests before applying delete lifecycle rules and denyDelete locks on main:
| |
Notice two intentional boundaries in that configuration. First, action-on-unmanage-resources is set to delete while action-on-unmanage-resourcegroups stays detach until you are ready for whole-group teardown. Second, deny-settings-excluded-actions explicitly permits subnets/join/action—a classic failure mode when denyWriteAndDelete or applyToChildScopes locks a spoke virtual network and inadvertently blocks application teams from attaching NICs or Private Endpoints inside their delegated subnets.
If you run scheduled drift checks outside GitHub Actions, create the persisted What-If result explicitly with a short retention window and inspect property-level changes:
| |
Four Architectural Trade-Offs Nobody Mentions in Release Notes
Deployment Stacks and Stacks What-If are strong native primitives, which directly serve Governed by Design and Operable by Design . They are not magic, and ignoring four constraints will stall your rollout:
1. Contributor is not enough for PR previews with deny settings.
Standard Contributor cannot manage deny settings. Running Stacks What-If when denySettingsMode is anything other than none requires Microsoft.Resources/deploymentStacksWhatIfResults/write and Microsoft.Resources/deploymentStacks/manageDenySetting/action (which is why Microsoft documents pairing Contributor with Azure Deployment Stack Owner for deployment workflows). For read-only PR validation or scheduled drift jobs, build a narrow custom role that grants read access plus deploymentStacksWhatIfResults/write instead of handing stack-mutation rights to every PR runner—a discipline covered in Azure RBAC Design for Large Organisations
.
2. Mind the 800 What-If result limit per scope.
Because each Stacks What-If run creates a real ARM resource, Microsoft enforces a ceiling of 800 stored what-if results per scope. High-frequency monorepos running dozens of PR previews a day against a shared management group or subscription stack will hit that ceiling unless you set tight --retention-interval values (such as PT3H or PT24H) and delete superseded PR preview resources on close.
3. Stacks What-If is point-in-time, not continuous drift telemetry. Stacks What-If tells you what changed relative to the last stack baseline, not who clicked it in the portal or when it happened. Pair scheduled Stacks What-If checks with Azure Activity Log alerts and Azure Resource Graph resource-change queries so you have both state-diff remediation and forensic attribution, as outlined in Governance Drift: How Azure Environments Decay and How to Prevent It . Furthermore, stacks created or updated before 13 August 2026 lack a baseline—run one clean stack update first so noise reduction activates.
4. Do not rewrite working Terraform estates out of dogma. If your organisation is multi-cloud or already runs Azure Verified Modules (AVM) in Terraform with mature remote state, CI drift pipelines, and policy checks, ripping that out to adopt Bicep Deployment Stacks delivers zero business ROI. Conversely, if you are Azure-first, migrating off Azure Blueprints, or running Bicep-based subscription vending without wanting to operate Terraform state storage accounts, Stacks What-If GA removes the last serious operational gap between Bicep and state-backed tooling.
My View on Bicep vs Terraform in 2026: Choose the control plane that minimises operational failure modes for your team, not the one with louder conference slides. For Azure-native platform teams replacing Blueprints or building AVM-backed landing zones, Bicep plus Deployment Stacks and Stacks What-If is now a cohesive, first-class system.
The 31 December 2026 Blueprints assignment freeze is less than four weeks away, and the 31 January 2027 lock shutdown follows immediately behind it. Export your Blueprint definitions now, move your landing-zone primitives into versioned Bicep or Template Specs, and switch on Deployment Stacks with Stacks What-If in your PR pipelines so native Azure lifecycle management stops relying on detachAll and crossed fingers.
If you still have legacy Azure Blueprints guarding production subscriptions or want to harden Bicep Deployment Stacks across your landing zones before the January cut-off, get in touch to plan a clean, zero-downtime migration.
