If we want to deny specific traffic, we must create a deny rule. Rules are applied by priority, so this rule will be applied only if there is not a higher priority rule.
Configuring a new deny rule
Getting ready
Open the PowerShell console and make sure you are connected to your Azure subscription.
How to do it...
In order to create a new deny rule in Azure Firewall, execute the following command:
$RG="Packt-Networking-Portal"
$Location="West Europe"
$Azfw = Get-AzureRmFirewall -ResourceGroupName $RG
$Rule = New-AzureRmFirewallApplicationRule -Name...