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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / How to share folder co...
Power Automate
Answered

How to share folder content for use with Get file using path (OneDrive)?

(0) ShareShare
ReportReport
Posted on by 664

I am trying to create a Flow that will copy files from OneDrive to SharePoint. The trigger of the Flow is a Power Apps button. On click, I am running the flow passing in a variable to build a string for use in File path. Then I use the File content property in Create file in SharePoint.

Everything works when I test this myself. I am the creator of the Flow and the files are in my OneDrive. When others run the Flow, it throws a Forbidden error (messsage: Access denied).

I have tried messing around with the permissions in OneDrive but have not gotten anything to work. Does anyone know how I can modify the settings to allow for others to get content from OneDrive? Using a source other than OneDrive is not ideal for my use case so I would really like to stick with that if possible. Thank you

Categories:
  • sudharsan1985 Profile Picture
    1,325 on at

    Hi @Cooper01 

    If the onedrive folder from where you pick the files are shared with other users then there won't be any permission issue. If you want to search for files from the respective user's onedrive, then the folder path must be dynamic based on the user who triggers the flow.

     

    Hope it helps, please like it or mark it as a solution if it resolves ur clarification or issue
    -Sudharsan K...

  • Cooper01 Profile Picture
    664 on at

    Thanks for the reply, my question is how to I share the folder with other users. It is working for me as owner of the Flow using my OneDrive account but is consistently failing for other users. I am generating the File Path dynamically and have confirmed it is correct. In the Manage Access settings of the folder where the content lives I have given the users direct edit access. On their side I can see that the items are being shared with them. I am getting an Item not found error on the Get file content using path action.

  • Verified answer
    Cooper01 Profile Picture
    664 on at

    Using details found in this link it seems that it is not possible to use Get file content using path for anyone except the user whose One Drive account is being used. I needed to move all content to SharePoint and give users read access to the content I wanted to copy.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard