microsoft-teams - 如何在连接器设置中集成外部帐户
问题描述
我正在努力将现有的在线服务集成到团队中。虽然身份验证使用客户端 javascript SDK 工作,但我想知道是否有任何方法可以更优雅地将帐户配置集成到团队中。
例如,来自 GitHub 的连接器和其他连接器在连接器配置对话框的“我的帐户”部分中显示连接的外部帐户。在检查页面时,在我看来,他们似乎在使用更集成的配置体验。
有没有办法利用这个功能,是否有任何好的文档,或者只有“合作伙伴”才有可能?
谢谢你的时间,Gelx
编辑:
我现在假设第三方无法使用这种集成,因为没有关于它的文档。不过,我在配置连接器方面确实存在一些问题。我已按照文档中概述的步骤操作,但配置无法保存。
我尝试在这里更详细地解释这个问题: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/"
}
解决方案
推荐阅读
- javascript - 无法使用 javascript 读取 python 生成的 JSON
- r - 尝试将 2.5 gb csv 文件读入 R 时出错
- python - 用相同的颜色绘制每个集群
- informatica - 支持 Informatica 集成分配步骤中的可选参数
- excel - 配置模块
- html - 可以在 css 文件中设置 contenteditable 吗?
- swift - 如何使用 2 个 Swift 协议创建观察者模式,其中两个关联类型必须相同?
- java - logback-spring.xml 中的 LogstashTcpSocketAppender 不会将日志发送到 ELK 但适用于基于 Java 的方法
- oracle-apex - 交互式报表中的列标题
- excel - 如果命令 Application.run 不应该能够打开工作簿,为什么引用的工作簿打开两次?