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.'."...
DutchDevOps
Mar 31, 2021Brass Contributor
I experienced the same problem but i found a workaround by creating a network rule via the Azure CLI. You can find the instructions here: https://docs.microsoft.com/en-us/azure/storage/common/storage-network-security?tabs=azure-cli#managing-ip-network-rules. I guess PowerShell should also work, so it must be a bug in the portal.
I just raised a support request at Microsoft to solve the problem in the portal.