MS Teams Integration Not working

Hello Rocket.Chat Team,

I attempted to integrate Microsoft Teams with Rocket.Chat to achieve the following:

  1. Receive messages from the Live Chat Widget into a Teams Channel.
  2. Reply from Teams, and have the response delivered back to the Live Chat Widget via Rocket.Chat acting as a middleware.

I followed the setup using:

  • Microsoft Teams Bridge App
  • Webhooks (Incoming & Outgoing)

Issues Faced:

  • Messages from the chat widget were not successfully delivered to Microsoft Teams.
  • Replies from Microsoft Teams were not relayed back to the chat widget.
  • The webhook setup didn’t seem to trigger properly between Rocket.Chat and Teams.
  • No clear error logs indicating where the failure occurred.

Expected Behavior:

  • Live chat messages should be forwarded to the designated Teams channel.
  • Replies from Teams should be sent back to Rocket.Chat and then displayed on the Live Chat widget.

Steps Taken to Troubleshoot:

  • Verified webhook URLs in both Rocket.Chat and Microsoft Teams.
  • Ensured correct permissions and bot setup in Teams.
  • Checked Rocket.Chat logs, but didn’t find any significant errors.

Suggestions & Questions:

  1. Does the Microsoft Teams Bridge App fully support Live Chat message routing?
  2. Are there additional configurations or APIs needed for a seamless two-way communication setup?
  3. Any plans for improved integration between Rocket.Chat and Teams for real-time chat support?

Would love to hear any insights from the team or community on making this integration work effectively.

Thanks!

Start here please.

Information devs will require

I also presume you set this up too?

Set up an Azure active directory app