Skip to content

[App Service] az webapp deploy/up: Enable enriched-errors for deployment failure logs by default#33669

Merged
yanzhudd merged 5 commits into
Azure:devfrom
Shi1810:user/shikhajha/enableenricheddeploy
Jun 30, 2026
Merged

[App Service] az webapp deploy/up: Enable enriched-errors for deployment failure logs by default#33669
yanzhudd merged 5 commits into
Azure:devfrom
Shi1810:user/shikhajha/enableenricheddeploy

Conversation

@Shi1810

@Shi1810 Shi1810 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor

Related command
az webapp deploy
az webapp up

Description
Currently, only raw error messages are logged in the event of deployment failures.

customers have access to the --enriched-errors feature flag, allowing them to view detailed failure logs and resolve errors more efficiently.

This feature flag is available for the az webapp deploy and az webapp up deployment commands.

With this PR, we are enabling enriched-errors true by default, customer and disable it by giving enriched-errors false.

Testing Guide
image
image
image

History Notes
[App Service] az webapp up/deploy: Add --enriched-errors false parameter to disable enriched deployment failure log


This checklist is used to make sure that common guidelines for a pull request are followed.

Copilot AI review requested due to automatic review settings June 29, 2026 10:09
@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Jun 29, 2026

Copy link
Copy Markdown
️✔️AzureCLI-FullTest
️✔️acr
️✔️latest
️✔️3.12
️✔️3.14
️✔️acs
️✔️latest
️✔️3.12
️✔️3.14
️✔️advisor
️✔️latest
️✔️3.12
️✔️3.14
️✔️ams
️✔️latest
️✔️3.12
️✔️3.14
️✔️apim
️✔️latest
️✔️3.12
️✔️3.14
️✔️appconfig
️✔️latest
️✔️3.12
️✔️3.14
️✔️appservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️aro
️✔️latest
️✔️3.12
️✔️3.14
️✔️backup
️✔️latest
️✔️3.12
️✔️3.14
️✔️batch
️✔️latest
️✔️3.12
️✔️3.14
️✔️batchai
️✔️latest
️✔️3.12
️✔️3.14
️✔️billing
️✔️latest
️✔️3.12
️✔️3.14
️✔️botservice
️✔️latest
️✔️3.12
️✔️3.14
️✔️cloud
️✔️latest
️✔️3.12
️✔️3.14
️✔️cognitiveservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️compute_recommender
️✔️latest
️✔️3.12
️✔️3.14
️✔️computefleet
️✔️latest
️✔️3.12
️✔️3.14
️✔️config
️✔️latest
️✔️3.12
️✔️3.14
️✔️configure
️✔️latest
️✔️3.12
️✔️3.14
️✔️consumption
️✔️latest
️✔️3.12
️✔️3.14
️✔️container
️✔️latest
️✔️3.12
️✔️3.14
️✔️containerapp
️✔️latest
️✔️3.12
️✔️3.14
️✔️core
️✔️latest
️✔️3.12
️✔️3.14
️✔️cosmosdb
️✔️latest
️✔️3.12
️✔️3.14
️✔️databoxedge
️✔️latest
️✔️3.12
️✔️3.14
️✔️dls
️✔️latest
️✔️3.12
️✔️3.14
️✔️dms
️✔️latest
️✔️3.12
️✔️3.14
️✔️eventgrid
️✔️latest
️✔️3.12
️✔️3.14
️✔️eventhubs
️✔️latest
️✔️3.12
️✔️3.14
️✔️feedback
️✔️latest
️✔️3.12
️✔️3.14
️✔️find
️✔️latest
️✔️3.12
️✔️3.14
️✔️hdinsight
️✔️latest
️✔️3.12
️✔️3.14
️✔️identity
️✔️latest
️✔️3.12
️✔️3.14
️✔️iot
️✔️latest
️✔️3.12
️✔️3.14
️✔️keyvault
️✔️latest
️✔️3.12
️✔️3.14
️✔️lab
️✔️latest
️✔️3.12
️✔️3.14
️✔️managedservices
️✔️latest
️✔️3.12
️✔️3.14
️✔️maps
️✔️latest
️✔️3.12
️✔️3.14
️✔️marketplaceordering
️✔️latest
️✔️3.12
️✔️3.14
️✔️monitor
️✔️latest
️✔️3.12
️✔️3.14
️✔️mysql
️✔️latest
️✔️3.12
️✔️3.14
️✔️netappfiles
️✔️latest
️✔️3.12
️✔️3.14
️✔️network
️✔️latest
️✔️3.12
️✔️3.14
️✔️policyinsights
️✔️latest
️✔️3.12
️✔️3.14
️✔️postgresql
️✔️latest
️✔️3.12
️✔️3.14
️✔️privatedns
️✔️latest
️✔️3.12
️✔️3.14
️✔️profile
️✔️latest
️✔️3.12
️✔️3.14
️✔️rdbms
️✔️latest
️✔️3.12
️✔️3.14
️✔️redis
️✔️latest
️✔️3.12
️✔️3.14
️✔️relay
️✔️latest
️✔️3.12
️✔️3.14
️✔️resource
️✔️latest
️✔️3.12
️✔️3.14
️✔️role
️✔️latest
️✔️3.12
️✔️3.14
️✔️search
️✔️latest
️✔️3.12
️✔️3.14
️✔️security
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicebus
️✔️latest
️✔️3.12
️✔️3.14
️✔️serviceconnector
️✔️latest
️✔️3.12
️✔️3.14
️✔️servicefabric
️✔️latest
️✔️3.12
️✔️3.14
️✔️signalr
️✔️latest
️✔️3.12
️✔️3.14
️✔️sql
️✔️latest
️✔️3.12
️✔️3.14
️✔️sqlvm
️✔️latest
️✔️3.12
️✔️3.14
️✔️storage
️✔️latest
️✔️3.12
️✔️3.14
️✔️synapse
️✔️latest
️✔️3.12
️✔️3.14
️✔️telemetry
️✔️latest
️✔️3.12
️✔️3.14
️✔️util
️✔️latest
️✔️3.12
️✔️3.14
️✔️vm
️✔️latest
️✔️3.12
️✔️3.14

@azure-client-tools-bot-prd

Copy link
Copy Markdown

Hi @Shi1810,
Since the current milestone time is less than 7 days, this pr will be reviewed in the next milestone.

@azure-client-tools-bot-prd

azure-client-tools-bot-prd Bot commented Jun 29, 2026

Copy link
Copy Markdown
⚠️AzureCLI-BreakingChangeTest
⚠️appservice
rule cmd_name rule_message suggest_message
⚠️ 1008 - ParaPropAdd webapp deploy cmd webapp deploy update parameter enriched_errors: added property default=True
⚠️ 1008 - ParaPropAdd webapp up cmd webapp up update parameter enriched_errors: added property default=True

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR aims to make context-enriched deployment failure diagnostics (--enriched-errors) enabled by default for App Service deployment experiences, specifically az webapp deploy and az webapp up, so users see richer failure logs unless they explicitly opt out.

Changes:

  • Switches default enriched_errors behavior in deployment entry points to be enabled by default.
  • Updates CLI parameter help text to state the new default and how to disable it.
  • Updates OneDeploy parameter defaults to align with the new intended behavior.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.

File Description
src/azure-cli/azure/cli/command_modules/appservice/custom.py Flips enriched_errors defaults in deployment helpers/params to aim for enriched errors on by default.
src/azure-cli/azure/cli/command_modules/appservice/_params.py Updates --enriched-errors help text for webapp up and webapp deploy to communicate the new default/opt-out.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread src/azure-cli/azure/cli/command_modules/appservice/_params.py Outdated
Comment thread src/azure-cli/azure/cli/command_modules/appservice/_params.py Outdated
@yonzhan

yonzhan commented Jun 29, 2026

Copy link
Copy Markdown
Collaborator

App Service

@Shi1810

Shi1810 commented Jun 29, 2026

Copy link
Copy Markdown
Contributor Author

@yonzhan , @yanzhudd - could you please help merge this PR on priority. We are targeting this for 30th June cutoff.

Comment thread src/azure-cli/HISTORY.rst Outdated
@yanzhudd

Copy link
Copy Markdown
Contributor

Please note that the code completion time for the upcoming release train is on 06/30/2026 at 02:00 UTC. If you want it to be released in this sprint, please get it ready asap and ping me in Teams directly.

@yanzhudd yanzhudd changed the title [App Service] az webapp deploy, az webapp up: Enable enriched-errors for deployment failure logs by default [App Service] az webapp deploy/up: Enable enriched-errors for deployment failure logs by default Jun 30, 2026
@yanzhudd yanzhudd merged commit e79305c into Azure:dev Jun 30, 2026
50 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants