Microsoft Teams Connector 无法保存配置

Microsoft Teams Connector unable to save configuration

我正在尝试构建一个 Microsoft Teams 连接器,我在开发时将其旁加载到我的团队中。我已经设置了一个 testing config page on S3 并将我的应用程序清单指向它。当我单击保存按钮时,它会停留在“设置连接器”微调器上一段时间,然后说“无法保存连接器配置。请重试。”

配置页面的Javascript应该可以通过上面的S3link看到;我的应用清单如下。查看几个类似的问题后,您会注意到 contentUrl 包含在 validDomains.

中的通配符中

{
  "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.7/MicrosoftTeams.schema.json",
  "manifestVersion": "1.7",
  "version": "1.0.0",
  "id": "0b73c39a-db1d-43eb-81bd-3813bef33713",
  "packageName": "<redacted>",
  "developer": {
    "name": "Developer",
    "websiteUrl": "<redacted>",
    "privacyUrl": "<redacted>",
    "termsOfUseUrl": "<redacted>"
  },
  "icons": {
    "color": "color.png",
    "outline": "outline.png"
  },
  "name": {
    "short": "Test",
    "full": "Test"
  },
  "description": {
    "short": "Test notifications",
    "full": "Test notifications"
  },
  "accentColor": "#FFFFFF",
  "connectors": [
    {
      "connectorId": "0b73c39a-db1d-43eb-81bd-3813bef33713",
      "configurationUrl": "https://wsk-teams-test.s3.amazonaws.com/teams_configure.html",
      "scopes": [
        "team"
      ]
    }
  ],
  "permissions": [
    "identity",
    "messageTeamMembers"
  ],
  "validDomains": [
    "wsk-teams-test.s3.amazonaws.com",
    "<redacted>"
  ]
}

通过桌面 Teams 应用程序尝试此操作时,我无法获得任何更详细的信息,但在浏览器中,我在控制台中看到此错误:

2020-09-02T23:05:20.879Z Received error from connectors {"seq":1599086774636,"timestamp":1599087920857,"flightSettings":{"Name":"ConnectorFrontEndSettings","AriaSDKToken":"<redacted>","SPAEnabled":true,"ClassificationFilterEnabled":true,"ClientRoutingEnabled":true,"EnableYammerGroupOption":true,"EnableFadeMessage":false,"EnableDomainBasedOwaConnectorList":false,"EnableDomainBasedTeamsConnectorList":false,"DevPortalSPAEnabled":true,"ShowHomeNavigationButtonOnConfigurationPage":false,"DisableConnectToO365InlineDeleteFeedbackPage":true},"status":500,"clientType":"SkypeSpaces","connectorType":"0b73c39a-db1d-43eb-81bd-3813bef33713","name":"handleMessageError"}

感谢您提供的任何指导。如果我可以私下联系 Microsoft 的某个人,我很乐意提供 <redacted> 信息。

此问题已通过在 Connector Developer Dashboard 的有效域列表中添加内容 url 得到解决。

如上建议:此问题已通过在连接器开发人员仪表板的有效域列表中添加内容 url 得到解决。 这帮助我理解了问题的方向。 但是我的意外错误是由于缺少前缀 https:// 请务必为您的域添加 https:// 前缀