Prefect 3.7.2 bumps apprise to 1.13.0, restoring Microsoft Teams alerts for new Power Automate URLs

Prefect · Apprise 1.13.0: Prefect 3.7.2 bumps apprise to 1.13.0, restoring Microsoft Teams alerts for new Power Automate URLs

Prefect released a minor update that raises its apprise dependency to version 1.13.0, enabling the MicrosoftTeamsWebhook block to parse the new Power Automate URL scheme and restore Teams notifications that stopped working in earlier releases.

New Power Automate URLs broke Teams alerts

When Microsoft introduced a revised URL format for Power Automate workflows, the version of apprise bundled with Prefect 3.7.2 could not recognise the pattern. As a result, the MicrosoftTeamsWebhook block generated malformed webhook payloads, and Teams notifications from Prefect‑driven automations failed to deliver.

The issue was filed as #22846 on the Prefect GitHub repository; the reporter identified the incompatibility and suggested a temporary fix that involved pulling a specific apprise commit into the server container.

Dependency bump and regression tests

The maintainer response was to raise the minimum apprise version from ≥ 1.1.0,< 2.0.0 to ≥ 1.13.0,< 2.0.0 in both the server‑side and client‑side pyproject.toml files, and to update the uv.lock file accordingly. This change aligns Prefect with apprise 1.13.0, which adds support for the new Power Automate URL shapes.

Two new test cases were added to validate the two URL variants observed in the field: a plain workflow URL and one that includes a routing identifier. The tests confirm that Prefect now forwards a correctly formatted workflow:// URL to apprise, with the appropriate query parameters (pa=yes and route=12 where applicable).

What the update means for Prefect users

Existing deployments that were patched with a custom apprise commit can now revert to the standard package versions; the dependency floor guarantees that any future Prefect 3.7.x installation includes a compatible apprise release out of the box. No code changes are required in user pipelines because the fix resides entirely in the dependency specification and test suite.

Automated benchmark checks performed during the pull‑request review reported no measurable performance impact, reassuring users that the version bump does not introduce latency or resource overhead.

Merge process and timeline

The change was introduced via pull request #22908 and linked to issue #22846. The PR opened on 21 August 2026 and was merged four days later, on 26 August 2026, after a single maintainer approved it without requesting revisions. The contribution touched four files—two dependency manifests, one lockfile, and one test file—adding 46 lines and removing six.

Why the fix matters for workflow orchestration

The episode underscores the risk of relying on transitive dependencies that lag behind upstream changes. In an ecosystem where cloud services frequently evolve their API endpoints, orchestration tools like Prefect must keep their adapters current or risk breaking downstream integrations. By enforcing a minimum apprise version, the Prefect team not only resolves the immediate Teams notification failure but also establishes a safeguard against similar regressions: any future apprise release that drops support for an older URL format will automatically trigger a version conflict, prompting an upstream update before users encounter broken alerts. For teams that depend on reliable incident‑response notifications—especially those using Microsoft Teams as a primary ops channel—this change restores confidence that workflow failures will be promptly surfaced. Moreover, the addition of concrete regression tests creates a safety net for future contributions, ensuring that new URL patterns introduced by Microsoft are caught early in the CI pipeline. The fast turnaround (under five days) also demonstrates effective collaboration between the open‑source community and enterprise service providers, a model that other orchestration projects can emulate to maintain compatibility without imposing heavyweight manual patches on end users.

Editorial graphic and headline text by Signal Titans.

Source: Restoring Microsoft Teams Notifications in Prefect for New Power Automate URLs · Prefect: Fix Teams Power Automate Webhooks | Prilog

Share this article
FacebookThreadsLinkedInX

Leave a Reply

Your email address will not be published. Required fields are marked *