web
You’re offline. This is a read only version of the page.
close
Skip to main content
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:
I have the same question (0)
  • ScottShearer Profile Picture
    25,268 Most Valuable Professional on at
    Re: OneDrive for Bussines "when file is created" triggers twice when uploading file via De

    @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
    Re: OneDrive for Bussines "when file is created" triggers twice when uploading file via De

    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
    Re: OneDrive for Bussines "when file is created" triggers twice when uploading file via De

    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
    Re: OneDrive for Bussines "when file is created" triggers twice when uploading file via De

    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,268 Most Valuable Professional on at
    Re: OneDrive for Bussines "when file is created" triggers twice when uploading file via De

    @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
    Re: OneDrive for Bussines "when file is created" triggers twice when uploading file via De

    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

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

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard