获取集体照:ErrorAccessDenied

时间:2019-11-29 00:07:05

标签: microsoft-graph office365api

我可以获取有效的身份验证令牌,并且可以使用client_credential流使用此令牌成功调用其他端点,例如“ https://graph.microsoft.com/v1.0/groups”,并获得有效的结果。但是,我正在尝试获取用于团队的集体照:

GET https://graph.microsoft.com/v1.0/groups/{id}/photos

https://docs.microsoft.com/en-us/graph/api/group-list-photos

问题是我得到“ ErrorAccessDenied”作为结果,即:

 { "error": { "code": "ErrorAccessDenied", "message": "Access is denied. Check credentials and try again.", "innerError": { "request-id": "e1936ac7-84f6-4cc6-be9e-e7feb38b5198", "date": "2019-11-28T23:26:10" } } }

我相信我拥有所有必需的权限:

enter image description here

有人知道是什么问题吗?

0 个答案:

没有答案