# Integrate Rasa bot with microsoft teams

**URL:** <https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134>\
**Category:** Rasa Open Source\
**Created:** [September 3, 2019, 5:45am UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134 "2019-09-03T05:45:38Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![ragavendrach13](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/ragavendrach13/32/4944_2.png) [@ragavendrach13](https://forum.rasa.com/u/ragavendrach13)\
**Post date:** [September 3, 2019, 5:45am UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/1 "2019-09-03T05:45:38Z")

</div>

Hi,

We are working on a proof of concept of integrating Rasa with Microsoft teams. I searched for the documentation on the below site, but it did not mention about microsoft teams. Need your help on this.

> **[Connecting to Messaging and Voice Channels](https://rasa.com/docs/rasa/messaging-and-voice-channels/)**
>
> Check out how to make your Rasa assistant available on platforms like Facebook Messenger, Slack, Telegram or even your very own website.

---

<div class="post-metadata">

**Author:** ![msamogh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/msamogh/32/3478_2.png) [@msamogh](https://forum.rasa.com/u/msamogh)\
**Post date:** [September 4, 2019, 4:27pm UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/2 "2019-09-04T16:27:03Z")

</div>

You can do so using the BotFramework connector - [Microsoft Bot Framework](https://rasa.com/docs/rasa/user-guide/connectors/microsoft-bot-framework/)

---

<div class="post-metadata">

**Author:** ![Vighnesh](https://avatars.discourse-cdn.com/v4/letter/v/5daacb/32.png) [@Vighnesh](https://forum.rasa.com/u/Vighnesh)\
**Post date:** [October 15, 2019, 12:59pm UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/3 "2019-10-15T12:59:51Z")

</div>

Hi @msamogh, can you give a detailed explanation on how to integrate rasa with Microsoft teams as I am a fresher to this area!!! Thanks

---

<div class="post-metadata">

**Author:** ![msamogh](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/msamogh/32/3478_2.png) [@msamogh](https://forum.rasa.com/u/msamogh)\
**Post date:** [October 17, 2019, 8:30am UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/4 "2019-10-17T08:30:06Z")

</div>

What are you unclear about?

---

<div class="post-metadata">

**Author:** ![Jones](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@Jones](https://forum.rasa.com/u/Jones)\
**Post date:** [October 25, 2019, 11:19am UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/5 "2019-10-25T11:19:41Z")

</div>

@msamogh

- Is azure Bot Service needed?
- How to create the Microsoft app for the bot? I try to use “App Studio” but im not sure how to properly configure the app. In the menu 2) Capabilities–\> Bots what configuration is needed.
- After creating the app what are the next steps, is it possible to just install the app local for testing and then it works already?

---

<div class="post-metadata">

**Author:** ![souvikg10](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/souvikg10/32/93_2.png) [@souvikg10](https://forum.rasa.com/u/souvikg10)\
**Post date:** [October 25, 2019, 11:57am UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/6 "2019-10-25T11:57:13Z")

</div>

This thread might answer your qusetion

> [@Microsoft Bot Framework Connection](http://forum.rasa.com/t/microsoft-bot-framework-connection/907/9):
>
> Perhaps the confusion stems from the fact that there is a difference between Botframework and Azure web bot service If you want to use Azure web bot service, all you need to do is put the rasa url of /webhooks/botframework/webhook in the app settings of azure web bot service Update the messaging endpoint there. I am not sure if you have already figured this out but there needs a better distinction between azure web bot service and bot framework @tmbo @akelad

---

<div class="post-metadata">

**Author:** ![Jones](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@Jones](https://forum.rasa.com/u/Jones)\
**Post date:** [October 31, 2019, 9:07am UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/7 "2019-10-31T09:07:55Z")

</div>

Not realy. I dont want to use Azure web bot service. Is it the only option?

---

<div class="post-metadata">

**Author:** ![kumaramitsrivastava](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/kumaramitsrivastava/32/7456_2.png) [@kumaramitsrivastava](https://forum.rasa.com/u/kumaramitsrivastava)\
**Post date:** [March 5, 2020, 10:44am UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/8 "2020-03-05T10:44:05Z")

</div>

Hi Jones,

Did you figure this out? I would also like to use MS Teams for Rasa and deploy on AWS.

---

<div class="post-metadata">

**Author:** ![glaulom](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/glaulom/32/6653_2.png) [@glaulom](https://forum.rasa.com/u/glaulom)\
**Post date:** [March 5, 2020, 1:26pm UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/9 "2020-03-05T13:26:58Z")

</div>

Hi @Jones & @kumaramitsrivastava,

I’ve deployed couple bots on microsoft Teams, the first one was tricky and Microsoft showed us the way to do it.

The trick we used is to create a package Teams and select “CreateBot” (the easiest way is with [App Studio creation](https://aka.ms/InstallTeamsAppStudio), but you can also do it with [a XML file](https://docs.microsoft.com/en-us/microsoftteams/platform/resources/schema/manifest-schema)). Once you have created the app, it creates an App ID and a secret key which you need to specify in your `credentials.yml` .

Moreover Teams requires (or maybe it’s due to our company conf) an HTTPS links, so you need to secure your server with SSL.

---

<div class="post-metadata">

**Author:** ![Er\_Strange](https://avatars.discourse-cdn.com/v4/letter/e/e495f1/32.png) [@Er\_Strange](https://forum.rasa.com/u/Er_Strange)\
**Post date:** [March 5, 2020, 1:55pm UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/10 "2020-03-05T13:55:38Z")

</div>

Do we need to register the rasa bot with Bot framework? Can we deploy this without using Azure server and subscriptions, provided we already have Public IP address?

---

<div class="post-metadata">

**Author:** ![glaulom](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/glaulom/32/6653_2.png) [@glaulom](https://forum.rasa.com/u/glaulom)\
**Post date:** [March 5, 2020, 2:53pm UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/11 "2020-03-05T14:53:54Z")

</div>

What do you mean by “Register de rasa bot with bot framework ?”

You don’t need to host your server on azure as they only ask for and endpoint (https one) in the Team App Creation process, but you might have to have a subscription though, that I can’t say for sure.

---

<div class="post-metadata">

**Author:** ![Jones](https://avatars.discourse-cdn.com/v4/letter/j/6de8d8/32.png) [@Jones](https://forum.rasa.com/u/Jones)\
**Post date:** [March 6, 2020, 1:36pm UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/12 "2020-03-06T13:36:59Z")

</div>

@glaulom so do we need any kind of account (Azure, Bot Service, …)?

---

<div class="post-metadata">

**Author:** ![glaulom](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/glaulom/32/6653_2.png) [@glaulom](https://forum.rasa.com/u/glaulom)\
**Post date:** [March 6, 2020, 6:13pm UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/13 "2020-03-06T18:13:48Z")

</div>

To be more precise, the process I have described has been done in a Company Owned MS Tenant on which you need admin rights.

I don’t know if it applies to any other configuration (no tenant, no account… etc).

---

<div class="post-metadata">

**Author:** ![amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@amir](https://forum.rasa.com/u/amir)\
**Post date:** [April 3, 2020, 3:17pm UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/14 "2020-04-03T15:17:31Z")

</div>

@glaulom thanks for your support,i manage to connect ms teams with rasa webhook, i have used app studio and create an App, download the zip and upload via custom app ,but i am getting botframework token error, how can i get this, please look attached image

 ![Capture3](https://europe1.discourse-cdn.com/flex013/uploads/rasa/original/2X/3/372f640c06a359472b7b6b50d9e88d654cfd817b.png)

---

<div class="post-metadata">

**Author:** ![amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@amir](https://forum.rasa.com/u/amir)\
**Post date:** [April 3, 2020, 3:49pm UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/15 "2020-04-03T15:49:10Z")

</div>

works for me now 😍😁,i use bot id instead of app id and same password

---

<div class="post-metadata">

**Author:** ![vishu1994](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/vishu1994/32/4970_2.png) [@vishu1994](https://forum.rasa.com/u/vishu1994)\
**Post date:** [April 5, 2020, 12:39pm UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/17 "2020-04-05T12:39:37Z")

</div>

Hey, i also got same error, can you help me out , like how did you solve it?

---

<div class="post-metadata">

**Author:** ![hoanguyen](https://avatars.discourse-cdn.com/v4/letter/h/c89c15/32.png) [@hoanguyen](https://forum.rasa.com/u/hoanguyen)\
**Post date:** [April 6, 2020, 12:17pm UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/18 "2020-04-06T12:17:22Z")

</div>

Did you change the botframework: app\_id: “” app\_password: “” into botframework: bot\_id: “” app\_password: “” or something else ?

---

<div class="post-metadata">

**Author:** ![amir](https://avatars.discourse-cdn.com/v4/letter/a/c37758/32.png) [@amir](https://forum.rasa.com/u/amir)\
**Post date:** [April 10, 2020, 5:48pm UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/19 "2020-04-10T17:48:35Z")

</div>

No, only I change the values of with app\_id : “put your bot I’d”, app\_pasword : “app password”, I think passwords are same for app and bot

---

<div class="post-metadata">

**Author:** ![srilekhahota](https://avatars.discourse-cdn.com/v4/letter/s/22d042/32.png) [@srilekhahota](https://forum.rasa.com/u/srilekhahota)\
**Post date:** [May 17, 2020, 9:29am UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/20 "2020-05-17T09:29:20Z")

</div>

Can we integrate Rasa bot with microsoft teams with out Admin credential and Azure account.

---

<div class="post-metadata">

**Author:** ![Edukondalu](https://dub1.discourse-cdn.com/flex013/user_avatar/forum.rasa.com/edukondalu/32/11843_2.png) [@Edukondalu](https://forum.rasa.com/u/Edukondalu)\
**Post date:** [June 16, 2020, 1:18am UTC](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134/21 "2020-06-16T01:18:51Z")

</div>

> [@Microsoft Bot Framework Connection](https://forum.rasa.com/t/microsoft-bot-framework-connection/907/9):
>
> webhooks/botframework/webhook

Hi Souvik,

am getting the below issue in my rasa servr … fyi am doing configuration on azure…

sanic.exceptions.MethodNotSupported: Method GET not allowed for URL /webhooks/botframework/webhook

[Next page](https://forum.rasa.com/t/integrate-rasa-bot-with-microsoft-teams/15134.md?page=2)
