[英]Microsoft Graph API throwing exception
since two days I get an exception calling:因为两天我收到一个异常调用:
var usersInGroup = await graphClient.Groups[groupid].Members.Request().GetAsync();
{
"error": {
"code": "Authorization_RequestDenied",
"message": "Insufficient privileges to complete the operation.",
"innerError": {
"request-id": "4069215a-945f-4cc0-abbf-132d703f55ae",
"date": "2020-04-28T08:18:49"
}
}
}
This call always worked before and proper permissions are given and consented.此调用之前始终有效,并且已授予并同意适当的权限。
Is there any known issue with this API / service?此 API / 服务是否存在任何已知问题? Any easy way to debug / monitor calls in Azure portal?
有什么简单的方法可以在 Azure 门户中调试/监控调用?
best regards Rainer最好的问候雷纳
just saw your problem - I'm having the same issue: MS-Graph request: insufficient privileges You may want to change your tag to 'microsoft-graph' so that it is found easier.刚刚看到您的问题 - 我遇到了同样的问题: MS-Graph 请求:权限不足您可能希望将标签更改为“microsoft-graph”,以便更容易找到它。
There seems like an Application permission Group.Selected
that affects the calling of this API endpoint /memberOf
.似乎有一个应用程序权限
Group.Selected
会影响此 API 端点/memberOf
的调用。 Removing this permission will fix the issue.删除此权限将解决此问题。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.