Add Power Automate (Workflows/MS Teams) alternative url support#1407
Add Power Automate (Workflows/MS Teams) alternative url support#1407caronc merged 6 commits intocaronc:masterfrom
Conversation
|
Thank you for the PR! Just clean up test coverage/linting # The following may fix all of your issues:
tox -e format |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## master #1407 +/- ##
=======================================
Coverage 99.65% 99.65%
=======================================
Files 174 174
Lines 22519 22554 +35
Branches 3582 3587 +5
=======================================
+ Hits 22441 22476 +35
Misses 70 70
Partials 8 8
🚀 New features to boost your workflow:
|
|
It looks like your PR is popular, but still not passing due to line wraps. Should be straight forward to fix and push again! 🙏 |
Ran the various tox commands, lint and format passed without issue. Digging into the Build RPMs failure (Here) looks like the test case I added fails when trying to use the "self" key in the meta dictionary (the only way I could see to test the internal flag I added, with existing architecture). I believe that's an error in rest.py where it should be When I run the tox -e qa command locally it does not throw any errors for the test_plugin_workflows.py for some reason, but does fail on |
|
Sorry not sure what I ran the lint test against earlier, but I did find and correct some line wraps... Also, I tracked down a couple loose ends. The new timezone feature you added leverages the IANA database via zoneinfo, but that is system dependent (apparently). I'm on Windows, and that may be the reason test_apprise_utils fails for me (see above). PR forthcoming to address that. #1411 The AppriseURLTester failure for my additions to test_plugin_workflows (this PR), comes down to some standing errors in rest.py. PR for that forthcoming as well. #1412 |
|
Perform a |
|
Merged code; will be part of next release |
closes #19114 Microsoft changed the Power Automate webhook URL format in August 2025 from logic.azure.com to environment.api.powerplatform.com. This was fixed in apprise v1.9.5 (caronc/apprise#1407). Since the old URL format will be deprecated on November 30, 2025, we're bumping the minimum apprise version to ensure all users have support for the new URL format. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
Description:
Related issue (if applicable): #1405
Adds support for the (new?) power-automate webhook URL pattern:
https://host:PORT/powerautomate/automations/direct/workflows/ABCD/triggers/manual/path/...sig=DEFGThe native URL (as above) is supported, maintaining backward compatibility with the existing/legacy Workflows native URL. A query parameter and internal flag were introduced to manage control of the URL pattern. e.g.:
workflow://host:443/WFID/SIGNATURE/?power_automate=yesChecklist
tox -e lintand eventox -e formatto autofix what it can)tox -e minimal)Testing
Anyone can help test this source code as follows: