How can I ensure azure functions are not exposed to the web, but just to my azure web app?

Dean 1 Reputation point
2021-10-25T19:18:59.623+00:00

How can I ensure azure functions are only accessible from a specific azure web app.

Additionally, how can I ensure azure functions are not exposed to the web, but just to my azure web app.

I look forward to hearing your advice,
Thanks in advance
Dean

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
4,238 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Andriy Bilous 10,901 Reputation points MVP
    2021-10-27T11:02:28.807+00:00

    Hello @Dean

    There are multiple options to achieve your goal(All of them relates to your Function and WebApp Pricing Plan) - restrict access to Function from Internet and allow access only from WebApp.

    If you are using Azure Function Consumption plan:

    If you are using Azure Function Premium plan:

    If you are using Azure Function ACE pricing Plan:

    https://learn.microsoft.com/en-us/azure/azure-functions/functions-create-private-site-access

    0 comments No comments