Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Power Automate - Using Flows
Answered

Flow Credentials

(0) ShareShare
ReportReport
Posted on by

Hello,

 

I'm trying to learn flow by performing a simple task of taking the body of a specific e-mail and create a text file on my desktop from the contents.

 

Flow summary:

 

When an e-mail arrives with "UPS Shipment" for a subject

HTML to Text: Take the body and turn it into text

Create file:

     Folder path: C:\Users\brunstingn\Desktop

     File name: Manual Tracking.txt

     File Content: the plain text of the e-mail

 

The first two work, but it errors on the file creation. I believe I have everything set up correctly, but it keeps failing with an error message saying that "The credientials for this connection do not have access to 'C:\Users\brunstingn\Desktop/Manual Tracking.txt', please try using a different location or account..."

 

I have the latest on-premises data gateway installed. However, when I mangage it in PowerApps, the username and password field don't seem to stay populated. I fill them out, click save, but if I reopen it, they are blank again.

 

I did run the "Test-NetConnection -ComputerName watchdog.servicebus.windows.net -Port 9350" on powershell and got a true response, so my guesses are either I'm using the "Create File" module wrong, I have the gateway set up incorrectly, or there's something wrong with gateway that it's not retaining my credientials.

 

Any help will be much appreciated.

-Nic

  • Community Power Platform Member Profile Picture
    on at
    Re: Flow Credentials

    Thank you for your response Alice.  I added the DOMAIN to the username and the flow was successful!

     

    Thanks for your assistance,

    Nic

  • Verified answer
    v-yuazh-msft Profile Picture
    on at
    Re: Flow Credentials

    Hi @ nbrunsting,

     

    Could you please share a screenshot of the configuration of your flow?

    The error told that the credentials for the connection do not have access to your folder.

    Could you please check whether the connection you have selected is the right one.

    Further, if the Username, Password, gateway in your connection is wrong, an error could occur as you. Could you please check the Username, Password, gateway in your connection.

     

    You could refer to screenshots below to create the connection:

    1.png

    Make sure the Username is  configured to “DOMAIN\Username” and the Password is correct.

    In addition, make sure the gateway you choose should be an already installed gateway in your computer.

     

    There is a post with the same issue with you, you could refer to link below to see if you problem could be solved:

    https://powerusers.microsoft.com/t5/Connecting-To-Data/Problem-connecting-to-File-System-in-Flow/m-p/84581#M2565

     

     

    Regards,
    Alice Zhang

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!

Markus Franz – Community Spotlight

We are honored to recognize Markus Franz as our April 2025 Community…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
WarrenBelz Profile Picture

WarrenBelz 146,708 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,030 Most Valuable Professional

Leaderboard

Featured topics

Restore a deleted flow