-
Notifications
You must be signed in to change notification settings - Fork 4.1k
Open
Labels
Network - FirewallService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.
Description
Description
Currently when running New-AzFirewallPolicyApplicationRule -Protocol "Http:80". It is forced to use FQDNTag and gets forced into Https protocol
Because FQDN tag is required https is always injected
Line 162 in 3a3d8b0
if (FqdnTag != null) |
Issue script & Debug output
bewaters $apprule = New-AzFirewallPolicyApplicationRule -Name "rule" -SourceIpGroup $ipg.Id -WebCategory "Games" -Protocol "Http:80" -FqdnTag "HDInsight"
bewaters $appRule
SourceAddresses :
TargetFqdns :
FqdnTags : {HDInsight}
Protocols : {Microsoft.Azure.Commands.Network.Models.PSAzureFirewallPolicyApplicationRuleProtocol}
SourceIpGroups : {/subscriptions/e7eb2257-46e4-4826-94df-153853fea38f/resourcegroups/bewatersrepro/providers/Microsoft.Network/ipGroups/repro}
WebCategories : {Games}
TargetUrls :
TerminateTLS :
HttpHeadersToInsert :
Description :
ProtocolsText : [
{
"protocolType": "Https",
"port": 443
}
]
SourceAddressesText : null
SourceIpGroupsText : [
"/subscriptions/e7eb2257-46e4-4826-94df-153853fea38f/resourcegroups/bewatersrepro/providers/Microsoft.Network/ipGroups/repro"
]
TargetFqdnsText : null
FqdnTagsText : [
"HDInsight"
]
WebCategoriesText : [
"Games"
]
TargetUrlsText : null
HttpHeadersToInsertText : null
Name : rule
RuleType : ApplicationRule
Environment data
Name Value
---- -----
PSVersion 5.1.26100.4768
PSEdition Desktop
PSCompatibleVersions {1.0, 2.0, 3.0, 4.0...}
BuildVersion 10.0.26100.4768
CLRVersion 4.0.30319.42000
WSManStackVersion 3.0
PSRemotingProtocolVersion 2.3
SerializationVersion 1.1.0.1
Module versions
Get-Module Az.Network
ModuleType Version Name ExportedCommands
---------- ------- ---- ----------------
Script 7.19.1 Az.Network
Error output
Metadata
Metadata
Assignees
Labels
Network - FirewallService AttentionThis issue is responsible by Azure service team.This issue is responsible by Azure service team.bugThis issue requires a change to an existing behavior in the product in order to be resolved.This issue requires a change to an existing behavior in the product in order to be resolved.