cancel
Showing results for 
Search instead for 
Did you mean: 
Reply
Highlighted
ryan2k
Level 8

Copy and Rename a SharePoint Folder

Using this post as a guide, I was able to get a SharePoint folder copied, but I'm having trouble getting the rename to work. I'm just working with a Folder, not a Document Set, so the syntax is a bit different. As it's configured below, the folder gets copied, but has the name "_Template1" - not the "Account Name" - appreciate any help. Thanks!

 

Screen Shot 2018-10-15 at 3.05.49 PM.png

 

I know I have "Name" here instead of "name" as specified here: https://msdn.microsoft.com/en-us/library/office/jj247085.aspx but if I used the lowercase "name" it gave the below error

Screen Shot 2018-10-15 at 2.54.13 PM.png

1 ACCEPTED SOLUTION

Accepted Solutions
ryan2k
Level 8

Re: Copy and Rename a SharePoint Folder

Figured out I could just Create a File and add a custom Folder path that way, then go back and delete the file. 


View solution in original post

2 REPLIES 2
ryan2k
Level 8

Re: Copy and Rename a SharePoint Folder

I've tried this without single quotes around 'name' and the results are the same: 

 

"status"400,
  "message""The property 'name' does not exist on type 'SP.Folder'. Make sure to only use property names that are defined by the type.\r\nclientRequestId: 5b0d9565-cc96-49af-891d-cde71c3bc216\r\nserviceRequestId: cd01999e-80c9-7000-f816-9c9d436fc220",

ryan2k
Level 8

Re: Copy and Rename a SharePoint Folder

Figured out I could just Create a File and add a custom Folder path that way, then go back and delete the file. 


View solution in original post

Helpful resources

Announcements
thirdimage

Power Automate Community User Group Member Badge

Fill out a quick form to claim your user group badge now!

firstImage

Incoming: New and improved badges!

We've given our badges an overhaul and also added some brand new ones!

fifthimage

Microsoft Learn

Learn how to build the business apps that you need.

sixthImage

Power Platform World Tour

Find out where you can attend!

seventhimage

Webinars & Video Gallery

Watch & learn from the Power Automate Community Video Gallery!

Top Kudoed Authors (Last 30 Days)
Users online (7,231)