从Azure Function App使用防火墙访问Azure Blob存储 [英] Access to Azure Blob Storage with Firewall from Azure Function App

查看:69
本文介绍了从Azure Function App使用防火墙访问Azure Blob存储的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个Azure Blob存储帐户,该帐户仅与选定的网络防火墙关联.我想从动态计划中运行的功能应用程序访问此存储帐户,该计划的出站IP地址是我已知的.问题是我添加了这些出站 ips到blob存储的防火墙和虚拟网络"中的允许的IP地址"设置,但我仍然继续收到错误消息:

此请求无权执行此操作.

N.B.我正在使用PythonSDK通过帐户名和帐户密钥访问Blob存储!

解决方案

确保将功能应用添加到该容器/blob的访问控制设置中:


I have an Azure blob storage account which is fire walled to selected networks only. I would like to access this storage account from a function app running on a dynamic plan whose outbound IP addresses are known to me. Problem is that I add these outbound ips to the Allowed IP addresses in Firewall and Virtual Network settings of the blob storage but I still continue to get an error which says:

This request is not authorized to perform this operation.

Can someone please point out where I am going wrong?

N.B. I am using PythonSDK for accessing the blob storage with the account name and the account key!

解决方案

Make sure you are adding your Function App to the Access Control settings for that container/ blob: 


这篇关于从Azure Function App使用防火墙访问Azure Blob存储的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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