# Teams plugin "Send Message by GUID" doesn't support thread\_id

**URL:** <https://discuss.rapid7.com/t/teams-plugin-send-message-by-guid-doesnt-support-thread-id/10535>\
**Category:** Plugins\
**Tags:** jira\
**Created:** [March 3, 2022, 3:37pm UTC](https://discuss.rapid7.com/t/teams-plugin-send-message-by-guid-doesnt-support-thread-id/10535 "2022-03-03T15:37:39Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![dreadpir8robots](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/dreadpir8robots/32/1074_2.png) [@dreadpir8robots](https://discuss.rapid7.com/u/dreadpir8robots)\
**Post date:** [March 3, 2022, 3:37pm UTC](https://discuss.rapid7.com/t/teams-plugin-send-message-by-guid-doesnt-support-thread-id/10535/1 "2022-03-03T15:37:39Z")

</div>

I’ve got a workflow which notifies a Teams Channel when a Jira is updated in a particular Jira project. I capture the Jira ticket ID and the Teams message ID in a String/String object in a Global Artifact.

Goal:

- For new Jira tickets, a new conversation. This is straightforward.
- For updates to existing Jira tickets, I want to respond to the existing conversation, using the Teams message ID which I captured last time the workflow ran for a particular Jira ticket.

I want to use Send Message by GUID, which is described in the documentation as more performant, presumably because there’s no need to [look up the GUID by Team/Channel Name](https://github.com/rapid7/insightconnect-plugins/blob/master/plugins/microsoft_teams/icon_microsoft_teams/actions/send_html_message/action.py) in MS Graph API using [get\_teams\_from\_microsoft in teams\_utils.py](https://github.com/rapid7/insightconnect-plugins/blob/master/plugins/microsoft_teams/icon_microsoft_teams/util/teams_utils.py)

As a workaround I can fall back to Send HTML Message, but as the workflow will always be posting to the same Team/Channel, I’d like to avoid the overhead of the Graph API lookup if possible.

---

<div class="post-metadata">

**Author:** ![Michael-Cochran-Rapid7](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/m/a9a28c/32.png) [@Michael-Cochran-Rapid7](https://discuss.rapid7.com/u/Michael-Cochran-Rapid7)\
**Post date:** [March 3, 2022, 4:59pm UTC](https://discuss.rapid7.com/t/teams-plugin-send-message-by-guid-doesnt-support-thread-id/10535/2 "2022-03-03T16:59:41Z")

</div>

Is this a workflow you have built out already or are you trying to build it out now?

---

<div class="post-metadata">

**Author:** ![dreadpir8robots](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/dreadpir8robots/32/1074_2.png) [@dreadpir8robots](https://discuss.rapid7.com/u/dreadpir8robots)\
**Post date:** [March 3, 2022, 5:07pm UTC](https://discuss.rapid7.com/t/teams-plugin-send-message-by-guid-doesnt-support-thread-id/10535/3 "2022-03-03T17:07:59Z")

</div>

I’m at the stage where both of those answers are potentially accurate.

---

<div class="post-metadata">

**Author:** ![Michael-Cochran-Rapid7](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/m/a9a28c/32.png) [@Michael-Cochran-Rapid7](https://discuss.rapid7.com/u/Michael-Cochran-Rapid7)\
**Post date:** [March 3, 2022, 5:31pm UTC](https://discuss.rapid7.com/t/teams-plugin-send-message-by-guid-doesnt-support-thread-id/10535/4 "2022-03-03T17:31:17Z")

</div>

Okay, let me take a look and see what I can figure out for you as a solution.

---

<div class="post-metadata">

**Author:** ![dreadpir8robots](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/dreadpir8robots/32/1074_2.png) [@dreadpir8robots](https://discuss.rapid7.com/u/dreadpir8robots)\
**Post date:** [March 3, 2022, 5:35pm UTC](https://discuss.rapid7.com/t/teams-plugin-send-message-by-guid-doesnt-support-thread-id/10535/5 "2022-03-03T17:35:42Z")

</div>

Thank you for taking a look! This is definitely a nice-to-have wishlist item, rather than a show-stopping problem.

Then again, I am planning to build more two-way Teams channel interactions in future (!lookup \<user\> or !isolate-endpoint \<hostname\>, stuff like that) using Teams, and anything which shaves off response time for that sort of two-way communication via Teams will make the end-user SOC analyst user experience that much better.

---

<div class="post-metadata">

**Author:** ![Michael-Cochran-Rapid7](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/m/a9a28c/32.png) [@Michael-Cochran-Rapid7](https://discuss.rapid7.com/u/Michael-Cochran-Rapid7)\
**Post date:** [March 3, 2022, 8:02pm UTC](https://discuss.rapid7.com/t/teams-plugin-send-message-by-guid-doesnt-support-thread-id/10535/6 "2022-03-03T20:02:06Z")

</div>

I was a Security Analyst for the past 4 years so I understand completely. I put in a ticket to have our development team take a look at this and see if it is something we can add.

---

<div class="post-metadata">

**Author:** ![dreadpir8robots](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/dreadpir8robots/32/1074_2.png) [@dreadpir8robots](https://discuss.rapid7.com/u/dreadpir8robots)\
**Post date:** [March 3, 2022, 9:16pm UTC](https://discuss.rapid7.com/t/teams-plugin-send-message-by-guid-doesnt-support-thread-id/10535/7 "2022-03-03T21:16:30Z")

</div>

That sounds great, thank you. I realize I read your [Phishing Remediation plugin](https://extensions.rapid7.com/extension/Phishing-Workflow) documentation recently - it was food for thought.

With the Teams plugin, I wonder why there are three Actions to send a message to a team/channel:

1. Send Message: Send a message; plaintext; target team/channel.
2. Send HTML Message: Send HTML as a message; target team/channel.
3. Send Message by GUID: Sends a message using the GUID for the team and channel. This is more performant than send message. Can send either HTML or plaintext.

On the other hand, I guess combining them into a single Action in a newer version of the plugin might break workflows which use the existing Actions.

---

<div class="post-metadata">

**Author:** ![Michael-Cochran-Rapid7](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/m/a9a28c/32.png) [@Michael-Cochran-Rapid7](https://discuss.rapid7.com/u/Michael-Cochran-Rapid7)\
**Post date:** [March 3, 2022, 10:01pm UTC](https://discuss.rapid7.com/t/teams-plugin-send-message-by-guid-doesnt-support-thread-id/10535/8 "2022-03-03T22:01:34Z")

</div>

I submitted that when I was a customer, it is a version of the workflow we used at my previous place for our phishing emails. If you have any questions on it I can try to answer them. As for the 3 actions to send a message I am not sure, I can ask around and see what I can find out though.

---

<div class="post-metadata">

**Author:** ![dreadpir8robots](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/dreadpir8robots/32/1074_2.png) [@dreadpir8robots](https://discuss.rapid7.com/u/dreadpir8robots)\
**Post date:** [March 4, 2022, 12:16am UTC](https://discuss.rapid7.com/t/teams-plugin-send-message-by-guid-doesnt-support-thread-id/10535/9 "2022-03-04T00:16:49Z")

</div>

Thanks again. I’m really just thinking out loud about the 3 different Actions. It’s not a problem that they are the way they are.
