Rename a file

How to rename a file in a SharePoint Online library using a Power Automate flow.

URI

Headers

Body

Screenshot with example

Sample data
LibraryName – Documents
ItemId – 147 (which is a Word .docx file)

renameafile

Expected response

Updated field and value should be returned without an error code.

Copy/paste example

Resources

SP.ListItem.validateUpdateListItem Method

That’s it, Happy testing!

You may also like...

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.