Configure Microsoft Teams - update the config steps to post messages in a private group (#224799)

This PR updates the
https://www.elastic.co/docs/reference/kibana/connectors-kibana/teams-action-type#configuring-teams
page by adding a note on how to post messages in a private group.

Closes https://github.com/elastic/obs-docs-projects/issues/283
This commit is contained in:
Arianna Laudazzi 2025-06-24 11:28:45 +02:00 committed by GitHub
parent 36965f7b00
commit 26d064520d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -63,14 +63,19 @@ Microsoft 365 connectors are being [retired](https://devblogs.microsoft.com/micr
4. Add **Post message in a chat or channel** as the second step in the workflow.
1. Set **Post as** to `Flow bot`.
2. Set **Post in** to `Channel`.
3. Set **Team** and **Channel** to the appropriate values for where you want the message displayed.
:::{note}
If you want to post to a private group, set **Post as** to `User`. Note that the formatting might be affected.
:::
3. Set **Post in** to `Channel`.
4. Set **Team** and **Channel** to the appropriate values for where you want the message displayed.
::::{note}
Per [https://learn.microsoft.com/en-us/power-automate/teams/send-a-message-in-teams#known-issues-and-limitations](https://learn.microsoft.com/en-us/power-automate/teams/send-a-message-in-teams#known-issues-and-limitations), you cannot use a private channel.
::::
4. Set the **Message** to `@{triggerBody()?['text']}`.
5. Set the **Message** to `@{triggerBody()?['text']}`.
Alternatively, you can add a **Parse JSON** step before the **Post message in a chat or channel** step in the workflow. Set the **Content** to `Body` and the **Schema** to the following value: