获取https://graph.microsoft.com/beta/me/presence(/ communications / getPresencesByUserId,/ users / {id} /状态)
{
"error": {
"code": "Unauthorized",
"message": "Unauthorized",
"innerError": {
"request-id": "b13dbf1b-16b2-4c41-90ee-103b46d9890f",
"date": "2020-05-27T09:18:43"
}
}
}
已在jwt中签入,令牌具有范围:“ scp”:“ ... Presence.Read Presence.Read.All ...”
使用同一用户在Graph Explorer中登录。响应为“禁止”,但在同意后,在Graph Explorer中可以正常工作。