为什么Azure门户中未列出Azure存储API权限? [英] Why is Azure Storage API permission not listed in azure portal?

查看:73
本文介绍了为什么Azure门户中未列出Azure存储API权限?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

尝试构建一个使用AAD凭据访问azure存储API的应用,我注意到某些API权限不是列在azure门户中,唯一的设置方法是直接编辑应用程序注册清单.有关更多详细信息,请在此处看到我的答案.

Trying to build an app that accesses the azure storage API using AAD credentials, I noted that some API permissions are not listed within the azure portal and the only way to set them is through editing the app registration manifest directly. See my answer here for more details.

我的问题很简单:

  1. 我是否错过了门户网站中Azure存储上对user_impersonation的许可,还是真的没有列出?
  2. 如果是这样,我们在哪里可以找到带有其GUID的所有可用权限的完整列表,以便手动配置清单更加容易?
  1. Did I miss the permission for user_impersonation on Azure Storage in the portal or is it truly not listed?
  2. If so, where can we find a complete list of all available permissions with its GUIDs so configuring the manifest manually is easier?

例如,我在Internet论坛上某个地方的Azure存储上找到了user_impersonation的正确GUID,并将其添加到清单中,如下所示.

For instance I found the correct GUID for user_impersonation on Azure Storage somewhere on a internet forum and added it to my manifest as shown below.

"requiredResourceAccess": [
{
    "resourceAppId": "e406a681-f3d4-42a8-90b6-c2b029497af1",
    "resourceAccess": [
        {
            "id": "03e0da56-190b-40ad-a80c-ea378c433f7f",
            "type": "Scope"
        }
    ]
}
]

修改清单后,可以在门户中看到结果悬停:

The result hover can be seen in the portal after modification of the manifest:

推荐答案

如注释中所指出,在"我的组织使用的API "下,该条目应可见.

As pointed out in the comments, the entry should be visible unter "APIs my organization uses".

但是,该搜索未返回任何内容,这似乎是暂时的错误.

However, the search there is not returning anything, which seems to be a temporary bug.

您必须手动滚动列表,然后点击加载更多".从那里您将找到Azure存储作为API权限.

You have to manually scroll through the list and hit "load more". From there you'll find Azure Storage as an API permission.

这篇关于为什么Azure门户中未列出Azure存储API权限?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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