Skip to main content

Notifications

Power Automate - General Discussion
Unanswered

Microsoft Flow - File System error

(0) ShareShare
ReportReport
Posted on by

Hi Team,

 

Can anyone help me with setting up my flow properly? I need to create a flow wherein I can automatically download an excel file from a sharepoint site and save it to my local within a certain schedule (e.g. Every monday I want the excel file in sharepoint to be automatically downloaded in my local storage.

 

I have created a flow right now using a manual trigger (I have not set up the scheduling part yet), but I am having issues with the saving of the excel file.

 

My flow goes like this:

Manual trigger > Initialize variable (for file name increment) > Get file content (sharepoint) > Create file (file system) > Increment variable

 

Once I get to the create file action, I get an error saying that my credentials are not valid. I am not sure why as I believe I have setup my connection properly.

 

file system error.pngflow screenshot.png

See connection screenshot here. I even have the gateway already installed:

 

connection 1 of 2.pngconnection 2 of 2.png

 

When I run the test and input a directory in the folder path, I get an error saying this:

 

"The credentials for this connection do not have access to 'C:/Users/acalma2/Desktop/Forms_1', please try using a different location or account.\r\nclientRequestId: 2d1c2c27-7576-446a-aa57-a2351242b1d8"
 
error message.png
 
I am absolutely sure about my credentials, I even tried it multiple times but it still is not working from my end. Can anyone please help me? I need this urgently.
  • v-yamao-msft Profile Picture
    v-yamao-msft on at
    Re: Microsoft Flow - File System error

    Hi @Anonymous ,

     

    Per my certain tests, it seems that it only works for a Shared folder.

     

    When testing with a not shared folder, I got the same error message with you.

     

    Please take a try with a shared folder. I suppose it will work for you.

     

    Best regards,

    Mabel

     

  • Re: Microsoft Flow - File System error

    Hi Mabel,

     

    Thank you for your reply. Is this applicable also for folders that are not shared? I just want to have a flow wherein it can make an automation where a file from sharepoint will be automatically downloaded in my local storage, specifically, my documents folder. I checked my documents folder and I don't have the network path. Is my goal even possible? Or it will only work in a shared folder?

     

    network path screenshot.png

     

    Regards,

    Aaron

  • v-yamao-msft Profile Picture
    v-yamao-msft on at
    Re: Microsoft Flow - File System error

    Hi @Anonymous ,

     

    When creating the connection, please go to Properties>Sharing to get the Path of the folder.

    1.PNG

     

    Hope this will work for you.

     

    Best regards,

    Mabel

     

  • Re: Microsoft Flow - File System error

    Hi,

     

    I am not understanding this. Can you walk me through this?

     

  • Re: Microsoft Flow - File System error

    Hi, thanks for your reply, but I still am not able to make it work. Can you help me more?

     

    I tried the root folder thing, but it still is getting the forbidden error (403). I am absolutely sure I am using the correct credentials for my own machine, so I am not sure what's the problem. I have also setup the gateway fine, the root folder and the file path too. Can you please look at the screenshots below and see if you can help me? Clearly, I have been stuck with this problem and I need to finish this ASAP.

     

    create file error.pngfile system root folder.png

  • v-yamao-msft Profile Picture
    v-yamao-msft on at
    Re: Microsoft Flow - File System error

    Hi @Anonymous ,

     

    Please follow this document to recreate the connection to File system then test it again:

    https://docs.microsoft.com/en-us/azure/logic-apps/logic-apps-using-file-connector

     

    The Root folder should be configured to something likes below:

    \\PublicShare\\DropboxFiles

     

    I have made a test likes below which is working well.

    1.PNG2.PNG

     

    Best regards,

    Mabel

     

  • Brad_Groux Profile Picture
    Brad_Groux 4,556 on at
    Re: Microsoft Flow - File System error

    Have you ever gotten the On-Premise Gateway to work? If not, you should review the Understand on-premises data gateways for Microsoft Flow documentation, specifically the Configure a firewall or proxy (proxy details) and Configure ports sections. Also, note that installing the gateway on a domain controller is not supported

    If this reply has answered your question or solved your issue, please mark this question as answered. Answered questions helps users in the future who may have the same issue or question quickly find a resolution via search. If you liked my response, please consider giving it a thumbs up. THANKS!

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

Microsoft Kickstarter Events…

Register for Microsoft Kickstarter Events…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Announcing Forum Attachment Improvements!

We're excited to announce that attachments for replies in forums and improved…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 145,567

#2
RandyHayes Profile Picture

RandyHayes 76,287

#3
Pstork1 Profile Picture

Pstork1 64,907

Leaderboard