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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Automate / Key 'gateway' not foun...
Power Automate
Unanswered

Key 'gateway' not found in connection profile.

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

I'm trying to create a flow to copy a file from SPOnline to a fileserver on-premises. I have added a File Server connection to a gateway in PowerBI admin center. I used the Copy Files from SharePoint to your PC template and I'm getting the following error. What am I doing wrong?

{
"status": 400,
"message": "Key 'gateway' not found in connection profile.\r\nclientRequestId: d2ecac62-c5ca-4be0-ac72-ac0031bb0f1f",
"source": "filesystem-ncus.azconn-ncus.p.azurewebsites.net"
}
Categories:
I have the same question (0)
  • v-bacao-msft Profile Picture
    Microsoft Employee on at

    Hi @Anonymous,

     

    Have you tried creating a File system connection in Flow-connection?

    I have made a test on my side and don't have the issue that you mentioned.

    59.PNG

    I didn't add a connection in the Power BI admin center, but instead added a connection directly in Flow-Setting-Connection.

    Make sure there is a File system connection in Flow connection list, and its status need to be Connected.

    Besides, please update Gateway to the latest version, and Gateway needs to be used in the default environment.

    Please take a try and see if issue still exists.

     

    Best Regards,

    Barry

  • N27 Profile Picture
    18 on at

    Good Day 

     

    I am having this exact same issue right now

     

    please can you kindly assist to resolve?

     

     

  • romgut Profile Picture
    4 on at

    Hi everyone,

    same issue here, using a file system as a starting point. 

    Searching for a solution...

  • Paudelanil-NP Profile Picture
    10 on at

    be ensure 
    DOMAIN\USERNAME correctly mentioned in your connection

  • DexPoint Profile Picture
    191 on at

    When using the Cloud Solution and trying to save to an On-Prem server. You need to download and install the gateway and apply the gateway to an environment. which works with your firewall / security to allow files to be saved on-prem.

    https://learn.microsoft.com/en-us/power-automate/gateway-reference

    https://powerapps.microsoft.com/en-us/downloads/

    I now have it working on my side,  so we installed the gateway on the server we want to save files to. then we attached that gateway to an environment.

    Then we building the connection, make sure to select the gateway at the bottom.

    performing these steps fixed my issue which was the same error.

     

    DexPoint_0-1691589631011.png

     

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

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Users!

Kudos to our 2025 Community Spotlight Honorees

Congratulations to our 2025 community superstars!

Congratulations to the March Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
Haque Profile Picture

Haque 594

#2
Valantis Profile Picture

Valantis 328

#3
David_MA Profile Picture

David_MA 281 Super User 2026 Season 1

Last 30 days Overall leaderboard