如何在连接器设置中集成外部帐户

时间:2019-02-14 08:26:28

标签: microsoft-teams office365connectors

我正在将现有的在线服务集成到团队中。在使用客户端javascript SDK进行身份验证时,我想知道是否有任何方法可以将帐户配置更优雅地集成到团队中。

例如,来自GitHub的连接器,其他连接器在连接器配置对话框的“我的帐户”部分中显示已连接的外部帐户。在检查页面时,在我看来,他们好像在使用更集成的配置体验。

是否有一种利用此功能的方法,上面是否有任何好的文档?或者仅适用于“合作伙伴”?

感谢您的宝贵时间, Gelx

编辑:

我现在假设第三方没有这种类型的集成,因为其中没有任何文档。 我在配置连接器时确实有一些问题。我已经按照the docs中概述的步骤进行操作,但是配置无法保存。

我尝试在此处更详细地说明问题:GitHub gist

我尝试在仪表板上设置新的连接器,并确保在有效域列表中包括所需的域。 现在我收到此错误:

{
  "errorType":"HttpAntiForgeryException",
  "errorMessage":"An unexpected error occurred. Please try again.",
  "errorMessageFromProvider":null,
  "providerName":"",
  "host":"VI1P190MB0446",
  "requestId":"d07c70de-f942-4e16-9d69-fbb9b3469f96",
  "time":"\/Date(1550150816383)\/",
  "launchUrl":null
}

编辑2:

我当前的错误输出是:

Received error from connectors {  
   "seq":1550476872815,
   "timestamp":1550481952912,
   "flightSettings":{  
      "Name":"ConnectorFrontEndSettings",
      "AriaSDKToken":"d127f72a3abd41c9b9dd94faca947689-d58285e6-3a68-4cab-a458-37b9d9761d35-7033",
      "SPAEnabled":true,
      "ClassificationFilterEnabled":true,
      "ClientRoutingEnabled":true,
      "EnableYammerGroupOption":true,
      "EnableFadeMessage":false,
      "EnableDomainBasedOwaConnectorList":false,
      "EnableDomainBasedTeamsConnectorList":false,
      "DevPortalSPAEnabled":true,
      "ShowHomeNavigationButtonOnConfigurationPage":false
   },
   "status":500,
   "clientType":"SkypeSpaces",
   "connectorType":"284913c1-6326-4c87-b687-bd7ef58dc163",
   "name":"handleMessageError",
   "nonPIIInfo":"{\"exception\":{}}"
}

以下配置是由我的配置页面生成的:

{
  configName: "Notifications for collection \"Mars Expedition\"",
  contentUrl: "https://b5e5904f.ngrok.io/msteams/connector-landing",
  entityId: 101,
  removeUrl: "https://b5e5904f.ngrok.io/"
}

0 个答案:

没有答案