gpt4 book ai didi

azure - Azure Active Directory 应用程序模型 v2 是否支持图形 api?

转载 作者:行者123 更新时间:2023-12-03 03:12:04 25 4
gpt4 key购买 nike

我无法同意 Active Directory v2(应用程序模型 v2)中的 graphi api 权限。我尝试如下:增量和动态同意示例

https://azure.microsoft.com/en-us/documentation/articles/active-directory-v2-compare/

我得到的错误:为输入参数“范围”提供的值无效。范围https://graph.windows.net/directory.read无效。

consent url

最佳答案

Microsoft Graph ( https://graph.microsoft.com ) 部分支持应用程序模型 v2 - 特别是 Outlook 范围(例如 mail.read)和目录范围(例如 Directory.read.all)。其他范围(例如文件和站点)则没有。

Azure AD Graph ( https://graph.windows.net ) 根本不支持应用程序模型 v2。

Directory.Read 未被接受,因为它不是有效范围,您要么在 User.Read 要么 Directory.Read.All 之后

参见http://graph.microsoft.io/en-us/docs/authorization/permission_scopes了解更多信息。

关于azure - Azure Active Directory 应用程序模型 v2 是否支持图形 api?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/36006737/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com