OfficeDev / microsoft-teams-library-js

JavaScript library for use by Microsoft Teams apps
https://docs.microsoft.com/microsoftteams/platform/
Other
418 stars 191 forks source link

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

Open CatherineLiyuankun opened 3 weeks ago

CatherineLiyuankun commented 3 weeks ago

Versions

What package version of the teams-js SDK are you using. 2.14.0 What package version of the botbuilder 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:

    "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

https://github.com/microsoft/botbuilder-js/assets/8176214/6b9b55bf-9a8a-420c-948e-1886fd83633f

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" 

https://github.com/microsoft/botbuilder-js/assets/8176214/4bed4568-4389-463a-bd2a-76b3afce49ab

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.

microsoft-github-policy-service[bot] commented 3 weeks ago

Hi CatherineLiyuankun! Thank you for bringing this issue to our attention. We will investigate and if we require further information we will reach out in one business day. Please use this link to escalate if you don't get replies.

Best regards, Teams Platform

Meghana-MSFT commented 3 weeks ago

@CatherineLiyuankun - Thank you for reporting this, we will check this and get back to you.

Meghana-MSFT commented 3 weeks ago

@CatherineLiyuankun - We are also able to repro this issue, we raised a bug for the same. We will keep you posted on the updates. Thank you.