Azure权限丢失Microsoft.web/stites/host/properties/read

发布于 2025-01-20 18:31:53 字数 132 浏览 3 评论 0 原文

由于我在日志中看到的错误 - microsoft.web/stites/stite/host/properties/read ,我正在尝试将以下权限添加到Azure角色中。但是,当我编辑角色定义时,我找不到此许可。有什么想法吗?

I am trying to add the following permission to an Azure role due to an error I am seeing in the logs - Microsoft.Web/sites/host/properties/read. However, I cant find this permission to apply when I edit the role definition. Any idea?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

二货你真萌 2025-01-27 18:31:53

高兴 jakeut 您使用*/read read 许可解决了问题。

按照此),HAT许可 _Microsoft.web/stites/stite/host/properties/read _ 找不到。 之后, functionKeys/write functionKeys/delete systemkeys/write systemkeys/delete 可用。

从此,据说:

如果资源类型是动态的,并且所需的权限是所有受支持的资源类型(例如读取,写)的标准化,则可以通过用“”替换资源类型来使用相对权限。或“ {ResourceType}”。例如,如果检查网站上的读取访问,则可以检查“ ./ read ”,将评估为“ microsoft.web/stite/stites/read ”。对于网站部署插槽,将评估为“ microsoft.web/stites/lotes/plots/read ”。


Glad JakeUT that you resolved the issue using the */read permission.

As per this Microsoft Documentation), hat permission _Microsoft.web/sites/host/properties/read_ is not found. After _Microsoft.web/sites/host/_ - listkeys/action, sync/action, listsyncstatus/action, functionkeys/write, functionkeys/delete, systemkeys/write and systemkeys/delete are available.

And from this GitHub Article, it is said that:

If the resource type is dynamic and the required permission is standard across all supported resource types (e.g. read, write), you can use relative permissions by replacing the resource type with "." or "{resourceType}". For instance, if checking read access on a website, you can check for "./read", which will be evaluated as "Microsoft.Web/sites/read". For a website deployment slot, this would be evaluated as "Microsoft.Web/sites/slots/read".

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文