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 / Power Automate file de...
Power Automate
Unanswered

Power Automate file deletion

(0) ShareShare
ReportReport
Posted on by

Situation:

 

Have 2 SharePoint Sites and that both contain identical document libraries in terms of columns and metadata.

 

Site1 is where the documents are controlled from, they are create and updated in this library and then sent to the other site and document library for user consumption. Power Automate with the use of control flags can either copy the file directly into the other library or create a pdf from the source document and send that over.

 

I can delete files in both libraries with the use of deletion flag, but want to be tighter on this to prevent files being deleted in the control library and not in the user consumption library where you end having an orphaned document without a source.

Categories:
I have the same question (0)
  • JohnAageAnderse Profile Picture
    1,986 on at

    Hello @365testuser 

    You could establish a recurrent flow that daily or weekly goes through all the "published" (end user consumption) documents and check that the source document still exists.

     

    But you could also track deletions of source documents, register the fact in a list and then have the recurrent flow go through the list and ensure that the corresponding "published" document has been deleted ... and if not, delete it, and inform you so you can investigate why it was not deleted the first time (locked by user, etc.).

     

    Kind regards, John

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 522 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 364 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard