The Azure App Service should be enabled with 'always on'

このページは日本語には対応しておりません。随時翻訳に取り組んでいます。翻訳に関してご質問やご意見ございましたら、お気軽にご連絡ください。

Description

Azure App Services has ‘always on’ enabled for web apps.

Rationale

Enabling ‘always on’ will enhance your Azure Apps web apps’ availability.

Remediation

Azure CLI

  1. Get a list of your App Services by running the following in Azure Powershell:

        az webapp list
    	--query '[*].id'
        
  2. Check the config of your web apps with the command:

        az webapp config show
    	--ids "<INSERT_ID>"
    	--query 'alwaysOn'
        
  3. Enable the web app’s ‘always on’ capability with the command:

        az webapp config set
    	--ids "<INSERT_ID>"
    	--always-on true
        
  4. Repeat steps one through three for each server that is not configured correctly.