我是开发人员。我有
网站贡献者
我们的基础架构团队创建的 Azure 功能中的角色。我在门户的函数应用程序中看不到任何列出的函数,当我尝试在 azure 门户的侧面导航中展开函数列表时,此 ajax 请求失败:
Request URL:
https://management.azure.com/subscriptions/{{my-enterprise-subscription-id-here}}/resourceGroups/mclintdevnc-ase-rg/providers/Microsoft.Web/hostingEnvironments/mclintdevnc-aseweb?api-version=2016-09-01
Request Method:
GET
Status Code:
403
此请求的响应正文包含以下内容:
{"error":{"code":"AuthorizationFailed","message":"The client '{{my-organizational-username-here}}' with object id '{{my-organizationao-user-id-here}}' does not have authorization to perform action 'Microsoft.Web/hostingEnvironments/read' over scope '/subscriptions/{{my-enterprise-subscription-id-here}}/resourceGroups/mclintdevnc-ase-rg/providers/Microsoft.Web/hostingEnvironments/mclintdevnc-aseweb'."}}
那么,我的函数应用程序需要哪些权限才能执行诸如查看函数、启用禁用单个函数以及为函数生成 api 密钥之类的操作?
这是我得到的屏幕显示:
当我将相同的代码部署到我的个人帐户(我是其管理员)上的 azure 函数时,我看到了:
我确定我不会在我的组织订阅中获得管理员角色,那么我可以拥有的最小权限集是什么,以便我可以查看我的功能并对其执行基本配置?