在 GET 请求上:
https://graph.microsoft.com/v1.0/users/me/joinedTeams
从以下位置检索访问令牌:https://login.microsoftonline.com/4c3a1b30-xxxx-xxxx-9581-0281c4427992/oauth2/token
我遇到以下错误。但我已经提供了所有权限。下面给出了 SS。
{
"error": {
"code": "Forbidden",
"message": "Missing role permissions on the request. API requires one of 'Team.ReadBasic.All, TeamSettings.Read.All, TeamSettings.ReadWrite.All, User.Read.All, Directory.Read.All, User.ReadWrite.All, Directory.ReadWrite.All'. Roles on the request ''.",
"innerError": {
"date": "2023-12-20T16:34:51",
"request-id": "f7972c62-00d2-44ed-840c-5c7fd19638a6",
"client-request-id": "f7972c62-00d2-44ed-840c-5c7fd19638a6"
}
}
}
https://learn.microsoft.com/en-us/graph/api/callrecords-callrecord-get?view=graph-rest-1.0&tabs=http
我期待收到包含我加入的团队详细信息的回复。
花了一些时间进行测试后,我确信这不是预期的情况。