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 / Create File in Shared ...
Power Automate
Unanswered

Create File in Shared OneDrive Folder

(1) ShareShare
ReportReport
Posted on by 20

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)

Screenshot 2021-03-03 115131.jpg

Fails: Unauthorized (copied folder link from OneDrive, since folder does not appear in the picker)

Screenshot 2021-03-03 115641.jpg

 

cc: @tom_riha 

Categories:
I have the same question (0)
  • Verified answer
    tom_riha Profile Picture
    10,185 Most Valuable Professional on at

    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)

  • LeesaB Profile Picture
    20 on at

    Thanks @tom_riha ,

    I had a feeling you might say this couldn't be done.

    Thank you, once again, for the guidance!

  • nandan Profile Picture
    32 on at

    This worked for me... In My Connections for "Create file", you could add real owner(not shared) and get it working

     

    nandan_0-1632048979289.png

  • kyle-18888 Profile Picture
    4 on at

    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>"

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard