Skip to content

Microsoft Power-Automate url pattern changed #1405

@LaFeev

Description

@LaFeev

https://github.com/caronc/apprise/blob/dca2f7aad827f5d86b9e9cdfd8dea869f98f2fae/apprise/plugins/workflows.py#L383C13-L383C57

The structure of the power-automate webhook URL as issued to me through MS Teams, is different from the one referenced above. The result is a 404 "The request URI --- does not match any known API routes".

My webhook (anonymized): https://default9876a89769878976b9786d76.73.environment.api.powerplatform.com:443/powerautomate/automations/direct/workflows/09870a09879087d987987b78/triggers/manual/paths/invoke/?api-version=1&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=fKJHT897_0987HK789687DFK7698DFDFjh989

Existing pattern:
https://HOST:PORT/workflows/ABCD/triggers/manual/path/...sig=DEFG

New pattern:
https://HOST:PORT/powerautomate/automations/direct/workflows/ABCD/triggers/manual/path/...sig=DEFG

I took a stab at adding a query param for use with the shorthand URLs, and implemented a flag for power automation so that a different URL pattern could be used if desired. Default behavior remains same as existing code. I'll create a PR shortly.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions