Showing results for 
Search instead for 
Did you mean: 
Frequent Visitor

OneDrive for Business - Get file content by path problem

I have created a Microsoft Flow, which is triggered by PowerApps and gets the file content of a file stored in the administrator's OneDrive account. When the PowerApp is used by the administrator, this action works fine. However, when a different user (let's say Roger) tries to get the file content from the administrator's OneDrive (which he has access to), an error is thrown that the file doesn't exist.


The Microsoft Flow is shared with Roger, the OneDrive is shared too. Is it possible to get the file-content from the administrator's OneDrive? Or execute a Flow on behalf of someone else


Any help would be much appreciated. 



Resident Rockstar
Resident Rockstar

Hi @ToineLambalk 

I suspect the adminsitrator would need to have a logged in connection to the Flow in order to access his OneDrive

Would you be able to use a SharePoint Document library instead of OneDrive to store the content as it is easier to give group permissions to the library than it is with OneDrive.


Multiple people can easily access the conent within SharePoint.


Thanks, Alan

Did I answer your question? Mark my post as a solution!

Proud to be a Flownaut!

Helpful resources

MPA_User Group Leader_768x460.jpg

Manage your user group events

Check out the News & Announcements to learn more.

V3_PVA CAmpaign Carousel.png

Community Challenge - Giveaways!

Participate in the Power Virtual Agents Community Challenge

Carousel 2021 Release Wave 2 Plan 768x460.jpg

2021 Release Wave 2 Plan

Power Platform release plan for the 2021 release wave 2 describes all new features releasing from October 2021 through March 2022.

R2 (Green) 768 x 460px.png

Microsoft Dynamics 365 & Power Platform User Professionals

DynamicsCon is a FREE, 4 half-day virtual learning experience for 11,000+ Microsoft Business Application users and professionals.

Users online (1,209)