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 / Issue with OneDrive Po...
Power Automate
Unanswered

Issue with OneDrive Power Automate Flow Triggered by different users from Power APP

(2) ShareShare
ReportReport
Posted on by 4

We have developed a Power App that includes a "Sync Files" button. This button triggers a Power Automate flow designed to move files from the triggering user's OneDrive for Business account to a designated SharePoint document library.

The flow has been configured with run-only permissions and utilizes connection references. Specifically, the OneDrive for Business connector within the flow is set to "Provided by run-only user."

We are getting an error Resource Not found when other user is triggering the flow as it is using the Other user connections.. 

 

For Example : The Flow  Created using Service ID and when the flow is triggered it works perfectly and move the files from Onedrive to sharepoint, I have enabled Run only user access to a User 1, When User 1 access the Power app and trigger the flow getting an error " Resource not found".

I have shared User1 Onedrive folder access to Service ID... same issue

 

Issue:

When users other than the flow creator trigger the flow via the Power App, the flow fails to access their respective OneDrive files. Instead, it attempts to access the OneDrive account associated with the flow creator's connection. This behavior persists despite the connection reference being set to use the run-only user's context.

Steps Taken:

 
  1. Verified that the OneDrive for Business connector is set to "Provided by run-only user."

  2. Ensured that all users have appropriate permissions and valid OneDrive for Business accounts.

  3. Tested the flow with multiple user accounts, all experiencing the same issue


  4.  

Expected Behavior:

 

When a user triggers the flow via the Power App, the flow should execute under that user's context, accessing their individual OneDrive for Business files and moving them to the specified SharePoint library.

Actual Behavior:

The flow executes using the flow creator's OneDrive connection, attempting to access files from the creator's OneDrive account, leading to failures when other users trigger the flow.

Categories:
I have the same question (0)
  • StretchFredrik Profile Picture
    3,397 Super User 2025 Season 2 on at
    Could you please share an image with what connection is selected for the step where it access the OneDrive? Also an image where you set the OneDrive connector to "Run as User"? 
     
     

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 Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 519 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 296 Moderator

#3
abm abm Profile Picture

abm abm 232 Most Valuable Professional

Last 30 days Overall leaderboard