SOLVED

Chatbot (Bot Framework) without Teams chat module?

Iron Contributor

For most of our users the chat functionality in Teams is disabled. But since a Microsoft Bot (based on the Bot framework) is an individual app in Teams I have still hope that such a chatbot could work also for users without the chat functionality?

Is that correct? Or will it only work for the users with the chat enabled in Teams?

6 Replies
Thanks for raising your query.
We will look into it and let you know the updates.
best response confirmed by Thomsch (Iron Contributor)
Solution

@Thomsch - This seems to be possible. We tested this at our end by following the below steps.

 

  1. Created a messaging policy to disable chat as below 

     

    MeghanaMSFT_3-1684404644073.png

     

  2. Assigned this policy to a user
  3. User is still able to chat with bot even though chat is disabled(Chat section disappeared from left navigation bar) 

      

    MeghanaMSFT_2-1684404579792.png

     

     

     

Very nice. Thanks a lot!

@Thomsch - If the response is helpful, please share your valuable feedback via Microsoft Teams Developer Feedback link.

i have created a basic bot app using teams toolkit
how to disable input element so that user can't chat

@sowmyaseetha - If your bot's sole purpose is to deliver notification to users and isn't conversational, you can enable the isNotificationOnly field in your app manifest. This produces the following changes:

  1. Users can't message your notification-only bot.
  2. Users can't @mention the bot.

Please refer below docs for more details:

  1. Notification bot in Teams - Teams | Microsoft Learn
  2. Send proactive messages - Teams | Microsoft Learn
  3. Proactive messaging for bots - Teams | Microsoft Learn
  4. Send proactive notifications to users - Bot Service | Microsoft Learn
1 best response

Accepted Solutions
best response confirmed by Thomsch (Iron Contributor)
Solution

@Thomsch - This seems to be possible. We tested this at our end by following the below steps.

 

  1. Created a messaging policy to disable chat as below 

     

    MeghanaMSFT_3-1684404644073.png

     

  2. Assigned this policy to a user
  3. User is still able to chat with bot even though chat is disabled(Chat section disappeared from left navigation bar) 

      

    MeghanaMSFT_2-1684404579792.png

     

     

     

View solution in original post