Forum Discussion
Tom-S-2060
Mar 30, 2021Copper Contributor
Can't add IP address to storage account
I can no longer add an IP address to a storage account networking using the portal. This started within the last week. I get the message "Invalid argument: 'The prefix must be between 0 and 30.'."...
Seshadrr
Mar 31, 2021Iron Contributor
From Azure Portal- Navigate to Storage account which you want to allow Secure network connection..
1) Go to the storage account you want to secure.
2) Select on the settings menu called Networking.
3) Check that you've selected to allow access from Selected networks.
To grant access to an internet IP range, enter the IP address or address range (in CIDR format) under Firewall > Address Range.
To remove an IP network rule, select the trash can icon next to the address range.
Select Save to apply your changes.
Note: You must provide allowed internet address ranges using CIDR notation in the form 16.17.18.0/24 or as individual IP addresses like 16.17.18.19.
Small address ranges using "/31" or "/32" prefix sizes are not supported. These ranges should be configured using individual IP address rules.
1) Go to the storage account you want to secure.
2) Select on the settings menu called Networking.
3) Check that you've selected to allow access from Selected networks.
To grant access to an internet IP range, enter the IP address or address range (in CIDR format) under Firewall > Address Range.
To remove an IP network rule, select the trash can icon next to the address range.
Select Save to apply your changes.
Note: You must provide allowed internet address ranges using CIDR notation in the form 16.17.18.0/24 or as individual IP addresses like 16.17.18.19.
Small address ranges using "/31" or "/32" prefix sizes are not supported. These ranges should be configured using individual IP address rules.
- Tom-S-2060Mar 31, 2021Copper ContributorI know how to add the IP address. I get the following error with valid IP addresses and CIDR notations.
"Invalid argument: 'The prefix must be between 0 and 30.'."