microsoft / botbuilder-js

Welcome to the Bot Framework SDK for JavaScript repository, which is the home for the libraries and packages that enable developers to build sophisticated bot applications using JavaScript.
https://github.com/Microsoft/botframework
MIT License
680 stars 277 forks source link

[Messaging Extension] Getting "The tenant admin disabled this bot" for some users #4716

Closed Jim-Bar closed 3 weeks ago

Jim-Bar commented 2 months ago

Versions

Describe the bug

For some users our messaging extension yields "Unable to reach app. Please try again". The browser console shows the following message: "The tenant admin disabled this bot", errorCode 209, errorSubCode 1.

But on the Teams Admin Center the availability of the app is set to Everyone. The app is published and certified.

To Reproduce

Steps to reproduce the behavior:

  1. Go to a Microsoft Teams conversation
  2. Start a new post
  3. Select the messaging extension
  4. See error "Unable to reach app"

Expected behavior

Our messaging extension receives Microsoft's request and Microsoft Teams shows the resulting card returned by our messaging extension.

Screenshots

In the Teams Admin Center:

image

The error when it occurs:

image

The error message in the console:

image

Additional context

Affects a few users, not everyone. For users with the problem, it occurs 100% of the time.

tracyboehrer commented 2 months ago

This is a Teams question, but I can ping them with this issue. May have better luck opening the issue in the Teams repo (assuming you are using the Teams SDK).

Jim-Bar commented 2 months ago

May have better luck opening the issue in the Teams repo

Where can I find this repository?

tracyboehrer commented 2 months ago

I reached out to that group. It'll be a bit before they respond. It's early there.

ahmedmahmoudR commented 1 month ago

Is there any update to solve this issue ?

tracyboehrer commented 3 weeks ago

Reach out to either:

https://github.com/microsoft/teams-ai

or

https://github.com/OfficeDev/Microsoft-Teams-Samples