How to Restart Azure Application Gateway

Well, let’s discuss how to restart the application gateway in Azure using PowerShell and Azure CLI.

Restart Azure Application Gateway

Follow the below steps to restart the Azure application gateway

Using PowerShell

1. Open the PowerShell ISE as Run as administrator mode

Restart Azure Application Gateway

2. You can run the below PowerShell cmdlet to start the Azure Application Gateway. Check out the screenshot below.

PS C:\WINDOWS\system32> Start-AzureRmApplicationGateway
How to Restart Azure Application Gateway

In the same way, you can also stop the Azure Application Gateway using the below PowerShell cmdlet.

PS C:\WINDOWS\system32> Stop-AzureRmApplicationGateway
azure restart application gateway

Using Azure CLI

You can also Restart Azure Application Gateway using Azure CLI.

Use the below Azure CLI script to restart the Azure Application Gateway

First, you can use the below Azure CLI script to stop the Azure Application Gateway

az network application-gateway stop -g newresgroup -n DemoAppGateway

Then you can start the Azure Application Gateway using the below Azure CLI script.

az network application-gateway start -g newresgroup -n DemoAppGateway

You may also like following the articles below

Conclusion

This article discussed how to restart the application gateway in Azure using PowerShell and Azure CLI. Thanks for reading this article !!!