web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Power Automate Flow in...
Power Apps
Answered

Power Automate Flow invoke error from Power App

(0) ShareShare
ReportReport
Posted on by 21

Hi All,

 

we built a Canvas App based on a SharePoint list. We have a button calling a Power Automate Flow to create a Project in Project Online. For me as the owner of the flow the button works fine. For all others it fails with the message "flow.run failed: @ { "code": "InvokerConnectionOverrideFailed","message": "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."}

TLA_0-1611872808666.png

 

We already tried deleting the flow in the Power App and readding it, we exported / imported the flow, we "saved as" the flow and even the Power App - to no avail.

 

I added a dummy flow with a dummy button and only a simple variable action in it - people were able to fire that action in Power App. But as soon as I added a "Get item" SharePoint action, the error was back on the dummy flow as well.

 

In the meantime, I made all testers of the App Co-Owners of the Flow, they have full access to the SharePoint list that is being accessed. But still not working.

So any ideas?

 

Btw. the accounts all have MFA enabled - could this be an issue?

 

Here is my dummy flow:

TLA_1-1611873310075.png

 

TLA_2-1611873599023.png

 

Categories:
I have the same question (0)
  • CU-18081211-6 Profile Picture
    9,270 Moderator on at

    Hi @TLA ,

    In PowerAutomate flow history log which action actually fails ? Most probably Sharepoint - Get Items 

  • TLA Profile Picture
    21 on at

    It does not even trigger the flow. The error occurs immediately without the workflow even starting.

  • Verified answer
    v-jefferni Profile Picture
    on at

    Hi @TLA ,

     

    As per that error message “in APIM tokens header”, basically I assume enabled MFA caused this issue. Have you tried refreshing SharePoint connector after creating/editing the flow?

     

    Please refer to below blog:

    https://support.microsoft.com/en-us/topic/recommendations-for-conditional-access-and-multi-factor-authentication-in-microsoft-flow-15e7e8bc-1106-2e89-899b-7c292fbf1736

     

    At the bottom, you will find:

    Effect 7: Creation of SharePoint out-of-box flows:

    The creation and execution of SharePoint out-of-box flows, such as the "Request Signoff" and "Page Approval" flows, can be blocked by conditional access policies. SharePoint documentation on conditional access policies indicates that these policies can cause access issues that affect both first-party and third-party apps. 

     

    To work around this, please refer to below blog:

    https://blog.peterdahl.net/2018/01/09/microsoft-flow-and-azure-conditional-access-azure-mfa/

     

    Hope this helps.

     

    Best regards,

    Community Support Team _ Jeffer Ni
    If this post helps, then please consider Accept it as the solution to help the other members find it.

  • v-jefferni Profile Picture
    on at

    Hi @TLA ,

     

    Have you resolved this problem yet?

     

    If this post helps, then please consider Accept it as the solution to help the other members find it.

     

    Best regards,

    Community Support Team _ Jeffer Ni

  • Verified answer
    TLA Profile Picture
    21 on at

    It took some time to go through all the administrational stuff, but the blog post above brought me onto the right track. Indeed it seems that the Power Automate Flow was not able to run, because of the connections running with my user credentials with MFA enabled. Refreshing the connections did not help.

     

    I recreated the Power Automate Flow now with a System Account with MFA DISabled. All connections now run in the context of the service account and the flow now can be successfully triggered from our Canvas App.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 721 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 320 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard