【问题标题】:could not find app configuration tab when trying to deploy bot in teams尝试在团队中部署机器人时找不到应用程序配置选项卡
【发布时间】:2020-04-21 04:16:02
【问题描述】:

当我尝试在团队频道中配置选项卡时,我按照文章https://docs.microsoft.com/en-in/microsoftteams/platform/tutorials/get-started-dotnet-app-studio 中的步骤操作,我找不到选项卡的选择并启用了保存按钮,为什么会这样?如何解决?,我正在使用在 bot 模拟器上正确运行的 echo bot 模板。 以下是json

    {
    "$schema": "https://developer.microsoft.com/en-us/json-schemas/teams/v1.5/MicrosoftTeams.schema.json",
    "manifestVersion": "1.5",
    "version": "1.0.0",
    "id": "2fac8fdd-7fa3-451f-8562-adba3ab84c8d",
    "packageName": "com.contoso.helloworld",
    "developer": {
        "name": "Hello World App ",
        "websiteUrl": "https://www.microsoft.com",
        "privacyUrl": "https://www.microsoft.com/privacy",
        "termsOfUseUrl": "https://www.microsoft.com/termsofuse"
    },
    "icons": {
        "color": "color.png",
        "outline": "outline.png"
    },
    "name": {
        "short": "janApp",
        "full": "janApp"
    },
    "description": {
        "short": "SWAN Bot App for Microsoft Teams",
        "full": "This sample app provides a very simple app for Microsoft Teams. You can extend this to add more content and capabilities."
    },
    "accentColor": "#A4D344",
    "configurableTabs": [
        {
            "configurationUrl": "https://echobot57.azurewebsites.net/configure",
            "canUpdateConfiguration": true,
            "scopes": [
                "team",
                "groupchat"
            ]
        }
    ],
    "staticTabs": [
        {
            "entityId": "com.contoso.helloworld.hellotab",
            "name": "Botdemo",
            "contentUrl": "https://echobot57.azurewebsites.net/hello",
            "websiteUrl": "https://echobot57.azurewebsites.net/hello",
            "scopes": [
                "personal"
            ]
        }
    ],
    "bots": [
        {
            "botId": "330b4c4d-5f92-4053-a38f-7d4593cfd18a",
            "scopes": [
                "personal",
                "team",
                "groupchat"
            ],
            "supportsFiles": true,
            "isNotificationOnly": true
        }
    ],
    "composeExtensions": [
        {
            "botId": "330b4c4d-5f92-4053-a38f-7d4593cfd18a",
            "canUpdateConfiguration": true,
            "commands": [
                {
                    "id": "getRandomText",
                    "type": "query",
                    "title": "Get some random text for fun",
                    "description": "Gets some random text and images",
                    "initialRun": true,
                    "fetchTask": false,
                    "context": [
                        "commandBox",
                        "compose",
                        "message"
                    ],
                    "parameters": [
                        {
                            "name": "cardTitle",
                            "title": "Card title",
                            "description": "Card title to use",
                            "inputType": "text"
                        }
                    ]
                }
            ]
        }
    ],
    "permissions": [
        "identity",
        "messageTeamMembers"
    ],
    "validDomains": [
        "echobot57.azurewebsites.net"
    ]
}

【问题讨论】:

  • 如果答案对您有帮助,您可以接受它作为答案(单击答案旁边的复选标记将其从灰色切换为已填充)。这对其他社区成员可能是有益的。谢谢。

标签: c# .net azure bots


【解决方案1】:

请确保选项卡配置 url 正确。

如果正确,您应该可以访问它。

https://microsoftteamssampleshelloworldweb20200107021253.azurewebsites.net/configure

【讨论】:

    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2022-06-29
    • 1970-01-01
    • 2022-06-20
    • 2018-04-21
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多