az webapp restartIT technician command center
Azure CLI · Microsoft Azure

az webapp restart

Restart an Azure web app.

Copy-ready commandaz webapp restart
az webapp restart -g rg-app-prod -n mywebapp
Production warning

Resource start, stop, restart, create, and deallocate operations affect workloads.

Requirements and permissions

Requirements
Azure CLI
Permissions
Azure RBAC permissions vary
Last reviewed
2026-07-31

Examples

Basic example

Restart an Azure web app.

az webapp restart -g rg-app-prod -n mywebapp

Common errors

Command not found

Confirm Azure CLI is installed and available in your current shell.