Skip to main content

Remediation

From Azure Portal​

  1. Go to Application gateways.
  2. Select the name of an application gateway.
  3. Under Settings, click Configuration.
  4. Under HTTP/2, click Enabled.
  5. Click Save.
  6. 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 HTTP/2:

az network application-gateway update \
--resource-group {{resource-group-name}} \
--name {{application-gateway-name}} \
--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}} `
-Name {{application-gateway-name}}

Run the following command to enable HTTP/2:

$gateway.EnableHttp2 = $true

Run the following command to apply the update:

Set-AzApplicationGateway -ApplicationGateway $gateway

Repeat for each application gateway requiring remediation.