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 / OneDrive for Bussines ...
Power Automate
Unanswered

OneDrive for Bussines "when file is created" triggers twice when uploading file via Desktop app

(0) ShareShare
ReportReport
Posted on by 12

Hello,

 

I have a problem with trigger "when file is created" for OneDrive for Bussiness.


Setting my task is very simple:
After creating new file -> Send an e-mail containing the name of this file.


When adding a file / files via the OneDrive web interface, the task is always performed only once like it should be.


The problem is that the task is run twice for each new file in a situation when I add files through the OneDrive folder on my Windows 10 computer.


I have the impression that this is a bug in the functioning of the trigger, and not the result of an incorrect configuration, since configuration of this trigger is so simple.


I need any solution that will allow me to send only one notification per file, regardless of how the file was added. It can be any filter, schedule or if / so, but after spending a few hours searching for a solution I found nothing like this myself.

 

 

Categories:
  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @Hermes:

     

    I have been unable to replicate your issue.  Can you post a screen shot of your Flow please?

     

    Scott

  • Hermes Profile Picture
    12 on at

    1.jpg

    You will find screen of task above.

     

    It is very simple task, yet it behave in weird way.

     

    I believe it has something to do with OneDrive uploading via folder in Windows File Exploler. I would guess that maybe when I upload file via Desktop app file is created twice - first as "placeholder" and few second later, when upload is finished as proper file, but I could not weryfie it in any way.

     

    I did try to get raports with another flow with same trigger raporting new file name, file id and timestamp of upload to excel, and only timespamps were diffrent with few second difference, but this issue happen no matter if this "log" is active or not.

  • Hermes Profile Picture
    12 on at

    Unfortunatny this false trigger keeps happening.

     

    Is there any way to set up trigger to check for event like "new file created" lets say once in an hour and check this trigger only for files currently present in folder?

  • Hermes Profile Picture
    12 on at

    Anyone can help? 

    Second trigger can happen even few hours after uploading file, so I have no clue how and why its triggered...

  • ScottShearer Profile Picture
    25,331 Most Valuable Professional on at

    @Hermes:

     

    You colud use a Recurrence trigger to peridoically start a Flow (horuly if you would like).  The Flow could use a Get Files action where you could evaluate the items returned for a created date/time that was within the last hour.

     

    Scott

  • Hermes Profile Picture
    12 on at

    That might just work. Could You please help me with configuation of Get Files action and filtering it to get names created in last hour? It would be tremendous help!

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 424

#2
11manish Profile Picture

11manish 328 Super User 2026 Season 2

#3
M Bilal Khan Profile Picture

M Bilal Khan 274

Last 30 days Overall leaderboard