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 / Copy and Rename a Shar...
Power Automate
Unanswered

Copy and Rename a SharePoint Folder

(0) ShareShare
ReportReport
Posted on by 176

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

Categories:
I have the same question (0)
  • ryan2k Profile Picture
    176 on at

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

  • Verified answer
    ryan2k Profile Picture
    176 on at

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


  • Paul300 Profile Picture
    5 on at

    How did you do that Ryan?
    I was presuming you wanted a template folder copied within a destination - with unique name / reference?

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

#2
Tomac Profile Picture

Tomac 405 Moderator

#3
abm abm Profile Picture

abm abm 252 Most Valuable Professional

Last 30 days Overall leaderboard