Microsoft图形团队,403在聊天中发布消息

时间:2020-05-27 09:27:41

标签: microsoft-graph-api microsoft-teams

我们正在使用beta端点将消息发布到会议聊天

端点是 https://graph.microsoft.com/beta/chats/{chatId}/messages

但它返回了403 Forbidden

HTTP/1.1 403 Forbidden
Cache-Control: private
Content-Type: application/json
request-id: 23b6427c-a3f2-4b53-85e4-4acc491ffa8e
client-request-id: b59322c2-b338-4862-8448-a3271c116ac1

{
    "error": {
        "code": "UnknownError",
        "message": "",
        "innerError": {
            "request-id": "23b6427c-a3f2-4b53-85e4-4acc491ffa8e",
            "date": "2020-05-27T07:02:39"
        }
    }
}

权限范围是

Calendars.ReadWrite Calendars.ReadWrite.Shared Chat.ReadWrite Directory.Read.All Files.Read Files.Read.All Files.ReadWrite Group.ReadWrite.All Mail.Send MailboxSettings.Read Notes.ReadWrite.All openid profile Sites.ReadWrite.All Tasks.ReadWrite User.Read User.ReadBasic.All

除该用户外,它适用于所有人

0 个答案:

没有答案