Azure active directory 尽管权限正确,Microsoft Graph用户/getMemberGroups仍会失败

Azure active directory 尽管权限正确,Microsoft Graph用户/getMemberGroups仍会失败,azure-active-directory,microsoft-graph-api,Azure Active Directory,Microsoft Graph Api,我正在使用图形浏览器测试一些请求。我使用我的租户帐户登录,并尝试列出其他用户的任务: https://graph.microsoft.com/v1.0/users/{id}/getMemberGroups 我得到以下错误: { "error": { "code": "", "message": "You do not have the required permissions to access this item.", "innerEr

我正在使用图形浏览器测试一些请求。我使用我的租户帐户登录,并尝试列出其他用户的任务:

https://graph.microsoft.com/v1.0/users/{id}/getMemberGroups
我得到以下错误:

{
    "error": {
        "code": "",
        "message": "You do not have the required permissions to access this item.",
        "innerError": {
            "request-id": "8e9c5b30-ad4a-4c4c-80c2-f14b110b3fee",
            "date": "2020-05-18T16:08:36"
        }
    }
}
在该测试期间,我目前拥有以下权限:

Group.Read.All
Group.ReadWrite.All
User.Read.All
User.ReadWrite.All
关于这一点,这应该足够了:

委托工作或学校帐户:User.ReadBasic.All和GroupMember.Read.All,User.Read.All和GroupMember.Read.All,User.ReadBasic.All和Group.Read.All,User.Readand Group.Read.All,User.Read.All和Group.Read.All,Directory.Read.All,Directory.accessuser.All

委派的个人Microsoft帐户:不受支持

应用程序:User.Read.All和GroupMember.Read.All、User.Read.All和Group.Read.All、Directory.Read.All、Directory.ReadWrite.All


知道哪里出了问题吗?

尽管您已请求权限,但在收到管理员的同意之前,您无法授权此权限。此外,如果要对组进行任何更改,则需要成为通过graph请求的组的成员


如果您使用Azure门户将您的应用程序注册到v1端点,则您的管理员可以使用管理员同意工作流或直接在门户内授予权限。您可以在中阅读有关同意框架的更多信息。

您好,我可以知道此问题是否已解决吗?