# Sending messages to Microsoft Teams

**URL:** <https://discuss.elastic.co/t/sending-messages-to-microsoft-teams/363214>\
**Category:** Logstash\
**Created:** [July 16, 2024, 11:00am UTC](https://discuss.elastic.co/t/sending-messages-to-microsoft-teams/363214 "2024-07-16T11:00:59Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ryan5](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ryan5/32/108966_2.png) [@Ryan5](https://discuss.elastic.co/u/Ryan5)\
**Post date:** [July 16, 2024, 11:00am UTC](https://discuss.elastic.co/t/sending-messages-to-microsoft-teams/363214/1 "2024-07-16T11:00:59Z")

</div>

With the new changes to webhooks Microsoft suddenly announced [1] what would be the best way to continue to send messages from Logstash into Teams?  
Before we had a small online payload but after their new changes the payload we want to send is 100 lines long... It mainly consists of an image, title, message, facts and maybe a button with a colored banner for error/info/warning.

Microsoft has a templating service however its not possible to pass variables through the new webhooks into their templates so you have to send the entire template inside the post request. Having a local file in Gitlab we read and replace values seems a little excessive here.

Is there a plugin or a better way to do this?

[1] [Retirement of Office 365 connectors within Microsoft Teams](https://devblogs.microsoft.com/microsoft365dev/retirement-of-office-365-connectors-within-microsoft-teams/)

---

<div class="post-metadata">

**Author:** ![leandrojmp](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/leandrojmp/32/107231_2.png) [@leandrojmp](https://discuss.elastic.co/u/leandrojmp)\
**Post date:** [July 16, 2024, 12:37pm UTC](https://discuss.elastic.co/t/sending-messages-to-microsoft-teams/363214/2 "2024-07-16T12:37:05Z")

</div>

How are you sending messages from Logstash to teams today?

There is no native plugin, are you using the http output plugin?
