Hubot MS Teams Bot Integrations

Copper Contributor

Hi,

I am getting the error as "hubot-msteams: Restricting tenants to ['abcd-xyz-ghj-kjhasd-ajsdhkja234']" when I am trying to run a command in the msteam. 

I am trying to integrate hubot and ms-team so that I will develop the code in hubot framework and deploy the code into the msteam in which, if a user runs the command it has to show the output in msteam. It is working fine in the hubot framework but after deploying into the msteam it is showing the above error. And also getting one more error "ERROR Error: POST to 'https://smba.trafficmanager.net/amer/v3/conversations/a%3A1M1lNpDImF5Ouh8UMNodCXPZbsdS3onLY245Vm_MI9...' failed: [400] Bad Request".
And also forget to mention I have followed the link "https://github.com/microsoft/BotFramework-Hubot".


So previously deployed commands were working fine but when trying to add more commands recently it is not getting reflected in the ms teams custom developed bot/app.


The Hubot framework versions which I am using are:

"botbuilder": "^3.13.1",
"hubot": "^2.19.0",
"hubot-botframework": "^0.10.1",
"hubot-conversation": "1.1.1",
"hubot-diagnostics": "0.0.1",
"hubot-health": "latest",
"hubot-help": "^0.2.0",
"hubot-hipchat": "^2.12.0-6",
"hubot-redis-brain": "0.0.3",
"hubot-rules": "^0.1.1",
"hubot-scripts": "^2.17.2"

Can someone please help me in fixing this.

1 Reply

@AcharyaTejaswi963 

 

Your versions of things are pretty old. I was able to get this working using the following:

 

"dependencies": {
"botbuilder": "3.15.0",
"hubot": "^3.3.2",
"hubot-botframework": "https://github.com/Microsoft/BotFramework-Hubot.git",
"hubot-diagnostics": "^1.0.0",
"hubot-google-images": "^0.2.7",
"hubot-google-translate": "^0.2.1",
"hubot-help": "^1.0.1",
"hubot-heroku-keepalive": "^1.0.3",
"hubot-maps": "0.0.3",
"hubot-redis-brain": "^1.0.0",
"hubot-rules": "^1.0.0",
"hubot-scripts": "^2.17.2",
},

 

Specifically I had to make sure I was using the git URL for hubot-botframework as the tagged version was really old, and botbuilder < 4 since the API seems to have changed and the botframework doesn't seem to support it.