Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Copy and Rename a SharePoint Folder

(0) ShareShare
ReportReport
Posted on by 174

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

  • Paul300 Profile Picture
    5 on at
    Re: Copy and Rename a SharePoint Folder

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

  • Verified answer
    ryan2k Profile Picture
    174 on at
    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. 


  • ryan2k Profile Picture
    174 on at
    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",

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,660 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,004 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow