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 Automate / Connect As not connect...
Power Automate
Unanswered

Connect As not connecting as service account

(0) ShareShare
ReportReport
Posted on by

I've got an Excel step in my Power Automate Flow which accesses an Excel file on SharePoint and gets a row. I've changed the connection to use a service account so I don't have to grant everyone access to this document. However, when I call this flow within my PowerApp, it is still running as the user logged onto the PowerApp and consequently failing because they don't have access to the file. 

 

Should this work? When the PowerApp starts they get asked to provide permissions to the Excel connector. 

Categories:
I have the same question (0)
  • DeepakS Profile Picture
    2,301 Most Valuable Professional on at

    Hi @Anonymous ,

     

    When you call Power Automate flow from Power Apps it runs under the account using the Power Apps, so user who is running the power apps should have access to file.

    Permission consent what power apps ask is on Excel connection not on the file.

     

    Regards,

    DS

  • Community Power Platform Member Profile Picture
    on at

    Hi Deepak, I found this article from 2019 which seems to say that you can suppress the request for the user to login for the connection. What I don't know is whether the integration with PowerApps prevents this from working. 

     

    https://spdeveloper.co.uk/blog/2019/02/27/bypass-powerapps-run-permissions/

     

     

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…

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Leaderboard > Power Automate

#1
trice602 Profile Picture

trice602 378 Super User 2025 Season 2

#2
David_MA Profile Picture

David_MA 305 Super User 2025 Season 2

#3
Expiscornovus Profile Picture

Expiscornovus 155 Most Valuable Professional

Last 30 days Overall leaderboard