Open JyotsnaMalode opened 1 month ago
Hey @JyotsnaMalode, How do you pass the webhook url to the CLI ?
hi @dapollak , I am using below command edr monitor --teams-webhook "url"
I am using Teams workflow and not Teams webhook as it will soon be not supported
When I check the raw output for "When a Teams webhook request is received" in Wrokflow, I get below data "title": "Oops, we failed to format the alert ! --' Please share this with the Elementary team via https://elementary-data.com/community or a https://github.com/elementary-data/elementary/issues/new|GitHub issue.",_
Hi, same error here. pymsteams appears not to have a solution yet.
A workaround could be sent alerts in plain text and allowing ok status code between 200 <= x < 300. Not the best solution but at least it allows to continue receive alerts.
Thanks @mriveraFacephi , will try your suggestion.
I also tried to setup MS Teams alerts with the new Power Automate workflow method, because the connector already does not work anymore for us. Getting this error: "ERROR — Unable to send alert via Teams: 'Response' object has no attribute 'body'"
Update - workaround suggested by @mriveraFacephi worked for me to receive the text message.
Hey @Jonathan-MW , I am having the same issue. Did you try the solution provided by @mriveraFacephi ?
I tried but does not seem to work :/
In short, we will need for an update from pymsteams in order to solve this issue or is there any other option we can use to solve this problem?
Describe the bug When I execute below command: edr monitor --teams-webhook giving error
Getting below error in Power Automate workflow Oops, we failed to format the alert ! -_-' Please share this with the Elementary team via https://elementary-data.com/community or a https://github.com/elementary-data/elementary/issues/new|GitHub issue."
To Reproduce Steps to reproduce the behavior:
Also getting below error in PowerAutomate
Expected behavior I was expecting to see alerts in Teams channel
Screenshots If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
pip show elementary-data
Version: 0.15.1packages.yml
file version: 0.14.1Additional context Add any other context about the problem here.
Would you be willing to contribute a fix for this issue? Let us know if you're willing to contribute so that we'll be able to provide guidance.