web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Renaming files in Shar...
Power Automate
Answered

Renaming files in SharePoint using Power Automate

(1) ShareShare
ReportReport
Posted on by 6
Hi everyone,
 
I need to rename several PDF files that are on SharePoint. There may be more than 300 files in total.
 
Each PDF comes with a number called a NOTE. Each one has an identification name: 90304055, 90704066...
 
Each NOTE has a corresponding ORDER. So, if 90304055 is order 10406699, and so on...
 
This data is in an Excel spreadsheet. There are columns for NOTE and ORDER. I need the files to be renamed according to the ORDER numbers corresponding to each NOTE.
This automation needs to be done within SharePoint, as the files are there. Therefore, I need to rename several PDF documents in SharePoint using an Excel spreadsheet and Power Automate.
 
I tried to move the file. I tried to use the HTTP request. Options like get file content, get file metadata and get files (properties only).
 
These are always failing, even with the correct website address. Well, I've reached a point where I don't know what to do anymore.
 
Can you help me, please?
Categories:
I have the same question (0)
  • Verified answer
    Ellis Karim Profile Picture
    12,163 Super User 2026 Season 1 on at
     
    I understand that you need to rename the files, but what is the error you are getting (if any) and which action are you having problems with?
     
    Can you please share the flow along the settings of the actions.
     
    Please see if the following tutorial helps: 
     
     
    Ellis Karim
    Ellis Karim
    elliskarim.com  |  LinkedIn  |  Bluesky
    If this solved your issue, please mark it as ✅ Accepted Answer. If it helped, feel free to give it a 🩷 Like!
  • CU26021929-0 Profile Picture
    6 on at
    Thank you so much for your help!

    I went to your website and used "Example 2: Renaming a file".

    That helped me a lot. I also paid attention to the use of single quotes and unnecessary spaces. That was really causing a lot of confusion in my "Send an HTTP request to SharePoint" process.

    Copilot helped with the formulas and the flow is now working.

    Thank you!

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Valantis Profile Picture

Valantis 377

#2
11manish Profile Picture

11manish 279

#3
David_MA Profile Picture

David_MA 234 Super User 2026 Season 1

Last 30 days Overall leaderboard