Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Re-naming file in Sharepoint (NO crate-delete)

(0) ShareShare
ReportReport
Posted on by 66

Hello guys!

 

I would like to change file's name in Sharepoint/Onedrive. However, i do not want to do that with "Create file" and "Delete file". As i want to keep existing file, update it with new content and do not trigger a flow.

 

The reason is, i have one folder where i have all orders with different status (pending, approval, signed, etc.) - i am searching through them with simply with filters. This folder is binded to my approval Flow which triggers "When a file is created".  Files (orders) i am adding to the folder are in format .docx, .xlsx and .pdf. Flow also includes AdobeSign, so when flow goes through it creates a signed .pdf agreement file from .docx, .xlsx and .pdf.

 

So my goal is to update existing file in sharepoint (.docx, .xlsx., .pdf) with sharepoint step "Update file" with content from "Get a PDF of a signed agreement". But i want the final file to be .pdf. therefore i am asking about the renaming a file including extension.

 

I do not even know if this is possible. Can you help me guys?

 

 

Capture.JPG

  • Verified answer
    ChristianAbata Profile Picture
    8,947 Most Valuable Professional on at
    Re: Re-naming file in Sharepoint (NO crate-delete)

    hi @Rejdy  you can do it by using one drive like this

    see I aswer a similar question here

    https://powerusers.microsoft.com/t5/Building-Flows/Rename-Ondrive-File-using-Flow/m-p/537242#M69732

     

    and here is another answer, that says we unfortunally can't do that with a existing action but you can use API rest to try

    https://powerusers.microsoft.com/t5/Building-Flows/Renaming-a-File-in-SharePoint-Online/td-p/176708

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 566 Super User 2025 Season 1

#2
David_MA Profile Picture

David_MA 516 Super User 2025 Season 1

#3
stampcoin Profile Picture

stampcoin 492