Remediation
From Azure Portalโ
- Login to Azure Portal using https://portal.azure.com.
- Go to
App Services. - For each App Service.
- Under
Settingsection, click onConfiguration. - 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