Access on-premises file-share from Azure functions ?

MS Techie 2,601 Reputation points

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.
3,431 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.
1,653 questions
Azure App Service
Azure App Service
Azure App Service is a service used to create and deploy scalable, mission-critical web apps.
5,610 questions
{count} votes

Accepted answer
  1. ChaitanyaNaykodi-MSFT 15,806 Reputation points Microsoft Employee

    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

    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