Showing results for 
Search instead for 
Did you mean: 
Not applicable

Replace SP file if exist

Hi all, 


I'm using Power Apps and Power Automate to create files in a SharePoint Library. 

The process is simple, via a power apps canvas app, the user add a pdf file into an attachment file control and when he clic on "Save", a Power automate get this file and create it to a sharepoint library. 


When the user add the same PDF file, i want to replace the document in the library. 


Actually the user get an error when he try to upload existing file.


Here's the Power automate step where i'm creating a file. 



The last step is "Créer un fichier" (Create a SP file). 

There's no option to say "If file already exist, replace it" ? 



Many thanks 



Hello, @Anonymous!


I found a post where they describe something similar to what you are asking! 

Solved: will Not Overwritting Sharepoint existing file - Power Platform Community (


Let me know if this helps you! 



Helpful resources

Power Automate News & Announcements

Power Automate News & Announcements

Keep up to date with current events and community announcements in the Power Automate community.

Community Calls Conversations

Community Calls Conversations

A great place where you can stay up to date with community calls and interact with the speakers.

Power Automate Community Blog

Power Automate Community Blog

Check out the latest Community Blog from the community!

Users online (4,472)