问题
If I add a firewall rule on my Azure storage account that only allows access from my IP address, I can still successfully access the table and queue storage in that storage account, but when I try to access any of the blobs or file storage, I get an error.
Using Microsoft Azure Storage Explorer, the error I see is 'Unable to retrieve child resources. This request is not authorized to perform this operation'
It seems crazy that the firewall rule would work differently for blob and table storage. Any ideas?
回答1:
I finally figured this out. It's a bit embarrassing! It turns out that my company has two internet connections, and the firewall decides which one to use based on the name of the resource. So table and blob storage are accessed using different IP addresses. I only put one of these IP addresses in the firewall rules (the one that was being used to access table storage).
Thanks to Jason Ye for trying to help me out!
来源:https://stackoverflow.com/questions/49115833/azure-storage-account-firewall-rules-work-for-table-but-break-blob-storage