Access on-premises file-share from Azure functions ?

MS Techie 2,681 Reputation points
2020-11-30T12:23:45.077+00:00

We have a hub-and-spoke network connectivity from Azure Network to on-premises via Express Route

From Azure functions , how to access

  1. On-premises File-Share
  2. On-Premises SQL Server

What options do we have ?

Please help

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,300 questions
Azure Virtual Network
Azure Virtual Network
An Azure networking service that is used to provision private networks and optionally to connect to on-premises datacenters.
2,159 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
6,910 questions
{count} votes

Accepted answer
  1. ChaitanyaNaykodi-MSFT 23,031 Reputation points Microsoft Employee
    2020-12-02T03:49:24.82+00:00

    Hello @MS Techie , Thank you for reaching out, apologies for the delay.
    Depending on the plan utilized you can have different networking options available as mentioned here in the documentation. Below are some options which I can think of that you can use based on your requirements.

    On-premises File-Share

    On-Premises SQL Server:

    • As you have the Express Route connectivity you can use Regional VNET integration for outbound access from your Function App and use Private Endpoint/ Service Endpoint for inbound access. Please go through this documentation for additional details.
    • As mentioned above you can use Azure Logic App to connect to your on-premises SQL Server using on-premises data gateway and perform actions/triggers according to your requirements.

    Please let me know if there any other concerns I will be glad to continue with our discussion. Thank you!

    1 person found this answer helpful.
    0 comments No comments

1 additional answer

Sort by: Most helpful
  1. Brian Hallkvist 11 Reputation points
    2021-11-01T19:36:10.617+00:00

    Is there any news on this one? We’re willing to run Azure Functions in any flavor (Windows, Linux, isolated, containerized etc.) to be able to connect to an on-premises file share.

    0 comments No comments