Azure APIM Best Practices

Siddappa, Santhosh Kumar 25 Reputation points
2025-05-28T03:09:29.8366667+00:00

I wanted to share a challenge we're facing with our public-facing application that uses APIM. As it stands, we are routing UI requests to the app, but regardless of the tier, we are limited to only 100 operations within one API routing. Given that our application has over 4,000+ operations, this presents a significant limitation.

To address this, I'm looking for the best option to eliminate the need to add operations for each routing. Your insights and suggestions would be greatly appreciated.

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
2,447 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sai Prabhu Naveen Parimi 2,265 Reputation points Microsoft External Staff Moderator
    2025-05-30T09:17:04.7233333+00:00

    @Siddappa, Santhosh Kumar

    Summary & Generalized Answer:

    You're facing a common limitation in Azure API Management (APIM), where each API is restricted to 100 operations. For applications with thousands of endpoints — especially in a public-facing, multitenant setup — this becomes a challenge.

    Here are some general best practices and workarounds:

    Wildcard Operations: Use a route like /api/{*path} and apply rewrite-uri policies to dynamically route requests. This avoids the need to define each operation individually.

    API Segmentation: Break your APIs into logical units based on functionality (e.g., Orders, Users, Billing) or tenant-specific endpoints to stay within limits and improve maintainability.

    Lightweight Policies: Keep APIM policies simple. Avoid deep conditional logic to minimize latency.

    Backend Routing Logic: Shift complex routing or multitenancy logic to the backend services instead of handling it all in APIM.

    Caching: Use APIM response caching or external solutions like Azure Front Door or Redis to reduce backend load and improve performance.

    API Versioning: Use versioned endpoints (e.g., /v1, /v2) to organize and manage APIs more effectively.

    Monitoring and Cleanup: Use Azure Monitor or APIM Analytics to identify unused operations and clean up redundant ones.

    Consider Premium Tier: The Premium tier supports higher scalability, multi-region deployment, and better performance isolation for demanding workloads.

    These strategies can help you maintain performance and scalability while working within APIM's operational limits.

    Thank you for your kind words — I’m glad the suggestions were helpful. Please do not forget to click "Accept the answer” and “Yes” wherever the information provided helps you — this can be beneficial to other community members.

    User's image


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.