- Access exclusive content
- Connect with peers
- Share your expertise
- Find support resources
12-07-2022 02:02 AM
Hello,
I'd like to send direct messages using Microsoft Teams from XSOAR. No command was found inside Microsoft Teams integration to do it. Do you know how can create this feature?
12-14-2022 02:39 PM
Hey @Josep,
There are two commands that can be used for sending messages from XSOAR to Teams:
The Microsoft Teams integration has the send-notification command for sending messages to channels, teams, or specific users.
And there's also the script MicrosoftTeamsAsk, which sends a team member or channel a question with predefined response options on Microsoft Teams.
Let me know if perhaps I misunderstood your question.
12-15-2022 11:22 PM
Thanks for your reply.
Yes, it's quite clear, it's just to send direct messages using a kind of bot to users from XSOAR.
12-20-2022 03:00 AM
You are welcome.
So in that case, once you configure the Bot and get the integration working use the send-notification command as described in the linked URL.
Full Teams documentation for reference: https://xsoar.pan.dev/docs/reference/integrations/microsoft-teams
12-21-2022 04:27 AM
If you don't want to set up bots in the respectable Teams channel, you can also extract the email address for the Teams channel in question, and use an XSOAR playbook to send emails to that given address. However, this is not a suitable way to do two-way communication, as you cannot reply to the particular post with the same mail address.
02-09-2023 05:33 AM
Does the MicrosoftTeamsAsk script actually work? I couldn't find any way of getting/using the responses.
Click Accept as Solution to acknowledge that the answer to your question has been provided.
The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!
These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!
The LIVEcommunity thanks you for your participation!