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

Power automate file delete local problem

(1) ShareShare
ReportReport
Posted on by 5

Hy all.

 

I have problem recently with file delete in local folder.

my flow is triggered when new file is created in folder, send email and after that it should delete that file.

and all of that works online, file is deleted, but localy in onedrive file folder file is still there, and not deleted for about 40 minutes.

so I don't know what could be a problem with that, looks like that drive is not syncing localy files or something.

please help

 

detail explanation:

my pc create local text file and save it to one drive folder.

so I made a flow that runs:

- when new file is created

-read contents of that file

-send content on email

-delete file

 

and it works and suddenly file is deleted online, but not in pc onedrive folder, and my pc is filling that file with more and more data

so I got email with all those emails already sent.

tnx

Categories:
  • poweractivate Profile Picture
    11,078 Most Valuable Professional on at

    @wlcmzlz 

     

    Delete File deletes it from OneDrive. When using OneDrive, the "Delete File" Action does not manually delete it from the local computer. OneDrive works by synchronizing the local OneDrive folder on the computer with the OneDrive folder on the Cloud - for many possible reasons, this might not be instantaneous. If a file is deleted from OneDrive via Power Automate - or even from OneDrive directly through the web UI  for example - this might not automatically and instantaneously remove it from everyone's local OneDrive folder.

     

    Try and see if simply synchronizing the local PC's OneDrive Desktop Client with OneDrive helps by simply opening OneDrive Desktop Client from local Computer, signing in if needed and if not signed in, and starting a synchronization manually. After the synchronization completes, the items that were removed from OneDrive should not be there anymore in the local PC OneDrive folder. However, those items that were removed from OneDrive might appear in the Recycle Bin of the local computer. If you are sure about it, you can empty the Recycle Bin from the local computer to remove these files.

  • wlcmzlz Profile Picture
    5 on at

    The problem is that when I made that flow it was working fine,

    and all of the sudden stops without touching anything. I cant use desktop flow because this is windows 7 pc and it is only for that job.

    also it automaticly  sync new file on one drive online, but when flow is finished doesn't sync back for some time.

     

    I was thinking maybe microsoft support one drive for win7 stoped or something.

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 Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Leaderboard > Power Automate

#1
Mohsin Ali Profile Picture

Mohsin Ali 377

#2
11manish Profile Picture

11manish 292 Super User 2026 Season 2

#3
Henil Profile Picture

Henil 128

Last 30 days Overall leaderboard