Set up Microsoft Teams notifications using the discourse-chat-integration plugin

This #howto describes how to set up the Micorosoft Teams provider included in discourse-chat-integration .


If you haven’t already, install the discourse-chat-integration plugin

Setup Microsoft Teams

  1. Navigate to the channel where you want to add the webhook and select (•••) More Options from the top navigation bar.
  2. Choose Connectors from the drop-down menu and search for Incoming Webhook .
  3. Select the Configure button, provide a name, and, optionally, upload an image avatar for your webhook.
  4. The dialog window will present a unique URL that will map to the channel. Make sure that you copy and save the URL —you will need to provide it to the outside service.
  5. Select the Done button. The webhook will be available in the team channel.

Setup Discourse

  1. In your site settings, enable the chat integration teams enabled setting
  2. Go to the Plugins tab, then Chat Integrations
  3. Go to the Microsoft Teams tab, and click Add Channel
  4. Enter the name of your teams channel (e.g. discourse)
  5. Paste the Webhook URL that you copied earlier, then click Save Channel
  6. Use the Test button on the channel you just created to check that everything’s working. You should see something like this in the chatbox of your microsoft teams channel

  1. Setup some Rules for your channel, according to the discourse-chat-integration 23 instructions.
  2. Celebrate :tada: