[Resource] az deployment what-if: Point users to Deployment Stacks What-If in the noise notice - #33943
Merged
Cooper Cox (coopercox-ms) merged 1 commit intoAug 21, 2026
Conversation
…at-If in noise notice Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Torrey Trahanovsky (torreymicrosoft)
requested a review
from a team
as a code owner
August 20, 2026 23:17
|
Hi Torrey Trahanovsky (@torreymicrosoft), |
|
Azure Pipelines: There may be pipelines that require an authorized user to comment /azp run to run. |
Collaborator
|
Resource |
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the template deployment what-if output in the Resource command module to provide a clear next-step for users who want a noise-free what-if experience, by pointing them to the now-GA Deployment Stacks What-If.
Changes:
- Extends the existing “noise/false positives” notice in
_format_noise_noticeto include a new line advertising Deployment Stacks What-If with a hyperlink-friendlyhttps://URL.
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
microsoft-github-policy-service
Bot
requested a review
from Yong Zhang (yonzhan)
August 20, 2026 23:21
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
Copilot started reviewing on behalf of
Torrey Trahanovsky (torreymicrosoft)
August 21, 2026 00:20
View session
az deployment what-if: point users to Deployment Stacks What-If in the noise notice
Member
|
/azp run |
|
Azure Pipelines: Successfully started running 3 pipeline(s). |
az deployment what-if: point users to Deployment Stacks What-If in the noise noticeaz deployment what-if: Point users to Deployment Stacks What-If in the noise notice
Cooper Cox (coopercox-ms)
approved these changes
Aug 21, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Related command
az deployment group what-if,az deployment sub what-if,az deployment mg what-if,az deployment tenant what-if(and the what-if preview shown by--confirm-with-what-if/-conaz deployment ... create).Description
What-if for Azure Deployment Stacks is now generally available in all regions. Stacks What-if filters out noise by diffing against a baseline recorded when the stack was deployed, so it does not carry the false-positive caveat that template deployment what-if still has.
Today the very first thing a customer sees when they run template deployment what-if is a notice telling them the result may be wrong, and the only next step it offers is filing an issue. This PR replaces that call to action with the one that actually solves the problem for them: move to Stacks What-if.
Exact verbiage added
Exact verbiage removed
Before
After
https://is included on the link (the short link itself isaka.ms/stackswhatifGA) so terminals render it as a hyperlink.Scope / risk
_format_noise_noticeinsrc/azure-cli/azure/cli/command_modules/resource/_formatters.py, which is reached solely throughformat_what_if_operation_resultfor template deployment what-if.DeploymentStacksWhatIfResultFormatterin_stacks_formatters.pyand is deliberately not touched, so customers who already moved to stacks are not told to move to stacks.https://aka.ms/WhatIfIssueshad no other references insrc/, so nothing is left orphaned by its removal.test_resource_changes_statsassertsresult.endswith(...)against the trailing resource-changes stats line, which is unaffected because the notice is emitted at the top of the output.pylintrcand.flake8.