server icon indicating copy to clipboard operation
server copied to clipboard

Cloud hooks not working with Microsoft Teams

Open marvin-robot opened this issue 3 years ago • 1 comments

Opened from the Prefect Public Slack Community

d.hinnenkamp: Hi,

I have set up a cloud hook that is supposed to notify me via MS Teams when a run is successful. Unfortunately, I don't get any notification and the test call doesn't seem to work either.

I also use the same webhook URL in the Airbyte installation, the message also arrives in MS Teams, so that can't be the problem.

Can anyone help here? By the way, I use Prefect Server.

Thanks in advance

anna: Can you try testing whether your Teams webhook URL is working by running it with requests without Prefect?

<http://requests.post|requests.post>(url="teams_webhook_url", data=json.dumps({"text": result}))

anna: I don't have Teams installed so can't reproduce, but Teams has this menu that allows you to check webhooks configuration and test whether a hook is working

d.hinnenkamp: The request via plain Python works like a charm

anna: This is weird. I can open an issue in Server to investigate.

<@ULVA73B9P> open "Cloud hooks not working with Microsoft Teams" in server

Original thread can be found here.

marvin-robot avatar Apr 05 '22 11:04 marvin-robot

Hi, is there any more information needed here?

mcfuhrt avatar Apr 26 '22 08:04 mcfuhrt