web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / File System Connector ...
Power Automate
Unanswered

File System Connector problem when generating the file output path, it puts a slash (/) before the file name instead of a backslash (\)

(1) ShareShare
ReportReport
Posted on by 2

File System Connector problem when generating the file output path, it puts a slash (/) before the file name instead of a backslash (\)

Categories:
I have the same question (0)
  • Michael E. Gernaey Profile Picture
    52,984 Super User 2025 Season 2 on at

    Hi @emi1974 

     

    Please put pictures etc, so we can also see what is going on with the flow.


    If I have helped you, I would really appreciate if you please Mark my answer as Resolved/Answered, and give it a thumbs up, so it can help others

    Cheers

    Thank You
    Michael Gernaey MCT | MCSE | MCP | Self-Contractor| Ex-Microsoft
    https://gernaeysoftware.com
    LinkedIn: https://www.linkedin.com/in/michaelgernaey

  • emi1974 Profile Picture
    2 on at

    @FLMike 
    I attach a file with the error.
    The gateway has access to the path, the problem is that when the file path is created it introduces a slash "/" instead of a backslash "\" like the rest of the path. There is no way to do a replace by code since the option does not appear

  • Suggested answer
    OS-08100510-0 Profile Picture
    2 on at

    Hi,

    I have been facing the same issue (forward slash being added between the path and filename when using "File System" actions) intermittently over the last 2-3 years.

    I’ve also come across many posts about similar problems.

    The most common solution I’ve seen involves the user applied to the connector. The user must be specified with the domain in the format: domain\user.
    However, if you can browse folders using your connector within a File System action, this part is likely configured correctly?. But worth to check out.

    Here are my recent findings:

    Example from yesterday:

    Below are snippets from a flow run history:

    File System - Create File:
    Snippet from inputs:
    "parameters":{"folderPath":"\\\\srv\\Data\\...............\\Orders\\254103","name":"FW Indkøbsordre nr. 123456 - HASTER.eml"}

    Snippet from output:
    "The requested action could not be completed. Check your request parameters to make sure the path '\\\\srv\\Data\\.....................\\Orders\\254103/FW Indkøbsordre nr. 123456 - HASTER.eml'"

    So, the parameters are fine; sometimes it works, and sometimes it doesn't.

    What I discovered is this:

    The problem disappears if I disable all members of the on-premise data gateway, except the "main".
    (I have a cluster of three gateways).

    I’m not sure whether the issue lies in the cluster setup or differences between the gateways.
    All gateways are on the same version and use the same service user, but they are installed on different server versions (Windows Server 2016 / 2022).

    For now, I’ve stopped investigating, as I found that the option "Run on all gateways in the cluster" can be disabled within the Power Automate UI. - and this resolved the problem (for now :-))

     

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Automate

#1
Michael E. Gernaey Profile Picture

Michael E. Gernaey 462 Super User 2025 Season 2

#2
Tomac Profile Picture

Tomac 456 Moderator

#3
abm abm Profile Picture

abm abm 243 Most Valuable Professional

Last 30 days Overall leaderboard