Hello,
I have the same problem as Paweł, but nothing from recommendations work on my end. I've tried all possible combination for the webhook and channel name, but no luck.
As you can see from the screenshots, the self test works correctly, but I always get an error when I try to submit an incident.
any suggestions where i'm going wrongAny suggestions where I'm going wrong?
Thank you!
------------------------------
Yuliyan Dimitrov
------------------------------
Original Message:
Sent: Fri October 07, 2022 05:32 AM
From: Calvin Wynne
Subject: Microsoft Teams for SOAR configuration
Hi Ravoth,
The existing implementation of the selftest function is slightly outdate, and so we are unable to see exactly what the error is in this case. Irrespective of that,
the actual problem here could be due to incorrectly configured "Incoming webhooks". To properly generate this "Incoming Webhook" for a channel, you can follow this link https://learn.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/add-incoming-webhook. This then can be set to the "selftest" options in the app.conf file. A screenshot of this has been attached for your reference.
Warm regards,
------------------------------
Calvin Wynne
Original Message:
Sent: Wed October 05, 2022 07:03 AM
From: John PRV
Subject: Microsoft Teams for SOAR configuration
Hi @Mark Scherfling,
We configured SOAR configuration for FN_Teams like Mr. Pawet and perform testing app.config, we got the message error below:
"
Error while calling selftest. Exception: 'MissingSchema' object has no attribute 'message'
"
Could you help to advise on that?
Best Regards,
PRV
Original Message:
Sent: Fri May 14, 2021 09:15 AM
From: Paweł
Subject: Microsoft Teams for SOAR configuration
Thank you very much, is working now.
------------------------------
Paweł
Original Message:
Sent: Fri May 14, 2021 07:52 AM
From: Mark Scherfling
Subject: Microsoft Teams for SOAR configuration
Based on the error, it looks like you placed the webhook url in the function 'teams_channel' input field rather than the label ('channel_name') you specified in the app.config. The label is meant to be an easier way to refer to the webhook url.
------------------------------
Mark Scherfling
Original Message:
Sent: Fri May 14, 2021 05:20 AM
From: Paweł
Subject: Microsoft Teams for SOAR configuration
Hi Mark,
Thank you for the answer. I already created webhook on teams and tested from powershell - it's working. My team called Resilient Integration and the channel is Incidents.
I configured app in apphost as you see on the screenshot below. But I get errors (2nd screenshot).
What could be wrong? On last screenshot you can see results of selftest.
Paweł
------------------------------
Paweł Nakielski
Original Message:
Sent: Thu May 13, 2021 09:23 AM
From: Mark Scherfling
Subject: Microsoft Teams for SOAR configuration
Hi Pawet,
The first place you're going to start is configuring your app.config file with the Microsoft Teams' webhooks. Each webhook will refer to a different channel for sending messages. You will label your channels in any meaningful way for your use. This link would give you information on setting up a webhook. https://docs.microsoft.com/en-us/microsoftteams/platform/webhooks-and-connectors/how-to/connectors-using.
[fn_teams]
channel_name=<teams channel webhook>
Within your workflow, you'll setup your function to indicate which Teams channel you're sending content to. The example workflow shows how data can be formatted into the format the webhook requires (an ActionCard). You should be able to run the example rule and workflow to get a feel for the formatting required and then you can create your own format as necessary.
Good luck,
Mark
------------------------------
Mark Scherfling
Original Message:
Sent: Tue May 11, 2021 08:00 AM
From: Paweł Nakielski
Subject: Microsoft Teams for SOAR configuration
Hello,
Do anyone know how to config MS Teams application for SOAR?
In documentation are no information. I would like to use MS teams for notification of new incident and tasks. Maybe someone can share with configuration?
Paweł
------------------------------
Paweł
------------------------------