Azure Resource Manager Service tag for NSG - JackyChiou/jackychiou.github.io GitHub Wiki
You can set it by command:
$nsg = Get-AzureRmNetworkSecurityGroup -Name <sg name> -ResourceGroupName <resource group name>
Add-AzureRmNetworkSecurityRuleConfig -NetworkSecurityGroup $nsg -Name allow-arm -Description "Allow ARM" -Access Allow `
-Protocol Tcp -Direction Outbound -Priority 100 -SourceAddressPrefix * `
-SourcePortRange * -DestinationAddressPrefix AzureResourceManager -DestinationPortRange * | Set-AzureRmNetworkSecurityGroup
Enjoy. By Jacky 2019-12-17