You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We've just migrated from the old Teams webhooks to the new Teams workflows for handling notifications. I've created a block which works when I use it in a Prefect flow:
teams_webhook_block = MicrosoftTeamsWebhook.load("teams-analytics")
teams_webhook_block.notify("Hello from Prefect!")
However, when I try to use this block in an automation in Prefect Cloud, I get the following error when looking at the event feed: "notification_log": "[ERROR]: There are no service(s) to notify"
I'm not sure how to debug this further.
We're running the latest version of Prefect (3.0.2) and in order to perform the migration from the old webhook blocks to the new workflow block types for Teams, I deleted the old block, re-registered the notification block types (using prefect block register --module prefect.blocks.notifications) and then configured the new one.
Bug summary
We've just migrated from the old Teams webhooks to the new Teams workflows for handling notifications. I've created a block which works when I use it in a Prefect flow:
However, when I try to use this block in an automation in Prefect Cloud, I get the following error when looking at the event feed:
"notification_log": "[ERROR]: There are no service(s) to notify"
I'm not sure how to debug this further.
We're running the latest version of Prefect (3.0.2) and in order to perform the migration from the old webhook blocks to the new workflow block types for Teams, I deleted the old block, re-registered the notification block types (using prefect block register --module prefect.blocks.notifications) and then configured the new one.
Version info (
prefect version
output)Additional context
Full event feed error message:
The text was updated successfully, but these errors were encountered: