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 / flow with onedrive not...
Power Automate
Answered

flow with onedrive not working

(0) ShareShare
ReportReport
Posted on by 58

I have made a flow with the trigger "When a new file is created" preview to include subfolder.

 

If I test my flow, he works but when I had a file in onedrive folder or subfolder nothing happens.

 

It's seems to me that the trigger does'nt works. 

 

someone to help me ?

Categories:
I have the same question (0)
  • RezaDorrani Profile Picture
    12,145 on at

    Hi @willy30870 

     

    The trigger only works for the specified folder

    So if I add files within the folder defined , it will work

     

    However , if the folder contains subfolders then it will not trigger for files uploaded in the sub folders

    You will have to create a trigger for each sub folder

     

    There is a user voice out there with this request

    https://powerusers.microsoft.com/t5/Flow-Ideas/Support-for-sub-folders-of-OneDrive-When-a-file-is-created/idi-p/22310

     

    Regards,

    Reza Dorrani

     

    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly

  • v-bacao-msft Profile Picture
    Microsoft Employee on at

     

    Hi @willy30870 ,

     

    I did a test on my side and set Include subfolders to Yes. When I create a file in a subfolder, Flow will be triggered.

    111.PNG

    You could view the File path, which is created in the subfolder.

    110.PNG

    Please try again.

     

    Best Regards,

  • Verified answer
    willy30870 Profile Picture
    58 on at

    Thanks for your reply,

     

    This is the beginning of my flow : 

    my_flow.JPGmy_flow_result.JPG

     

    And it works well in test mod...but nothing happened when he is in real test... I will try with your trigger to test...

     

    Has RezaDorrani says : "if the folder contains subfolders then it will not trigger for files uploaded in the sub folders"

     

    I will have to find another solution because I have more 250 folders to monitor...I can not create 250 identical flow, it's to complicated to administer...

     

  • RezaDorrani Profile Picture
    12,145 on at

    Hi @willy30870 

     

    As @v-bacao-msft  pointed out, my statement of you having to creating multiple triggers is not true

    The same Flow set on a folder will work for all sub folders 

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 469

#3
11manish Profile Picture

11manish 364

Last 30 days Overall leaderboard