Remediation
From Azure Portalβ
- Go to
Application gateways. - Click the name of an application gateway.
- Under
Settings, clickConfiguration. - Under
HTTP2, clickEnabled. - Click
Save. - Repeat steps 1-5 for each application gateway requiring remediation.
From Azure CLIβ
For each application gateway requiring remediation, run the following command to enable HTTP2:
az network application-gateway update --resource-group {{resource-group}} --name {{application-gateway}} --http2 Enabled
From PowerShellβ
Run the following command to get the application gateway in a resource group with a given name:
$gateway = Get-AzApplicationGateway -ResourceGroupName {{resource-group}} -Name {{application-gateway}}
Run the following command to enable HTTP2:
$gateway.EnableHttp2 = $true
Run the following command to apply the update:
Set-AzApplicationGateway -ApplicationGateway $gateway
Repeat for each application gateway requiring remediation.