An error suddenly appeared whenever a button in a Canvas Power App triggers a flow that I have made.
"InvokerConnectionOverrideFailed. Failed to parse invoker connections from trigger 'manual' outputs. Exception: Could not find any valid connection for connection reference name 'shared_sharepointonline' in APIM tokens header."
The trigger had been working fine for months and suddenly this error has appeared. I have tried duplicating the flow and updating the Power App, and then it works temporarily. When I log out and log in again, it no longer works.
Could someone explain how to fix this issue?
Verify that your SharePoint online connection is still logged in and valid via the Data > Connections menu:
Check our SharePoint connector(s) are Connected:
Even if it is Connected, it may be worth refreshing it.
If this reply answers your question or solves your issue, please ACCEPT AS SOLUTION ☑️. If you find this reply helpful, please consider giving it a LIKE. Want to know more? Follow @BradGroux on Twitter, and check out my Medium blog at https://msft.engineer.
Hey @bentoro ,
Hope you are doing well.
When a flow is added to a PowerApps, the connections that the flow uses are remembered by the PowerApps. If the flow is later updated to have more connections, the PowerApps does not know about it and doesn’t send all the connections that we need.
Try to remove the flow from the PowerApps, saving the app, closing the app, reopening the app( preferably in a new tab), re-adding the flow and resaving to make PowerApps notice the new connections and check if it works?
This is our official documentation about best practices to updating a flow used by a PowerApps for your reference:
Thanks for your reply.
I have tried this approach and it does work temporarily, but upon logging out and logging on, or publishing the changes, it breaks again with the same error.
Thanks for your reply.
Unfortunately, this only produces the temporary fix I described previously. I tried following your exact steps and, while it does seem to work to begin with, I tried again this morning and the same error described in my post has come up again.
I think it may have something to do with me publishing the Power App but I am not entirely sure.
Should I consider duplicating the current (canvas) Power App?
I'm also dealing with this error and it is incredibly frustrating, especially because the "flow" I'm using has an approval stage in it. How is this not being considered a bug by the Microsoft Team?
Check out new user group experience and if you are a leader please create your group
On-demand access to all the great content presented by the product teams and community members! #MSBizAppsSummit #CommunityRocks
Check out how to claim yours today!
Test your skills now with the Cloud Skill Challenge.