Deployment Stacks what-if: review what becomes unmanaged before you merge
Bicep visualizer screenshot from Microsoft’s November recap. This is a resource graph, not Stacks what-if output. Source
Catch-up review. Original announcement: 2026-11-16. Prepared 6 December 2026; not breaking news.
A template review is incomplete if it explains what will be created but overlooks what will stop being managed. Deployment Stacks make that lifecycle question part of the deployment design.
Microsoft’s 16 November Azure Deployments recap highlights generally available Stacks what-if and improvements across the deployment toolchain. This catch-up is based on that November recap. It is not a claim that every feature discussed there first shipped in November.
Read the lifecycle action before the diff
A resource removed from a template can have a very different outcome depending on the stack’s unmanaged-resource settings. The what-if guide distinguishes detaching a resource from deleting it and explains how the proposed changes are reported.
Before reviewing output, establish the stack’s scope, template, parameters and lifecycle settings. Otherwise, a reviewer may approve a familiar-looking name without realizing that an omitted resource is scheduled for deletion.
For an illustrative shared platform stack, ask who owns each resource that becomes unmanaged. A component that appears unused to the template author may still hold data or serve another team. The dependency review belongs before approval, not after a deployment reports success.
Keep the evidence tied to the exact input
Unlike the transient output of a standard deployment what-if, stack what-if creates a named result resource. The documentation explains its retention and retrieval. That gives a review something more concrete to refer to, but only if the input is also recorded.
Keep the template revision, parameter revision, target scope and evaluation time with the result. If the template changes after review, generate a new result. If the environment has changed materially, evaluate it again. A previously approved diff is not evidence about a different deployment.
Treat Unsupported results and unresolved differences as questions to investigate. Microsoft documents accuracy limitations; a clean-looking report is not a guarantee of application behaviour.
Separate evaluation from authorization
What-if does not apply the predicted resource changes. It also does not grant permission to apply them. A pipeline should make the evaluation available to the reviewer and keep the later mutation under the agreed deployment controls.
For data-bearing resources, verify backup and recovery separately. A predicted delete can be accurate and still be the wrong business decision. Similarly, detaching a resource preserves it but leaves an ownership and drift-management question that someone must accept.
No deployment or deletion was executed for this article. Before adopting a toolchain change, verify the current supported CLI, PowerShell or pipeline versions and the permissions required at the target scope. Include pipeline execution, retained results and deployed services in the operational cost review where applicable.
The useful improvement is a review that can answer three questions: what changes, what becomes unmanaged, and who accepts the resulting responsibility. That is a stronger reason to adopt Stacks what-if than simply adding another green pipeline step.
Cheers,
Marcos Nogueira