Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Building Flows
Answered

Error in List Folders

(1) ShareShare
ReportReport
Posted on by 340

Hi, 

 

Objective - Create a year folder if there is no year folder & drop a file in it. If a year folder exists, get into the folder & add the file in it.

 

I created a flow & ran into an error - adding the screenshot for your reference 

mithushalk_0-1720781707947.png


Thanks in advance!

  • mithushalk Profile Picture
    340 on at
    Re: Error in List Folders

    Hi @ManishSolanki ,

     

    Thanks for the reply!

    I went through the link & it shows to create file in a folder. 
    I need to create folders for the Year followed by Month & then add the file in it. If the folders are already created then just get into the folders & create the file.

  • Verified answer
    ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: Error in List Folders

    Hi @mithushalk 

     

    Here is the example which I had shared for the same use case:

    Solved: to store attachments when email arrives based on t... - Power Platform Community (microsoft.com)

     

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

     

  • mithushalk Profile Picture
    340 on at
    Re: Error in List Folders

    Can you please a demo for me to executive?

  • ManishSolanki Profile Picture
    15,085 Super User 2025 Season 1 on at
    Re: Error in List Folders

    Hi @mithushalk 

     

    The same can be done easily by providing dynamic path in 'Folder path' parameter in "Create file" action. It will create a folder if does not exist else create file in the existing folder.

     

     

     

     

    If this helps & solves your problem, please remember to give a 👍 and accept my solution as it will help others in the future.

     

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

Michael Gernaey – Community Spotlight

We are honored to recognize Michael Gernaey as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard >