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 / cannot make subfolder ...
Power Automate
Unanswered

cannot make subfolder in file-system (on-premise)

(0) ShareShare
ReportReport
Posted on by 4

Hi all,

 

To get to know the file-system connector of microsoft flow, I have created a simple flow. I have the on premise gateway setup correctly working on my local system. 

The flow is working perfect, files are stored on my local file-system. 

 

Except it throws an error when I want to create a subfolder. 

The requested action could not be completed. Check your request parameters to make sure the path "\\\\share\\Dexxx\\xcache\\testweb/testfile.txt' exists on your file system.\r\nclientRequestId: 86fc2ab1-5ab1-458a-9494-6847ec343864"
 
I have tried to get it to work with network shares, but also with the local disk C:\Users\xxx\Desktop\test
The requested action could not be completed. Check your request parameters to make sure the path "C:\\Users\\xxx\\Desktop\\test/testfile.txt' exists on your file system.\r\nclientRequestId: f1ca1f45-0ea6-4552-9317-13d7b6e11803"
 
In both experiments the last folder is a folder that needs to be created. 
When I try to store textfile.txt in an existing folder it is working. 
 
I have another flow working that uses Onedrive for Business. When I add a folder to the path and this folder doesn't exist, the flow will create this folder. 
 
Is it possible to have the connector file-system create subfolders and if this connector doesn't support this is there a workaround?
Categories:
I have the same question (0)
  • v-litu-msft Profile Picture
    Microsoft Employee on at

    Hi @mediatn,

     

    The file system connector support to adds a doesn't exist folder to the path, you can test like this:Annotation 2019-08-19 153244.png

     

    Annotation 2019-08-19 153601.png

    Please have a try, I hope it can help you.

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

  • mediatn Profile Picture
    4 on at

    Hi @v-litu-msft ,

     

    I thought it was a good shot and tried it a minute ago. 

     

    C:\Users\userx\Desktop -> working
    C:\Users\userx\Desktop\Subfolder -> not working

     

    The error I am getting is:

    "The requested action could not be completed. Check your request parameters to make sure the path 'C:\\Users\\userx\\Desktop\\Subfolder/testfile.txt' exists on your file system.\r\nclientRequestId: 75398459-0d05-489b-9155-bbfc50a387de"
     
    Do you have any clue?
  • abm abm Profile Picture
    32,985 Most Valuable Professional on at

    Hi @mediatn 

     

    Try connecting the filesystem connector username with your domainname\username. 

     

    Thanks

  • mediatn Profile Picture
    4 on at

    Hi @abm & @v-litu-msft ,

     

    I have logged in with domain\username

    I already found out if I don't log in with domain\username (so including domain\ ) I wasn't able to browse the folders using the picker in create file -> (field) Folder path.
    The login should be as needs to be. 

    Let me show a screenshot:
    flow.png

     

    I "found" the path using the picker in the field 'Folder path' and added '\Subfolder'

    When executing this flow. It gives an error on Create File (connector file-system)

     

    flow2.png

     

    And a screenshot of the error:

    "The requested action could not be completed. Check your request parameters to make sure the path 'C:\\Documents and Settings\\Userxxx\\Desktop\\Subfolder/testfile.txt' exists on your file system.\r\nclientRequestId: cb13f92f-fb82-4100-a913-4132579ca631"
    flow3.png
     
    I hope this does ring a bell to somebody. I don't know where to look. 
    I have added a slash at the back of the path, to try -> not working. I even changed the slashes to forward slashes ( I thought, you'll never know) -> not working. 

    Thanks in advance for your reply.

     

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

    Hi @mediatn,

     

    The error message shows that the path doesn't exist in your file system, so you may need to create a new File system connection that root path contains your target file path, for example:Annotation 2019-08-20 093341.png

    Please have a try, I hope it can help you.

    Best Regards,
    Community Support Team _ Lin Tu
    If this post helps, then please consider Accept it as the solution to help the other members find it more quickly.

     

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

    Hi @mediatn,

    Has your problem been solved?
    If your problem has been solved, You could go ahead and mark the post as solved by clicking “Accept as Solution” so that this thread will be marked for other users to easily identify!

    Best Regards,
    Community Support Team _ Lin Tu

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!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 251 Super User 2026 Season 1

#2
Haque Profile Picture

Haque 239

#3
Expiscornovus Profile Picture

Expiscornovus 220 Most Valuable Professional

Last 30 days Overall leaderboard