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.