Skip to main content

Notifications

Power Automate - Using Connectors
Answered

Problem connecting to File System in Flow

(2) ShareShare
ReportReport
Posted on by 32

Hi,

 

I've been trying to connect to a folder in the File System, but whenever I try to drill into the root folder, it gives me the below error, even though the connection shows successful from the data gateway. Can anyone help point me in the right direction? I am trying to save email attachments to a folder on a server share.

 

Flow File System Credentials.PNG

 

Data Connection via Gateway:

 

Flow File System Connection.png

 

Categories:
  • Suggested answer
    The White Horse Profile Picture
    The White Horse 2 on at
    Problem connecting to File System in Flow
    For me this was to do with the formatting of the credentials in the connection.
     
    The username needed to be pre-fixed with the on-premises domain name. The on-premises domain name of the client in question had a .local suffix i.e.
     
    ********.local
     
    So the username in the connection needed to be:
     
    ********.local\username
     
    Hope this helps,
     
    IW
  • SachinG31 Profile Picture
    SachinG31 422 on at
    Re: Problem connecting to File System in Flow

    Hello All,

     

     i tried something ,  and that worked for me finally after struggling one week.

    I have create a new gateway on my local system from where i am accessing the folder , so i believe if you are using file system connection you can only use the gateway which is installed in your local system , i don't know why this dependency is only on file system connection , but that's how it worked for me.

  • SachinG31 Profile Picture
    SachinG31 422 on at
    Re: Problem connecting to File System in Flow

    Hello @ScottR-MT , I have the same issue , i tried everything , Checking domain username, delete and creating new connection , Even i tried with Admin Account but the error is same. 

    few days back it was working fine , then i shifted my gateway from my local computer to server after that it stopped

    "The credentials for this connection do not have access to '\\prod-adfs\aos-storage\Documents', please try using a different location or account."

  • SachinG31 Profile Picture
    SachinG31 422 on at
    Re: Problem connecting to File System in Flow

    Hello @dimi  ,

    I have the same issue , i tried everything , Checking domain username, delete and creating new connection , Even i tried with Admin Account but the error is same. 

    few days back it was working fine , then i shifted my gateway from my local computer to server after that it stopped

    "The credentials for this connection do not have access to '\\prod-adfs\aos-storage\Documents', please try using a different location or account."

  • kranthi7722 Profile Picture
    kranthi7722 2 on at
    Re: Problem connecting to File System in Flow

    where can i find the username and password of my laptop

  • AC-15051515-0 Profile Picture
    AC-15051515-0 19 on at
    Re: Problem connecting to File System in Flow

    Need help please. I am Windows 10 on a Workgroup. Been trying different combinations for the Domain and username + Password all night. I login to Windows using a PIN say 123456, havent been using password to login to Win10 for a long time, I don't even remember my password but I tested my microsoft live login with the Password to login to Microsoft live account is Microsoft444.

     

    whoami output is mickeylaptop005\mickey111

     

    Your Info under Windows Setting is

    mickey111@hotmail.com

     

    What is the exact string I need for Domain and username + Password?

     

    *above are not real names, email and passwords.

  • CraigMGI Profile Picture
    CraigMGI 10 on at
    Re: Problem connecting to File System in Flow

    Thanks Scott, "Whoami" worked perfectly and my Flow connection is now successful with no other changes required.

     

    My domain was one of the options I had already tried, but my Username turned out to be "Toshiba", the brand of laptop I am using.

     

    Warning to others, no point looking at Windows 10 My Info, in my case this doesn't help at all and just says:

    My Name

    Email

    Administrator

  • ScottR-MT Profile Picture
    ScottR-MT 32 on at
    Re: Problem connecting to File System in Flow

    Try opening a command window and typing "Whoami"

     

    Also, try creating a folder under the root folder and using that folder instead, as your current permissions may not allow you to write to the root.

  • CraigMGI Profile Picture
    CraigMGI 10 on at
    Re: Problem connecting to File System in Flow

    I have tried virtually every permutation and combination that others have recommended and I still cannot get the Create File connector to work. I can create files in SharePoint easily, but not in root folder of my C: drive.

     

    I saw another post that said if you do not use Domain authentication, use WORKGROUP\Username instead. I have tried a few combinations of that and it doesn't work either.

     

    Is there a simple way to lookup and verify the DOMAIN\Username and Password being using by my laptop, because I can only think it must be something unexpected. I have Windows 10 authentication.

  • Kamacete Profile Picture
    Kamacete 160 on at
    Re: Problem connecting to File System in Flow

    Worked

    🙂

    thank you

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

November 2024 Newsletter…

November 2024 Community Newsletter…

Community Update Oct 28…

Power Platform Community Update…

Tuesday Tip #9 Get Recognized…

Welcome to a brand new series, Tuesday Tips…

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 143,867

#2
RandyHayes Profile Picture

RandyHayes 76,308

#3
Pstork1 Profile Picture

Pstork1 64,174

Leaderboard

Featured topics