Hello,
I've created a simple flow to copy files from a SharePoint site to a OneDrive folder. The flow triggers and runs successfully when I point to a folder on my OneDrive. But when I try to point to a OneDrive folder that is shared with me it fails: Unauthorized
I copied the link to the shared folder from OneDrive and added it to the folder path of the Create File step and also confirmed my access to the folder utilizing the link. But the flow fails.
Is there a way to save to a shared OneDrive folder, or is this limited to only personal OneDrive folders?
Successful: (used folder picker to select Folder Path)
Fails: Unauthorized (copied folder link from OneDrive, since folder does not appear in the picker)
cc: @tom_riha
One additional workaround is to use the SharePoint Create File action (or any of the SharePoint connector actions instead of OneDrive/OneDrive For Business). The onedrive url (the user's personal onedrive) can be used in the Site Address. You can specify the folder in the Folder Path like so "/Documents/<Folders>"
This worked for me... In My Connections for "Create file", you could add real owner(not shared) and get it working
Thanks @tom_riha ,
I had a feeling you might say this couldn't be done.
Thank you, once again, for the guidance!
Hello @LeesaB ,
I didn't test it but I think you can use access only personal OneDrive in Power Automate.
It's among the ideas for improvement: OneDrive - list files in 'shared with me' folders - Power Platform Community (microsoft.com)
Michael E. Gernaey
18
Super User 2025 Season 1
stampcoin
16
Churchy
12