Teams 工具包创建的简单选项卡应用程序不适用于 Outlook

问题描述 投票:0回答:1

我正在尝试按照本文档的快速入门创建一个扩展到 Microsoft 365 的 Teams 应用程序:跨 Microsoft 365 扩展 Teams 个人选项卡

我只想要一个简单的个人选项卡,其中包含我网站的 iFrame(具有嵌入的所有授权)。

团队工具包

我正在使用 VSC 扩展 Teams 工具包来创建此统一清单。 Teams 中的调试效果很好 ✅

但是,Outlook 中的“调试”没有任何实际作用:它被阻止在加载页面中 → 请参阅随附的屏幕截图。 Debug in Outlok

导出 zip 清单

因此,我尝试将清单导出为 zip 文件,其中包含适当的格式(请参阅清单末尾)。

我的应用程序及其 iFrame :

你知道为什么我使用的统一清单在 Outlook 中不起作用吗? 是否有特定版本需要等待才能启用此功能(我在学习中心上没有看到此信息)。

有人已经尝试过这个吗? 你是如何让它发挥作用的? 谢谢你

这是从我的zip中提取的manifest.json

{
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.16/MicrosoftTeams.schema.json",
    "manifestVersion": "1.16",
    "version": "1.0.0",
    "id": "xxxxxxxxxxxxxxxxxxx",
    "packageName": "com.microsoft.teams.extension",
    "developer": {
        "name": "Teams App, Inc.",
        "websiteUrl": "https://www.example.com",
        "privacyUrl": "https://www.example.com/privacy",
        "termsOfUseUrl": "https://www.example.com/termsofuse"
    },
    "icons": {
        "color": "color.png",
        "outline": "outline.png"
    },
    "name": {
        "short": "tabs-basic-20230807",
        "full": "Full name for tabs-basic-20230807"
    },
    "description": {
        "short": "Short description of tabs-basic-20230807",
        "full": "Full description of tabs-basic-20230807"
    },
    "accentColor": "#FFFFFF",
    "bots": [],
    "composeExtensions": [],
    "staticTabs": [
        {
            "entityId": "index0",
            "name": "Personal Tab",
            "contentUrl": "https://impactco2.fr/iframes/transport?theme=default",
            "websiteUrl": "https://impactco2.fr/iframes/transport?theme=default",
            "scopes": [
                "personal"
            ]
        }
    ],
    "permissions": [
        "identity",
        "messageTeamMembers"
    ],
    "validDomains": [
        "$https://impactco2.fr"
    ]
}
outlook microsoft-teams manifest teams-toolkit
1个回答
0
投票

Teams Toolkit 提供了一个开箱即用的个人选项卡应用程序,具有在 Teams 和 Outlook 中运行的 SSO。您能否创建这个应用程序并检查您是否可以在 Outlook 中正常运行?

按照以下步骤创建此应用程序并在 Outlook 中运行它。

  1. 安装最新版本的 Teams Toolkit VS Code 扩展。
  2. 从命令面板运行“Teams:创建新应用程序”。
  3. 选择“选项卡”->“使用 Fluent UI 进行反应”。然后选择编程语言、工作区文件夹和应用程序名称。
  4. 从 VS Code 中的“运行和调试活动面板”中,选择“在 Outlook 中调试”,然后单击“运行和调试”绿色箭头按钮。
© www.soinside.com 2019 - 2024. All rights reserved.