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

This page is not yet available in Spanish. We are working on its translation.
If you have any questions or feedback about our current translation project, feel free to reach out to us!

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.

PREVIEWING: mervebolat/span-id-preprocessing