Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
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 ?

  • RezaDorrani Profile Picture
    12,141 on at
    Re: flow with onedrive not working

    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 

  • Verified answer
    willy30870 Profile Picture
    58 on at
    Re: flow with onedrive not working

    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...

     

  • v-bacao-msft Profile Picture
    on at
    Re: flow with onedrive not working

     

    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,

  • RezaDorrani Profile Picture
    12,141 on at
    Re: flow with onedrive not working

    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

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

Understanding Microsoft Agents - Introductory Session

Confused about how agents work across the Microsoft ecosystem? Register today!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,702 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,026 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow