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 / Copy document to Share...
Power Automate
Answered

Copy document to SharePoint document set

(0) ShareShare
ReportReport
Posted on by 27

Hi,

I am currently stuck at the end of a one of my 'more useful' flows :). I'm trying to re-use information entered into a SharePoint list, including the attached files (if any) to create a document set somewhere else and then upload the attachments (if any) to that newly created document set.

All is well until the 'copy' action runs - it fails with the error "Unsupported list type for copy/move. Copy/move can only be operated in Document Library." I can confirm that the destination folder is the URL to an existing document set in a document library.

VincentVH_0-1607674938677.png

 

I see two possible issues, but I don't see the solution for either one:

1. Either the way my Destination Folder is construed is not recognized by Power Automate (using this URL in a browser works because of a redirect in the background) - should I generate the URL in another way? Please don't tell me I have to first fetch the ID, FolderCTID, List, RootFolder AND RecSrc 🙂

2. Or I just cannot use this copy-action and should resort to something else (HTTP POST?) - I couldn't find any online resources (the web seems filled with instructions to create or move document sets)

 

Thank you for any help or pointer!

Categories:
I have the same question (0)
  • VincentVH Profile Picture
    27 on at

    Attempt to work around the failing copy-action: "get attachement content" + "create file"

    VincentVH_0-1607677260872.png

    This one fails with a "File Not Found" error. That seems to imply that indeed the destination folder is not resolved correctly, or am I wrong?

  • Verified answer
    VincentVH Profile Picture
    27 on at

    Problem solved. The (destination) Folder Path was set incorrectly. I used an intermediate action to get the 'Full Path' of the document set and then used that as the Folder Path. Errors gone, me happy.

  • Community Power Platform Member Profile Picture
    Microsoft Employee on at

    What was your intermediate step?

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 608

#2
Valantis Profile Picture

Valantis 416

#3
11manish Profile Picture

11manish 348

Last 30 days Overall leaderboard