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

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,187 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
    6 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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard