Azure Storage account firewall rules work for table but break blob storage

与世无争的帅哥 提交于 2021-01-28 08:37:00

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!