Remediation
From Azure Portalโ
- Log in to the Azure portal using https://portal.azure.com.
- Go to
App Services. - For each App Service, do the following:
- Under
Settings, selectConfiguration. - Under the
General Settingstab, setHTTPS OnlytoOnunderPlatform Settings.
From Azure CLIโ
To set HTTPS-only traffic value for an existing app, run the following command:
az webapp update \
--resource-group {{resource-group-name}} \
--name {{app-name}} \
--set httpsOnly=true
From PowerShellโ
Set-AzWebApp `
-ResourceGroupName {{resource-group-name}} `
-Name {{app-name}} `
-HttpsOnly $true