Set-AzureRmApplicationGatewayBackendHttpSettings resets Request Timeout to 30 seconds when RequestTimeout parameter is not set #5145
Labels
customer-reported
Network - Application Gateway
Network
Service Attention
This issue is responsible by Azure service team.
Cmdlet(s)
Set-AzureRmApplicationGatewayBackendHttpSettings
PowerShell Version
Instructions: to get PowerShell version, type
$PSVersionTable
and look for the value associated withPSVersion
5.1.14393.1770
Module Version
OS Version
Instructions: to get OS version, type
$PSversionTable
and look for value associated withBuildVersion
10.0.14393.1770
Description
Set-AzureRmApplicationGatewayBackendHttpSettings overrides Request Timeout to 30 seconds when RequestTimeout parameter is not specified.
I have an existing backend http settings with 120 seconds timeout. I then call Set-AzureRmApplicationGatewayBackendHttpSettings to change the port of that setting, without passing the RequestTimeout parameter.
According to documentation the RequestTimeout parameter is optional and has no default value.
Howerver in my case the call to Set-AzureRmApplicationGatewayBackendHttpSettings resets the request timeout back to 30 seconds.
My workaround for now is to specify the optional RequestTimeout parameter.
Debug Output
Instructions: to get Debug Output, set
$DebugPreference="Continue"
and then execute the cmdlet or script causing the issueScript/Steps for Reproduction
The text was updated successfully, but these errors were encountered: