Skip to main content

Notifications

Community site session details

Community site session details

Session Id : NWIGx+jy18bWaj4Vgbj0vZ
Power Automate - Using Connectors
Answered

File System connector adds a forward slash '/' between my path and my file name

Like (1) ShareShare
ReportReport
Posted on 17 Oct 2023 12:03:45 by 510

This has been disussed numerous times but I just cannot resolve this issue.

 

I am using the file system connector to Get file content using path.

I have set up my connector properly with the credentials entered correctly. When I run the flow, the File System connector shows a green tick.

I am getting my path from a Stored Procedure result and storing it in a variable.

I use this variable in the File Path field in Get file content using path.

When I run the flow I get an error.

The File Path INPUT shows my path correctly:
\\serverip\i$\folder1\folder2\folder3\filename.pdf
but the error shows this:

The credentials for this connection do not have access to '\\serverip\i$\folder1\folder2\folder3/filename.pdf', please try using a different location or account.

 

Why in the world does it replace the '\' with '/'? It is so frustrating. I cannot get this working.

 

  • MarioMayr Profile Picture
    3 on 24 Apr 2024 at 13:32:22
    Re: File System connector adds a forward slash '/' between my path and my file name

    Hi. 

     

    I had the same issue and found out, that it has nothing to do with the slashes. 

    It's just a problem with the choosen connection thin the actions. 

    In my case, I created different connection-references manually in the solution and used them to access different Root-folders. 

    Here I used the Connection-Refernce for a local folder on the maschine where the Gateway is running: 

    MarioMayr_0-1713965256317.png

    By clicking on "Test" i saw, that it still uses an other connection instead of my choosen one: 

    MarioMayr_1-1713965350489.png

    By changing to the correct connection at this point, everthing works fine. 

     

    So the Error-Message "Check your request parameters to make sure the path 'C:\Test_PowerApps\Folder1' exists on your file system." is still correct, because it is connected to an other connection and root folder. 

    But it has nothing to do with the slashes. 

     

    Hope, this will help you and others. 

     

  • rwittels Profile Picture
    510 on 17 Oct 2023 at 12:50:24
    Re: File System connector adds a forward slash '/' between my path and my file name

    It appears that I have to have a gateway running on the file server? I will try this.

     

    UPDATE:

    I shared a folder on the current server I have my gateway on and set up a File System connection to it using the same domain credentials. It works fine. So it appears that a gateway has to be installed on the machine you need to access using File System.

  • Verified answer
    CFernandes Profile Picture
    8,283 Most Valuable Professional on 17 Oct 2023 at 12:20:22
    Re: File System connector adds a forward slash '/' between my path and my file name

    Hey @rwittels 

     

    The first thing to check would be -  https://powerusers.microsoft.com/t5/Building-Flows/The-credentials-for-this-connection-do-not-have-access-to-please/td-p/1260697

     

    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!

     

    P.S. take a look at my blog here and like & subscribe to my YouTube Channel 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

Understanding Microsoft Agents - Introductory Session

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

Warren Belz – Community Spotlight

We are honored to recognize Warren Belz as our May 2025 Community…

Congratulations to the April Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,776 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,093 Most Valuable Professional

Leaderboard

Featured topics

Loading started