Azure存储帐户防火墙规则适用于表,但会破坏Blob存储 [英] Azure Storage account firewall rules work for table but break blob storage

查看:63
本文介绍了Azure存储帐户防火墙规则适用于表,但会破坏Blob存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在只允许从我的IP地址访问的Azure存储帐户上添加了防火墙规则,我仍然可以成功访问该存储帐户中的表和队列存储,但是当我尝试访问任何Blob或文件时存储,出现错误.

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.

使用Microsoft Azure存储资源管理器,我看到的错误是无法检索子资源.此请求无权执行此操作'

Using Microsoft Azure Storage Explorer, the error I see is 'Unable to retrieve child resources. This request is not authorized to perform this operation'

对于blob和表存储,防火墙规则会有所不同,这似乎很疯狂.有什么想法吗?

It seems crazy that the firewall rule would work differently for blob and table storage. Any ideas?

推荐答案

我终于明白了.有点尴尬!事实证明,我的公司有两个Internet连接,防火墙根据资源的名称决定使用哪个.因此,可以使用不同的IP地址访问表和Blob存储.我只将这些IP地址之一放在防火墙规则中(用于访问表存储的那个IP地址).

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).

感谢杰森·叶(Jason Ye)试图帮助我!

Thanks to Jason Ye for trying to help me out!

这篇关于Azure存储帐户防火墙规则适用于表,但会破坏Blob存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆