Showing results for 
Search instead for 
Did you mean: 
Advocate IV
Advocate IV

Can't rename file on Sharepoint

Dear all,


I have a flow what moves a file to the _Archive folder every Sunday and it is working normally.


I have another flow to rename this file for "utcNow_OriginalName" in the _Archive folder.

You can see on the following photos what is happened after last run.





I also attach two pictures about the edit view as well.



I only do it with two different flow because I couldn't whit one and I try to solve it somehow.


Can you help me?

Dual Super User
Dual Super User

Hi @akosbanar,


Another approach would be to use a Send an HTTP request to SharePoint action and a POST request against the SharePoint Online REST API to update the FileLeafRef field and rename the file.


Below is an example of that approach.

In this example I am renaming it based on the old name (test.docx) and adding a number in front of it)



Helpful resources

Power Platform Conf 2022 768x460.jpg

Join us for Microsoft Power Platform Conference

The first Microsoft-sponsored Power Platform Conference is coming in September. 100+ speakers, 150+ sessions, and what's new and next for Power Platform.

May UG Leader Call Carousel 768x460.png

June User Group Leader Call

Join us on June 28 for our monthly User Group leader call!

MPA Virtual Workshop Carousel 768x460.png

Register for a Free Workshop

Learn to digitize and optimize business processes and connect all your applications to share data in real time.

Power Automate Designer Feedback_carousel.jpg

Help make Flow Design easier

Are you new to designing flows? What is your biggest struggle with Power Automate Designer? Help us make it more user friendly!

Users online (1,873)