# Delete Inactive Assets with InsightVM from Teams

**URL:** <https://discuss.rapid7.com/t/delete-inactive-assets-with-insightvm-from-teams/13997>\
**Category:** InsightConnect\
**Tags:** InsightConnect, microsoft\_teams\
**Created:** [July 27, 2022, 8:25pm UTC](https://discuss.rapid7.com/t/delete-inactive-assets-with-insightvm-from-teams/13997 "2022-07-27T20:25:59Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![n0m4d1c](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/n0m4d1c/32/1177_2.png) [@n0m4d1c](https://discuss.rapid7.com/u/n0m4d1c)\
**Post date:** [July 27, 2022, 8:25pm UTC](https://discuss.rapid7.com/t/delete-inactive-assets-with-insightvm-from-teams/13997/1 "2022-07-27T20:25:59Z")

</div>

Hello,

I am currently trying to implement this workflow([Rapid7 Extensions](https://extensions.rapid7.com/extension/Delete-Inactive-Assets-with-InsightVM-from-Teams#Documentation-Troubleshooting)) into my org and I am having a little bit of an issue. For some reason after making the designated changed per the instructions it doesn’t seem to be triggering in MSTeams. Team name(string), channel(string), and asset group number(integer) for the dynamic asset group have all been updated to reflect our environment via Workflow parameters. The only other item that I changed was in the “Delete Inactive Assets Trigger”, the message content was changed to “!delete-inactive-assets-old”.

When attempting to trigger the workflow a new conversation is started and !delete-inactive-assets-old is submitted in the chat.

I’m going crazy here, so any assistance is much appreciated.

\*Workflow setup shows successful for teams and the console. Also the InsightConnect user is an owner of the Team and channel in MSTeams.

---

<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:** [July 27, 2022, 8:46pm UTC](https://discuss.rapid7.com/t/delete-inactive-assets-with-insightvm-from-teams/13997/2 "2022-07-27T20:46:37Z")

</div>

It looks like you have everything configured correctly from reading your post. Is this your first workflow triggered with Teams, or do you have others that are working currently? Usually when I have an issue with a new workflow triggering via Teams/Slack it is because of a spelling/capitalization error somewhere either in my trigger text or channel.

---

<div class="post-metadata">

**Author:** ![n0m4d1c](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/n0m4d1c/32/1177_2.png) [@n0m4d1c](https://discuss.rapid7.com/u/n0m4d1c)\
**Post date:** [July 27, 2022, 10:04pm UTC](https://discuss.rapid7.com/t/delete-inactive-assets-with-insightvm-from-teams/13997/3 "2022-07-27T22:04:09Z")

</div>

Weird so I reimported the module, made the changes in the instructions and tested it. The workflow executed with no issues. I edited the message contents from “!delete\_inactive\_assets” to “!delete\_inactive\_assets\_old” and the workflow did not kick off. I changed it back to “!delete\_inactive\_assets” and it did not kick off. I feel like that parameter should not break the workflow. It is super weird.

---

<div class="post-metadata">

**Author:** ![n0m4d1c](https://discuss.rapid7.com/user_avatar/discuss.rapid7.com/n0m4d1c/32/1177_2.png) [@n0m4d1c](https://discuss.rapid7.com/u/n0m4d1c)\
**Post date:** [July 27, 2022, 10:10pm UTC](https://discuss.rapid7.com/t/delete-inactive-assets-with-insightvm-from-teams/13997/4 "2022-07-27T22:10:07Z")

</div>

Now it is working. I published changes, deactivated the workflow. Re-enabled it and it took a couple tries, but after a couple minutes it looks like it is working now with the custom message contents. Still learning Connect, so I appreciate your input! \<3

---

<div class="post-metadata">

**Author:** ![paul.hoff](https://discuss.rapid7.com/letter_avatar_proxy/v4/letter/p/7993a0/32.png) [@paul.hoff](https://discuss.rapid7.com/u/paul.hoff)\
**Post date:** [April 14, 2025, 3:50pm UTC](https://discuss.rapid7.com/t/delete-inactive-assets-with-insightvm-from-teams/13997/5 "2025-04-14T15:50:24Z")

</div>

> [@n0m4d1c](#):
>
> !delete-inactive-assets-old

Which one is it dashes or under scores???
