Can a single Azure Function be deployed to multiple API Management instances?

hawthorne91 240 Reputation points
2025-01-23T18:57:31.6066667+00:00

Currently I have a standard tier API Management instance in use for my external customers to access my APIs. Now that external users are accessing my API Management instance, I wanted to create a separate API Management instance at the developer tier to test out my APIs before pushing them out. So rather than creating two separate Azure Functions for the individual API Management instances, I'd rather just have one Azure Function deployed to both instances. I was wondering, is it possible to have one Azure Function deployed to different API Management instances?

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,282 questions
Azure Functions
Azure Functions
An Azure service that provides an event-driven serverless compute platform.
5,389 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Pinaki Ghatak 5,580 Reputation points Microsoft Employee
    2025-01-27T10:02:57.4733333+00:00

    Hello @hawthorne91

    Yes, it is possible to deploy a single Azure Function to multiple API Management instances. You can import the same Azure Function into multiple API Management instances by following the same steps you used to import it into the first instance.

    When you import the Azure Function into the second API Management instance, you will need to create a new API in that instance and select the Azure Function as the backend.

    You can then configure the policies and settings for the API in the second instance independently of the first instance.

    Keep in mind that if you make changes to the Azure Function, those changes will be reflected in both API Management instances.

    So, if you need to make changes that only apply to one instance, you will need to create a separate copy of the Azure Function for that instance.

    I hope this helps.


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.