Microrosft 团队不支持的清单版本

时间:2021-02-10 10:43:16

标签: azure visual-studio-code manifest microsoft-teams custom-application

我正在开发一个自定义团队应用程序,直到几天前它运行正常:wep 应用程序从带有 chrome 调试的 Visual Studio 代码在本地运行,服务应用程序分布在 azure 上。

昨天我错误地从应用程序工作室(在 Visual Studio 代码中)删除了本地应用程序,然后我创建了一个新应用程序并将其设置为旧应用程序。

团队识别出该应用程序,当我从本地运行它(从 chrome 进行调试)时,它会在 chrome 上打开一个新窗口,我正确地看到了安装它的按钮:enter image description here

当我点击安装时,我收到一个弹出错误:enter image description here,我可以在本地 Visual Studio 调试控制台上看到这个错误:enter image description here

我的清单应用是标准清单,版本为 1.8:

"$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.8/MicrosoftTeams.schema.json",
  "manifestVersion": "1.8",
  "version": "1.0.0",
  "id": "d8bf27a8-a5a3-4381-9dd8-696d473450a1",
  "packageName": "com.microsoft.teams.eclexia",
  "developer": {
    "name": "",
    "websiteUrl": "https://localhost:3000",
    "privacyUrl": "https://localhost:3000/privacy",
    "termsOfUseUrl": "https://localhost:3000/termsofuse"
  },
  "icons": {
    "color": "color.png",
    "outline": "outline.png"
  },
  "name": {
    "short": "",
    "full": ""
  },
  "description": {
    "short": "",
    "full": ""
  },
  "accentColor": "#FFFFFF",
  "staticTabs": [
    {
      "entityId": "index",
      "name": "Catalogo",
      "contentUrl": "https://localhost:3000/tab?tid={tid}&aaId={userObjectId}",
      "websiteUrl": "https://localhost:3000/tab",
      "scopes": [
        "personal"
      ]
    },
    {
      "entityId": "live",
      "name": "Live",
      "contentUrl": "https://localhost:3000/live?tid={tid}&aaId={userObjectId}",
      "websiteUrl": "https://localhost:3000/live",
      "scopes": [
        "personal"
      ]
    }
  ],
  "composeExtensions": [
    {
      "botId": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx",
      "canUpdateConfiguration": true,
      "commands": [
        {
          "id": "searchQuery",
          "type": "query",
          "title": "Search",
          "description": "Test command to run query",
          "initialRun": false,
          "fetchTask": false,
          "context": [
            "compose",
            "commandBox"
          ],
          "parameters": [
            {
              "name": "searchQuery",
              "title": "Search Query",
              "description": "Your search query",
              "inputType": "text"
            }
          ]
        }
      ]
    }
  ],
  "permissions": [
    "identity",
    "messageTeamMembers"
  ],
  "validDomains": [
    "localhost"
  ]

我该如何解决?

1 个答案:

答案 0 :(得分:1)

目前正在解决 App Studio 的一个错误(请在此处查看我的问题:App Studio is auto-converting my app to Schema 1.9, and the failing to install it into Teams)。同时,您可以旁加载到公司内部应用商店,并从那里安装,特别是如果您有开发人员租户

相关问题