Quantcast
Channel: Azure Networking (DNS, Traffic Manager, VPN, VNET) forum
Viewing all articles
Browse latest Browse all 6513

Set-AzureNetworkSecurityRule : BadRequest: The Source Port provided is outside of allowed range

$
0
0

Hello, thank you in advance.

My customer and I are trying to get a rules set but no matter how we change the range, parameter order, etc we still get the error "Set-AzureNetworkSecurityRule : BadRequest: The Destination Port provided is outside of allowed range"

Get-AzureNetworkSecurityGroup -Name "NetworkWideNetSecGroup" `
| Set-AzureNetworkSecurityRule -Name "EXTERNAL INBOUND ALLOW DYNAMIC" -Type Inbound -Priority $Priority `
-Action Deny -SourceAddressPrefix 'INTERNET' -SourcePortRange '*' `
-DestinationAddressPrefix '*' -Protocol '*'  -DestinationPortRange '49152–65535'

Kenny


Viewing all articles
Browse latest Browse all 6513

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>