Hi, What the portal displays is not relevant if you can configure the setting or not. The Azure Portal does not have logic to find what policies you have applied in order to disable certain UI elements. All you need to do is configure policy Configure storage accounts to disable public network access (/providers/Microsoft.Authorization/policyDefinitions/a06d0189-92e8-4dba-b0c4-08d7669fce7d) with effect Modify on the subscription(s) where your storage accounts will be created. This will apply all your storage accounts that are created or modified to select the option Public Network Access - Disabled. When Public network access is disabled, you cannot configure virtual network rules or firewall rules as those are irrelevant in that case. When you configure private endpoints, you need to disable public network access besides creating the private endpoint.
Please "Accept the answer" if the information helped you. This will help us and others in the community as well.