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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Renaming a file withou...
Power Automate
Suggested Answer

Renaming a file without deleting it

(0) ShareShare
ReportReport
Posted on by 158
Hello, I am trying to rename my file without deleting it. When I use the create new file and delete old file, it breaks the connection in my SharePoint list. I need to keep the connection integrity by renaming the file. Any suggestions on how I can achieve this?
Categories:
I have the same question (0)
  • Suggested answer
    rzaneti Profile Picture
    4,241 Super User 2025 Season 2 on at
     
    It looks like you can achieve it by using Graph API.
     
    I checked this thread https://learn.microsoft.com/en-us/answers/questions/1250241/graph-update-folder-name-using-itemid and ran a few tests with the Graph Explorer. It works great, but you may need a few additional HTTP requests to get the file drive_id. If you are not familiar with HTTP requests in Power Automate, I can provide you more detailed instructions on how to set it up. 
     
    Anyhow, it seems to be a good starter point for your solution. If you need some help to set up these additional HTTP requests to get the drive_id, I can investigate in the next few days and come back to you.
     
    Let me know if it works for you or if you need any additional help!
     
    If this is the answer to your question, please mark the post as Accepted Answer.
    If this answer helps you in any way, please give it a like.

    Check more Power Platform content on my website.
    Lets connect on LinkedIn.
     
     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 501 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 323 Moderator

#3
abm abm Profile Picture

abm abm 237 Most Valuable Professional

Last 30 days Overall leaderboard