The tenant admin disabled this bot

Gonzalo Jovanovich 10 Reputation points
2024-06-18T21:06:32.06+00:00

Hello, we are trying to connect a bot that we made to Teams and are facing an error in the teams channel from the Azure control panel that says "The tenant admin disabled this bot". Searching all over google, we applied new policies, blocked the bot, unblocked it, allowed specific users to it, blocked access to those users and allowed them again, added a LOT of permissions through Microsoft Entra ID to the Application, granted those permissions, waited for up to a day for all the changes to take effect, etc. Nothing worked, we still get the same error.
We can chat with the bot through the web chat test from the azure site, but it wont answer on teams, it just marks the message as read.

We tried to upload and use a default template to check if our code was maybe causing it, but we face the same issue even with an untouched and working template as follows:

Teams Toolkit for VSCode->Create new app->Custom Copilot->Basic AI Chatbot->Python->Azure OpenAI->Provide all the necessary keys->Check that the proyect works correctly as-is with the debug local tool->Provision->Deploy->Publish->Approve in Teams

Any help or advise would be extremely appreciated.

Azure AI Bot Service
Azure AI Bot Service
An Azure service that provides an integrated environment for bot development.
884 questions
Microsoft Teams Development
Microsoft Teams Development
Microsoft Teams: A Microsoft customizable chat-based workspace.Development: The process of researching, productizing, and refining new or existing technologies.
3,512 questions
{count} vote

1 answer

Sort by: Most helpful
  1. Nivedipa-MSFT 3,091 Reputation points Microsoft Vendor
    2025-01-11T19:01:01.7933333+00:00

    @Gonzalo Jovanovich - The error message "The tenant admin disabled this bot" indicates that the bot's functionality in Microsoft Teams is being blocked at the tenant level by the administrator.
    Ensure that the tenant admin has not disabled the bot at the organizational level. The admin might need to explicitly enable the bot for use within the tenant. You can ask the tenant admin to check the bot's status in the Teams admin center

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.