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 / Flow not running for a...
Power Apps
Unanswered

Flow not running for any user/co-owner except OWNER - Service not configured error

(0) ShareShare
ReportReport
Posted on by

I have asked this question in the forum before too but let me elaborate more this time. 

 

I have written several flows for an application I am working on. One of them is "Getting users from SharePoint Group (GSP)" and displaying them in PowerApps Screen. Flow is running in background in powerapps(can't use manually trigger a flow option either). All of my flows including GSP has action "Send HTTP request to Sharepoint API".  I am able to run the flows and application is displaying all the Flow's outputs on the screen.  I AM THE OWNER OF SHAREPOINT SITE, FLOW AND POWERAPPS. 

Application is working fine for all co-owners (owners of SP site, Flows, Powerapps) but when they get to flow part, It throws error "Connection is not configured for this service". When they check the flow error, they are getting "INVALID CONNECTION" . They have to manually enter their connection in the flow and then it works for them. Why don't flow pick the connection of logged-in co-owner(as they have permissions) and run the flow and application without errors for all users and co-owners. 

 

Kindly Guide !

Thanks,

Sara

Categories:
I have the same question (0)
  • Pstork1 Profile Picture
    68,739 Most Valuable Professional on at

    Flows that are started by PowerApps run in the context of the user who is running the PowerApp, while Flows that are started by a connector trigger run in the context of the person who wrote the Flow. Do the people for who the flow is failing actually have the permissions to run the connector and do the HTTP calls that the Flow uses?

  • Community Power Platform Member Profile Picture
    on at

    Yes, they have the permission to make HTTP call as they are the owner of the site and run the connector too. The flow is running in the context of the user but it's failing on HTTP call. Says "Invalid connection" when they open the flow and they have to enter their connection there from a dropdown. How can I make flow pick the connection dynamically for the user who is running it. I am okay with them to run even with my context but at least run. 

  • Pstork1 Profile Picture
    68,739 Most Valuable Professional on at

    If they have the appropriate permissions I'm not sure why its requiring them to manually choose the connection.  What is the REST call that you are using the connection for in Flow?

  • Pstork1 Profile Picture
    68,739 Most Valuable Professional on at

    So I just tried this in the lab.  When I started up the PowerApp that initiates the Flow as a second user it prompted me to authorize the SharePoint connection before starting the PowerApp. But in my case the PowerApp doesn't use a SharePoint connection, only the Flow does. So users should be prompted to pick the appropriate connection when the startup the original PowerApp, since they can't do it directly after the Flow launches.  Could you check to make sure that if the PowerApp itself is using a SharePoint connector that its using the same connection as the Flow?  Also if you have access to the Admin center you can check the resources for the PowerApp and Flow to make sure they are using the same connection.  You should see any connections authorized by the other users in that resource tab for the environment.

  • Community Power Platform Member Profile Picture
    on at

    Yes, when they launch the app Powerapp require them to authorize connections, one of them is SharePoint that is used in flow rest API call. I am making a rest API call to SharePoint "Send HTTP request to SharePoint API"Capture.GIF1.GIF

    When owners other than creators try to debug the errors, they find my connection in there unless they manually change to theirs in flow. 

  • v-xida-msft Profile Picture
    on at

    Hi @Anonymous ,

    Actually, if you created an app including a flow connection, and share the app to your end users (in your Org), when the end users run this app, it would ask them to provide their own credentials to create a connection to data sources added in your app and flow.

    More details about sharing an app including flow connection, please check the following article:

    https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/share-app-resources#flows

     

    Based on the issue that you mentioned, I have made a test on my side, and don' thave the issue that you mentioned. Please consider remove the flow connection from your app, then re-add a new flow connection within your app, re-publish your app. Then ask your end users to run your app again, check if the issue is solved.

     

    If the issue still exists, please consider re-assign your app's permission to your end users, then check if the issue has been fixed.

    Note: Please make sure the end users have enough permission to access your SP Site. E.G. the end users is a SP Site Member of your SP Site.

     

    Best regards,

  • Pstork1 Profile Picture
    68,739 Most Valuable Professional on at

    I've seen a comment in another forum with exactly the same issue.  In that case the user resolved the issue by exporting the App and Flow, then re-importing it and recreating the connections on Import. You might want to try that.

  • Community Power Platform Member Profile Picture
    on at

    I have tried that.  Somehow Flow is not picking SharePoint connection that we choose while launching the powerapp application. Please find the attachment. Once I manually enter the connecton, it works. Flow has been shared with users.  I have tried re-adding the connection too.

  • Community Power Platform Member Profile Picture
    on at

    Hi, what ever i try, if some other user tries to trigger the flow from the power app it never seems to work. I tried even giving other users owner access to the flow, and it still doesn't work. How can this be resolved? Is that step necessary? There seems to be no clarity on this at all?

  • Jesus_Aguirre Profile Picture
    137 on at

    Hi @Anonymous i think i have the same problem, can you solved this?

     

    I have an application in which I have different flows where to generate a pdf file and send it by email, the problem is that when I do it, it works and when I share the application of power apps to a user and he tries to do the same with it does not send the mail with the pdf. Are there any permissions that need to be configured or could it be wrong?

     

    Thanks and regards.

    @v-xida-msft @Anonymous 

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 765 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 272

Last 30 days Overall leaderboard