microsoft/botbuilder-js

Click "Open" my Org Teams App, open Microsoft Copilot Dialogue instead of my Org Teams App

CatherineLiyuankun opened this issue · 2 comments

Github issues should be used for bugs and feature requests. Use Stack Overflow for general "how-to" questions.

Versions

What package version of the SDK are you using. 4.22.2
What nodejs version are you using v18.20.2
What browser version are you using Chrome
What os are you using MacOS

Describe the bug

The Copilot icon appears next to the app name for all teams app with bot framework in recent days.
Now click the "Open" button to go to the Copilot app wrongly.
It should open my Org Teams App instead of Microsoft Copilot Dialogue

The screenshot on 5/24 doesn't have the icon.
Some users who cannot see the icon won't meet any issues.
Screenshot 2024-06-07 at 14 41 50

To Reproduce

Key condition:

  • This teams app must be added before
  • The teams app must use the bot framework, but doesn't have the bot chat. For example, only use bot framework message extension but don't have bot chat.
    • This means in the Teams app manifest.json, which has the composeExtensions section, the botId is the Azure application resource id which has bound to a bot, but the bots section manifest.json is empty
    "bots": [],
    "composeExtensions": [
      {
        "botId": "8fxxxx86-xxxx-xxxx-xxxx-9xxa7xxxxxxx",
        "commands": [
          {
            "id": "webView",
            "description": "Fetch the Web View",
            "title": "Web View",
            "type": "action",
            "fetchTask": yes,
            "context": ["compose"],
          },
        ],
      }
    ],

Steps to reproduce the behavior:

  1. "Add" Teams app "Viva Goals"
  2. Go to 'Apps', Click "Open" in Teams app "Viva Goals"
  3. A popup dialogue shows
    3.1 [Wrong behavior here] If your Teams account already has "Copilot", it will show "Copilot" Dialogue
Open.copilot.mov
3.2 **[Wrong behavior here]** If your Teams account doesn't have "Copilot", it will show empty Dialogue and then the error "This app cannot be found" 
error.mov

Expected behavior

Expect behavior should open the "Viva Goals" app itself.

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

This really isn't a Bot Framework SDK issue though. I recommend opening this issue with Teams.

This really isn't a Bot Framework SDK issue though. I recommend opening this issue with Teams.

Hi, @tracyboehrer which repo does this issue belong to? I found so many repos related with Teams 😢