Microsoft graph api 微软图形团队,403关于在聊天中发布消息

Microsoft graph api 微软图形团队,403关于在聊天中发布消息,microsoft-graph-api,microsoft-teams,Microsoft Graph Api,Microsoft Teams,我们正在使用betaendpoint将消息发布到会议聊天室 终点是 https://graph.microsoft.com/beta/chats/{chatId}/消息 但它是返回403禁止 HTTP/1.1 403 Forbidden Cache-Control: private Content-Type: application/json request-id: 23b6427c-a3f2-4b53-85e4-4acc491ffa8e client-request-id: b59322c2-

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

终点是
https://graph.microsoft.com/beta/chats/{chatId}/消息

但它是返回403禁止

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"
        }
    }
}
权限范围为
它适用于除此用户之外的所有人

我猜,您使用的是委托权限-因此,用户可能无权发布到频道,因为他或她不在团队中?@Homungus,这不是团队会议,而是临时聊天会议OK,因此如果它适用于所有其他用户,那么对于此单个用户来说有一些特殊的功能,例如,来自另一个租户,使用microsoft帐户而不是工作/学校帐户,拥有有限的权限,因此这里有很多可能。请记住:权限限制是用户权限和范围之间的利益关系。
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