az webapp deploy command fails with 404 #30992
Labels
app-service-deployment
app-service-general
Auto-Assign
Auto assign by bot
bug
This issue requires a change to an existing behavior in the product in order to be resolved.
Service Attention
This issue is responsible by Azure service team.
Web Apps
az webapp
Describe the bug
I'm trying to use the
az webapp deploy
command to deploy my web app. The help for this command says that the "name" argument is "Name of the webapp to deploy to." I can list my web apps withaz webapp list
and I only have one web app:But when I use this name in the
webapp deploy
command it fails with a 404The link in the error message was no help.
Related command
az webapp deploy
Errors
(ResourceNotFound) The Resource 'Microsoft.Web/sites/aspnet-entra-web-app' under resource group 'mdk-demos' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
Code: ResourceNotFound
Message: The Resource 'Microsoft.Web/sites/aspnet-entra-web-app' under resource group 'mdk-demos' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
Issue script & Debug output
cli.azure.cli.core.azclierror: (ResourceNotFound) The Resource 'Microsoft.Web/sites/aspnet-entra-web-app' under resource group 'mdk-demos' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
Code: ResourceNotFound
Message: The Resource 'Microsoft.Web/sites/aspnet-entra-web-app' under resource group 'mdk-demos' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
az_command_data_logger: (ResourceNotFound) The Resource 'Microsoft.Web/sites/aspnet-entra-web-app' under resource group 'mdk-demos' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
Code: ResourceNotFound
Message: The Resource 'Microsoft.Web/sites/aspnet-entra-web-app' under resource group 'mdk-demos' was not found. For more details please go to https://aka.ms/ARMResourceNotFoundFix
cli.knack.cli: Event: Cli.PostExecute [<function AzCliLogging.deinit_cmd_metadata_logging at 0x105e9e480>]
az_command_data_logger: exit code: 3
cli.main: Command ran in 2.147 seconds (init: 0.246, invoke: 1.901)
telemetry.main: Begin splitting cli events and extra events, total events: 1
telemetry.client: Accumulated 0 events. Flush the clients.
telemetry.main: Finish splitting cli events and extra events, cli events: 1
telemetry.save: Save telemetry record of length 4385 in cache file under /Users/mikekistler/.azure/telemetry/20250309221722268
telemetry.main: Begin creating telemetry upload process.
telemetry.process: Creating upload process: "/opt/homebrew/Cellar/azure-cli/2.70.0/libexec/bin/python /opt/homebrew/Cellar/azure-cli/2.70.0/libexec/lib/python3.12/site-packages/azure/cli/telemetry/init.py /Users/mikekistler/.azure /Users/mikekistler/.azure/telemetry/20250309221722268"
telemetry.process: Return from creating process 73832
telemetry.main: Finish creating telemetry upload process.
Expected behavior
It works.
Environment Summary
core 2.70.0
telemetry 1.1.0
Extensions:
account 0.2.5
apic-extension 1.0.0
azure-devops 1.0.1
azure-iot 0.24.0
baremetal-infrastructure 3.0.0b1
confidentialledger 1.0.0
spring-cloud 3.1.8
Dependencies:
msal 1.31.2b1
azure-mgmt-resource 23.1.1
Python location '/opt/homebrew/Cellar/azure-cli/2.70.0/libexec/bin/python'
Config directory '/Users/mikekistler/.azure'
Extensions directory '/Users/mikekistler/.azure/cliextensions'
Python (Darwin) 3.12.9 (main, Feb 4 2025, 14:38:38) [Clang 16.0.0 (clang-1600.0.26.6)]
Legal docs and information: aka.ms/AzureCliLegal
Your CLI is up-to-date.
Additional context
No response
The text was updated successfully, but these errors were encountered: