The Azure portal lists containers but cannot open them: network request failed
Your error
Network request failed - cannot access storage endpoint. Your firewall settings may be preventing network access from this client to the storage data endpoint.1 more line it can showFix it fast
Most common cause, 1 of 4The firewall allows selected networks, and your public IP is not one of them
Add your internet-facing IPv4 address as an IP network rule.
az storage account network-rule add --resource-group myresourcegroup --account-name mystorageaccount --ip-address 16.17.18.19Short answer
Network request failed - cannot access storage endpoint appears when your browser cannot reach the account's data endpoint. Storage firewall rules, disabled public access with a private endpoint, or DNS missing the privatelink zone block it. Add your public IP, browse from inside the virtual network, or fix the private DNS zone. Applies to Azure Storage with Azure CLI 2.93.
Which cause do you have?
Read the account's network settings and resolve its blob host name from the machine running your browser. The two answers together tell you whether the public endpoint is closed, filtered, or reached through the wrong address.
az storage account show --resource-group myresourcegroup --name mystorageaccount --query "{publicNetworkAccess:publicNetworkAccess, defaultAction:networkRuleSet.defaultAction, ipRules:networkRuleSet.ipRules}"
nslookup mystorageaccount.blob.core.windows.netThen find the line you see in this list and open its fix:
- 1The firewall allows selected networks, and your public IP is not one of them
defaultAction is Deny, publicNetworkAccess is Enabled, and ipRules does not contain the public IPv4 address your browser uses - 2Public access is disabled and you are outside the private endpoint's network
publicNetworkAccess is Disabled, and nslookup on your laptop follows the privatelink CNAME to a public address - 3You are inside the network, but DNS still returns the public address
The browsing VM is in or peered with the private endpoint's virtual network, yet nslookup shows a public IP instead of the private endpoint IP - 4Your browser runs on an Azure VM in the same region, where IP rules do nothing
An IP rule for the VM's public address exists, the account allows selected networks, and the VM sits in the account's Azure region
What does the error look like?
Network request failed - cannot access storage endpoint. Your firewall settings may be preventing network access from this client to the storage data endpoint.CORS settings on your storage account may be preventing network access from this client.
Cause 1 of 4
The firewall allows selected networks, and your public IP is not one of them
You seedefaultAction is Deny, publicNetworkAccess is Enabled, and ipRules does not contain the public IPv4 address your browser uses
Check
Storage firewall rules govern data plane calls only. The portal can still list containers through the control plane, but opening one sends data requests from your browser, so the cannot access storage endpoint message means your machine sits outside the trusted boundary. Microsoft states that portal, Storage Explorer and AzCopy users must be inside it.
az storage account network-rule list --resource-group myresourcegroup --account-name mystorageaccount --query ipRulesFix
Add your internet-facing IPv4 address as an IP network rule. Private ranges such as 10.x or 192.168.x are refused, and a single address is entered without a /32 prefix.
az storage account network-rule add --resource-group myresourcegroup --account-name mystorageaccount --ip-address 16.17.18.19Verify
The new address appears in the rule list, and after a page refresh the container opens and lists its blobs.
az storage account network-rule list --resource-group myresourcegroup --account-name mystorageaccount --query ipRulesConfirmed by learn.microsoft.com
Cause 2 of 4
Public access is disabled and you are outside the private endpoint's network
You seepublicNetworkAccess is Disabled, and nslookup on your laptop follows the privatelink CNAME to a public address
Check
With only a private endpoint, the account answers clients in the linked virtual network. Outside it, the blob name still resolves to the public endpoint, which no longer accepts traffic, so a portal session from home or the office cannot load the container.
nslookup mystorageaccount.blob.core.windows.netFix
Open the portal from a machine that is inside that virtual network, or connected to it by VPN or peering with matching DNS. If browsing from the internet is acceptable, change public network access to selected networks and add only your IP.
# option A: from a VM or VPN client inside the virtual network
nslookup mystorageaccount.blob.core.windows.net
# option B: reopen the public endpoint to your IP only
az storage account update --resource-group myresourcegroup --name mystorageaccount --public-network-access Enabled --default-action Deny
az storage account network-rule add --resource-group myresourcegroup --account-name mystorageaccount --ip-address 16.17.18.19Verify
The lookup from the browsing machine returns the private endpoint's address, and the container opens.
nslookup mystorageaccount.blob.core.windows.netConfirmed by learn.microsoft.com
Cause 3 of 4
You are inside the network, but DNS still returns the public address
You seeThe browsing VM is in or peered with the private endpoint's virtual network, yet nslookup shows a public IP instead of the private endpoint IP
Check
Private endpoint routing works only through name resolution. A custom or on-premises DNS server that does not forward the privatelink.blob.core.windows.net zone hands back the public answer, and the closed public endpoint refuses the browser.
az network private-dns link vnet list --resource-group myresourcegroup --zone-name privatelink.blob.core.windows.netFix
Link the private DNS zone privatelink.blob.core.windows.net to the virtual network the client uses, or set your DNS server to forward that subdomain to Azure DNS. Keep using the normal blob host name in the portal and apps, not the privatelink one.
az network private-dns link vnet create --resource-group myresourcegroup --name blob-dns-link --zone-name privatelink.blob.core.windows.net --virtual-network myvnet --registration-enabled falseVerify
nslookup for the normal blob host name now returns the private endpoint's address from the browsing machine.
nslookup mystorageaccount.blob.core.windows.netConfirmed by learn.microsoft.com
Cause 4 of 4
Your browser runs on an Azure VM in the same region, where IP rules do nothing
You seeAn IP rule for the VM's public address exists, the account allows selected networks, and the VM sits in the account's Azure region
Check
IP network rules have no effect on requests that come from the same Azure region as the storage account, so a jump box in that region is still blocked even when its address is listed.
az storage account show --resource-group myresourcegroup --name mystorageaccount --query locationFix
Allow the VM's subnet with a virtual network rule instead. Turn on the Microsoft.Storage.Global service endpoint for the subnet, then add the subnet to the account's network rules.
az network vnet subnet update --resource-group myresourcegroup --vnet-name myvnet --name mysubnet --service-endpoints "Microsoft.Storage.Global"
subnetid=$(az network vnet subnet show --resource-group myresourcegroup --vnet-name myvnet --name mysubnet --query id --output tsv)
az storage account network-rule add --resource-group myresourcegroup --account-name mystorageaccount --subnet $subnetidVerify
The rule list now shows the subnet under virtualNetworkRules, and the portal on the VM opens the container.
az storage account network-rule list --resource-group myresourcegroup --account-name mystorageaccount --query virtualNetworkRulesConfirmed by learn.microsoft.com
How do I stop it coming back?
- Keep the admin team's office or VPN egress IPs in the storage account's IP rules as code, so a template redeploy does not wipe them.
- For private-endpoint-only accounts, give operators a jump host in the linked network and test nslookup from it after every DNS change.
- Link the privatelink.blob.core.windows.net zone to every virtual network that browses or reads the account, including peered hub networks.
Sources
How was this page made?
I drafted this page with AI assistance from the official documents listed under Sources. Every cause above names the document that confirms it. I have not reproduced this fix on a machine of my own yet, so read it as documented guidance, not a test report. Found a mistake? Tell me.