Skip to main content

Notifications

Community site session details

Community site session details

Session Id : jylvLppTsaKxe0Jd2oCzon
Power Automate - Using Connectors
Unanswered

BadRequest 400 saving outlook attachment to file server

Like (0) ShareShare
ReportReport
Posted on 9 May 2018 18:05:39 by 11

Hi,

I have an O365 outlook account, using MS Flow to save email attachments to OneDrive and to SharePoint successfully.  I cannot get MS Flow to save the email attachment to a shared file server on our internal network.  I am getting the dread 'BadRequest' 400 error. In the Create File step, it says 'Key 'gateway' not found in connection profile', source "filesystem-eus2.azconn-eus2.p.azurewebsites.net"

 

Do I have to have a gateway installed?  I do not understand why the authentication to the hosted MS applications (OneDrive and SharePoint) works without issue, but I cannot get it to my file server.  Please help.  

 

Dread400.jpg

  • TheresePawlicki Profile Picture
    11 on 15 May 2018 at 16:21:17
    Re: BadRequest 400 saving outlook attachment to file server

    Hi Kris,

     

    Here is a screenshot of the configuration.  I have reached to our local IT to request a gateway.  It looks like I am missing that piece. Thanks for your help.  Once I get this working, I will come back.

     

    create file.jpg

  • v-xida-msft Profile Picture
    on 14 May 2018 at 05:38:56
    Re: BadRequest 400 saving outlook attachment to file server

    Hi @TheresePawlicki,

     

    Could you please share a screenshot of your flow's configuration?

    How do you create a connection to the File System connector within your flow?

     

    The error message told that the On-premises data gateway could not be found within the connection to the File System connector on your side.

     

    If you want to connect to File Systems on your local or network machines to read from and write to files within Microsoft Flow, you must use the On-premises Data Gateway. In addition, not just the File System connector, if you want to connect to other local servers (e.g. Local SQL Server, Local SharePoint site, etc.) within your flow, you should also use the On-premises Data Gateway to create a connection to these local server.

     

    I have created a connection to the File System connector using the On-premises Data Gateway within my flow and the screenshot as below:12.JPG

     

    I have made a test on my side and please take a try with the following workaround:13.JPGThe flow works successfully as below:14.JPG

     

     

     

    Please take a try to install a On-Premises Data Gateway on your side based on the following article:

    On-premises Data Gateway for Microsoft Flow

     

    More details about the File System connector, please check the following article:

    File System connector

     

     

    Best regards,

    Kris

     

     

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,745 Most Valuable Professional

#2
RandyHayes Profile Picture

RandyHayes 76,287 Super User 2024 Season 1

#3
Pstork1 Profile Picture

Pstork1 66,091 Most Valuable Professional

Leaderboard

Featured topics

Loading started
Loading complete