Botframework-sdk: [Question] Bot doesn't work in Microsoft Teams but works perfectly in Slack

Created on 1 Aug 2017  路  10Comments  路  Source: microsoft/botframework-sdk

System Information (Required)

  • SDK Language: .NET
  • SDK Version: BotBuilder 3.8.5
  • Development Environment: App Service

Bot Info

  • Bot name: meelo
  • Bot handle: meelo
  • App ID: 764e233f-f94d-4e21-9728-fdf768814285
  • Connected channels: Slack, MS Teams, Facebook, Skype

Issue Description


The bot does not receive any messages from Microsoft Teams. Works perfectly in Slack.

Code Example


No code to share. Regular code that compiles and runs fine in Slack and Skype.

Steps to Reproduce the Issue

1.
2.
3.

Expected Behavior


Expect the bot to work in Microsoft Teams

Actual Results


No messages received by bot. I remote debugged using VS 2017 and no messages were received from MS Teams. All Slack and Skype messages were received.
For Facebook messenger, bot receives the messages, responds it, but the Facebook messenger doesn't display the response.

Most helpful comment

@dynamicdeploy Did you "Side-Load" your bot into MS Teams app? With JSON manifest file, etc.?

This is a second step after you have added your bot to the Teams channel in the Bot Dev Portal at https://dev.botframework.com/

How to load your bot into MS Teams

Quick MS Teams bot deployment checklist:

Recommended reading:

All 10 comments

go to dev.botframework.com

in your bots page you'll be able to see the errors you receive per channel.

errors

@xjose97x I don't see any errors on MS Teams yet no message is received by my bot.
image

image

@dynamicdeploy , can you check the errors on webchat?
I remember that sometimes the errors I received on Skype were actually shown on the webchat.
Not sure if it applies on MS Teams.

No, I just double-checked. WebChat messages are the expected ones (timeouts). But MS Teams shows no messages.

@dynamicdeploy Did you "Side-Load" your bot into MS Teams app? With JSON manifest file, etc.?

This is a second step after you have added your bot to the Teams channel in the Bot Dev Portal at https://dev.botframework.com/

How to load your bot into MS Teams

Quick MS Teams bot deployment checklist:

Recommended reading:

I added to the dev portal and then just clicked the associated link to enable bot in MS Teams. I will try the procedure in the admin portal.

@dynamicdeploy Any luck with enabling the bot in Teams? Let me know if you are still having issues.

Enabling sideloading worked. Thanks for the help.

glad you got this working

I'm also seeing this issue for some reason. The bot seems at best unreliable at receiving the messages. Inspecting the web traffic, i can see that messages from Teams never hits the api endpoint i specified. However messages from the webchat goes through without issues. I have enabled the bot through side-loading, and it does seem to be working _sometimes_..

A colleague of mine tried writing messaging the bot from his user, and the first couple of hours didn't go through. Then a couple of messages got through, and then stuff kinda started falling apart again. If there a way of diagnosing this? It's a bit frustrating that the portal doesn't really tell us anything at all.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

maba4891 picture maba4891  路  3Comments

daveta picture daveta  路  3Comments

vaditya04 picture vaditya04  路  3Comments

somprabhsharma picture somprabhsharma  路  3Comments

kenyeung128 picture kenyeung128  路  3Comments