通过流程向团队通道添加选项卡

时间:2019-03-24 12:03:32

标签: microsoft-graph sharepoint-online microsoft-teams microsoft-flow

我正在尝试使用Flow将SharePoint列表选项卡添加到团队中的渠道。但是,尽管我可以添加标签,但是标签始终为空白。

我已经尝试了Microsoft Graph Explorer和Flow,但是似乎无法配置选项卡以显示我的SharePoint列表。或任何其他适用于该措施的应用程序。该选项卡始终为空白。

我遵循了API上的POST

POST https://graph.microsoft.com/v1.0/teams/{id}/channels/{id}/tabs

身体:
注意:2a527703-1f6f-4559-a332-d8a7d288cd88是我从API

收集的共享点和列表的TeamsAppsId
{
  "displayName": "My Contoso Tab",
  "teamsApp@odata.bind" : "https://graph.microsoft.com/v1.0/appCatalogs/teamsApps/2a527703-1f6f-4559-a332-d8a7d288cd88",
  "configuration": {
    "entityId": "LIST ID HERE",
    "contentUrl": "https://www.contoso.com/Orders/LIST ID HERE/tabView",
    "websiteUrl": "https://www.contoso.com/Orders/LIST ID HERE",
    "removeUrl": "https://www.contoso.com/Orders/LIST ID HERE/uninstallTab"
  }
}

我得到一个201 Created,但是当我去我的团队并检查频道中的标签时,它的空白,我需要从“设置”中手动进行设置。

使用Sharepoint网站AppId(com.microsoft.teamspace.tab.web)在资源管理器上运行调用时,我获得了以下成功response

但是当我进入“团队列表”选项卡时,我刚刚创建了I see this

关于如何解决此问题的任何建议?

0 个答案:

没有答案