How to expose my function app endpoint deployed to APIM which has an Azure Application Gateway in front of it.

Pavan Puligandla 125 Reputation points
2025-08-04T12:00:25.58+00:00

Hello,

I've an Azure Function app running on App Service plan deployed to Azure APIM. The architecture is like Client API ->Application Gateway -> APIM -> Function App

How can I expose my function end point deployed to an APIM to the end client to call my function and send back the response? Do I need to expose my App Gateway frontend IP (Public IP) listener endpoint to the client? can you give me detailed steps.

Thanks,

Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
{count} votes

Accepted answer
  1. Rakesh Mishra 255 Reputation points Microsoft External Staff Moderator
    2025-08-05T11:22:42.0466667+00:00

    Hi @Pavan Puligandla ,

    Welcome to the Microsoft Q&A Platform! Thank you for asking your question here.

    Yes, App Gateway public IP will be used by external Clients to consume function app APIs. Please refer Integrate API Management in an internal virtual network with Application Gateway for Application Gateway to APIM integration.

    For APIM and Function app integration, follow Import an Azure function app as an API in Azure API Management

    Please let me know if any further information is needed or issue at any particular steps.

    Architecture Reference: Protect APIs with Application Gateway and API Management

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.