cancel
Showing results for 
Search instead for 
Did you mean: 

Rename a File in Sharepoint

Can you please add the feature "change the name of a file" in the connector as it is posible in oneDrive

Thanks.

Status: Under Review

Hi @OzMatt - thank you for your patience as we've been triaging this request with both the SharePoint teams and the Power Automate teams. This is a feature ask for the SPO connector, it sounds like the request is asking for a new out-of-the-box action or to add a parameter like 'Update file' or 'Update file properties. This item has been added to the SharePoint team's backlog. 

 

Thank you for bringing this to our attention and we have updated the status to 'Under Review',

Comments
eliotcole
Super User

I'd obviously have clicked 'like' on that, regardless, though, cheers, mate. 🙂

 

OzMatt
Regular Visitor

Such a basic feature / requirement...

OzMatt
Regular Visitor

All it would take is a additional name field in the 'move file' action.

AnnaChu
Administrator
tism
Kudo Collector

With all due respect @AnnaChu that's not "Complete".  It's a link to a workaround.  The post requested a new action.

AnnaChu
Administrator
Status changed to: Escalated

Thank you @tism - noted it is a workaround and not complete. Updating to Escalated and putting it to the Power Automate team to provide an update.

AnnaChu
Administrator

Enlisted the help of @LuiseFreese. She recommends using the 'Send an HTTP request to SharePoint action':

 
 
 

Send the HTTP request to SharePoint action.jpg

 

Also take a look at @tom_riha's blog posts: 

 

@Expiscornovus has also written about Send an HTTP Request on his blog, with a Forms example: Get Microsoft Forms responses submitted today – Expiscornovus

 

Let me know if this helps.

LuiseFreese
Advocate I

Indeed @Anna , this is how I would solve the renaming challenge 🙂 Most times, the Send an HTTP request to SharePoint action is a life saver and can perform actions that the other built in actions can't. 

In this example, we are utilizing FileLeafRef to rename the file - FileLeafRef/FileRef in Items Rest endpoint - Microsoft Q&A

Important to know: this way we can preserve the file version history 🙂 

Hope this has helped 🙂 

AnnaChu
Administrator
Status changed to: Completed

Thank you @LuiseFreese for your guidance! I have marked this idea as completed, but I am happy to reopen it if the community is not satisfied that this is resolved.

OzMatt
Regular Visitor

Hi @Anna,

 

Sorry - but something as basic as renaming a file shouldn't be seen as a challenge to be solved.

This is a basic function that should be easily found - not something that needs to be researched and implemented with specialist knowledge.  

 

Please put me down in the 'not satisfied' camp.

 

Thanks,

Matt.