betachats:chatIdinstalledApps返回404。

问题描述 投票:2回答:1

根据这里提供的文件 https:/docs.microsoft.comen-usgraphapiresourceschat?view=graph-rest-beta#关系。

GET https://graph.microsoft.com/beta/chats/:chatId/installedApps 应该返回该聊天记录上已安装的应用程序。

两个 messagesmembers 端点 chats 行得通

但是 installedApps 端点失败为404,响应为

HTTP/1.1 404 Not Found
Cache-Control: private
Content-Type: application/json
request-id: 6a72dce1-52e5-4f50-84b7-4ce52f4e347d
client-request-id: 8db2cc88-3080-450f-8b3d-359222f74705
x-ms-ags-diagnostic: {"ServerInfo":{"DataCenter":"South India","Slice":"SliceC","Ring":"3","ScaleUnit":"001","RoleInstance":"AGSFE_IN_7"}}
Access-Control-Allow-Origin: *
Access-Control-Expose-Headers: ETag, Location, Preference-Applied, Content-Range, request-id, client-request-id, ReadWriteConsistencyToken, SdkVersion
Strict-Transport-Security: max-age=31536000
Date: Tue, 21 Apr 2020 16:51:07 GMT
Content-Length: 198

{
  "error": {
    "code": "UnknownError",
    "message": "",
    "innerError": {
      "request-id": "6a72dce1-52e5-4f50-84b7-4ce52f4e347d",
      "date": "2020-04-21T16:51:07"
    }
  }
}

权限范围是

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
microsoft-graph microsoft-teams
1个回答
3
投票

应用程序可以通过客户端在聊天中安装和管理(因此关系是正确的),这是正确的,Graph API不支持它(见下面的文档链接)。

目前,Graph 仅支持在团队和用户范围内安装应用程序,如文档中所列的那样 https:/docs.microsoft.comen-usgraphapiresourcesteamsappinstallation?view=graph-rest-beta。

目前Graph API不支持在聊天范围内安装RemovingFetchingUpdating应用。

© www.soinside.com 2019 - 2024. All rights reserved.