Azure API Management Skill

SkillCloud & infra

Expert knowledge for Azure API Management development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when integrating APIM with AI backends, VNet/domains, OAuth/Entra ID, self-hosted gateways, or Front Door/App Gateway, and other Azure API Management related development tasks. Not for Azure App Service (use azure-app-service), Azure Functions (use azure-functions), Azure Logic Apps (use azure-logic-apps), Azure Service Bus (use azure-service-bus).

Available today. Use it from your connected AI after setup.

Connect ahel once, and every AI you use reads what you have installed.

Then ask your AI: use the Azure API Management Skill skill

What this skill tells your AI

The instructions your AI receives, as published by microsoftdocs/agent-skills in skills/azure-api-management/SKILL.md and read by ahel’s review.

This skill provides expert guidance for Azure API Management. Covers troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. It combines local quick-reference content with remote documentation fetching capabilities.

How to Use This Skill

IMPORTANT for Agent: Use the Category Index below to locate relevant sections. For categories with line ranges (e.g., L35-L120), use read_file with the specified lines. For categories with file links (e.g., [security.md](security.md)), use read_file on the linked reference file

IMPORTANT for Agent: If metadata.generated_at is more than 3 months old, suggest the user pull the latest version from the repository. If mcp_microsoftdocs tools are not available, suggest the user install it: Installation Guide

This skill requires network access to fetch documentation content:

  • Preferred: Use mcp_microsoftdocs:microsoft_docs_fetch with query string from=learn-agent-skill. Returns Markdown.
  • Fallback: Use fetch_webpage with query string from=learn-agent-skill&accept=text/markdown. Returns Markdown.

Category Index

CategoryLinesDescription
TroubleshootingL37-L45Diagnosing and fixing API Management issues: request tracing, SNAT port exhaustion, custom domain/Key Vault cert errors, and developer portal problems using Diagnose and Solve tools.
Best PracticesL46-L54Best practices for caching, throttling, security (OWASP API Top 10), SSE setup, and running the self-hosted gateway on Kubernetes in production for Azure API Management.
Decision MakingL55-L73Guidance for planning and migrating API Management: pricing and scaling, cost control, DevOps/CI/CD, VNet choices, workspace and portal changes, and moving from legacy or other platforms.
Architecture & Design PatternsL74-L79Patterns for placing API Management behind App Gateway/WAF, Azure Front Door, or AKS, including routing, security, and high‑availability reference architectures.
Limits & QuotasL80-L100Limits, quotas, and throttling rules for APIs (REST/SOAP/WebSocket), including rate/usage caps, token limits, validation policies, and service/gateway constraints in Azure API Management.
SecurityL101-L143Securing APIs and gateways: authN/authZ (OAuth2, Entra ID, B2C, JWT, certs, managed identities), TLS/ciphers, content safety, DDoS/Defender, RBAC, and secure developer portal/self-hosted gateway.
ConfigurationL144-L242Configuring Azure API Management and AI Gateway: networking/VNet, domains, caching, policies, monitoring, backends, developer portal, self-hosted gateways, and infrastructure-as-code setup.
Integrations & Coding PatternsL243-L275Patterns and scripts for integrating API Management with AI/LLM backends, logging/monitoring, Event Hubs/Service Bus/Dapr, OAuth/Graph/GitHub, and importing/exporting APIs (OpenAPI, SAP, Web Apps, Postman, Power Platform).
DeploymentL276-L296Deploying and scaling API Management: autoscale, multi-region, backup/restore, vNet/external access, self-hosted gateways (AKS/K8s/Docker/Arc), portal automation, APIOps, and MCP versioning.

Troubleshooting

TopicURL
Trace and debug API requests in Azure API Managementhttps://learn.microsoft.com/en-us/azure/api-management/api-management-howto-api-inspector
Fix API Management custom domain failures with Key Vault certificateshttps://learn.microsoft.com/en-us/azure/api-management/api-management-troubleshoot-cannot-add-custom-domain
Developer portal FAQ and troubleshooting for API Managementhttps://learn.microsoft.com/en-us/azure/api-management/developer-portal-faq
Use Diagnose and Solve Problems for Azure API Management APIshttps://learn.microsoft.com/en-us/azure/api-management/diagnose-solve-problems
Diagnose SNAT port exhaustion in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/troubleshoot-response-timeout-and-errors

Best Practices

TopicURL
Configure response caching for APIs in Azure API Managementhttps://learn.microsoft.com/en-us/azure/api-management/api-management-howto-cache
Implement custom key-based caching in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/api-management-sample-cache-by-key
Run API Management self-hosted gateway on Kubernetes in productionhttps://learn.microsoft.com/en-us/azure/api-management/how-to-self-hosted-gateway-on-kubernetes-in-production
Configure server-sent events for Azure API Management APIshttps://learn.microsoft.com/en-us/azure/api-management/how-to-server-sent-events
Mitigate OWASP API Top 10 threats with API Managementhttps://learn.microsoft.com/en-us/azure/api-management/mitigate-owasp-api-threats

Decision Making

TopicURL
Use API Management capacity metrics to plan scalinghttps://learn.microsoft.com/en-us/azure/api-management/api-management-capacity
Compare Azure API Management pricing tiers by featureshttps://learn.microsoft.com/en-us/azure/api-management/api-management-features
Transition from built-in API Management analytics dashboard to Azure Monitorhttps://learn.microsoft.com/en-us/azure/api-management/breaking-changes/analytics-dashboard-retirement-march-2027
Migrate Azure API Management ARM API versions before retirementhttps://learn.microsoft.com/en-us/azure/api-management/breaking-changes/api-version-retirement-sep-2023
Migrate from direct management API to ARM-based API in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/breaking-changes/direct-management-api-retirement-march-2025
Move from built-in Git configuration to APIOps for API Managementhttps://learn.microsoft.com/en-us/azure/api-management/breaking-changes/git-configuration-retirement-march-2025
Migrate from legacy to new API Management developer portalhttps://learn.microsoft.com/en-us/azure/api-management/breaking-changes/legacy-portal-retirement-oct-2023
Handle breaking changes for API Management workspaces (June 2024)https://learn.microsoft.com/en-us/azure/api-management/breaking-changes/workspaces-breaking-changes-june-2024
Migrate preview API Management workspaces to GA workspaceshttps://learn.microsoft.com/en-us/azure/api-management/breaking-changes/workspaces-breaking-changes-march-2025
Plan DevOps and CI/CD pipelines for Azure API Managementhttps://learn.microsoft.com/en-us/azure/api-management/devops-api-development-templates
Migrate Amazon API Gateway workloads to Azure API Managementhttps://learn.microsoft.com/en-us/azure/api-management/migrate-amazon-api-gateway-to-api-management
Use API Management features to support API monetizationhttps://learn.microsoft.com/en-us/azure/api-management/monetization-support
Plan and manage Azure API Management costshttps://learn.microsoft.com/en-us/azure/api-management/plan-manage-costs
Upgrade and scale Azure API Management tiers and unitshttps://learn.microsoft.com/en-us/azure/api-management/upgrade-and-scale
Choose and configure virtual network options for API Managementhttps://learn.microsoft.com/en-us/azure/api-management/virtual-network-concepts

Architecture & Design Patterns

TopicURL
Use API Management with AKS microservices architectureshttps://learn.microsoft.com/en-us/azure/api-management/api-management-kubernetes
Front Azure API Management with Azure Front Doorhttps://learn.microsoft.com/en-us/azure/api-management/front-door-api-management

Limits & Quotas

TopicURL
API format support restrictions for OpenAPI, WSDL, and WADLhttps://learn.microsoft.com/en-us/azure/api-management/api-management-api-import-restrictions
Understand Azure API Management limits and behaviorshttps://learn.microsoft.com/en-us/azure/api-management/api-management-faq
Configure flexible throttling in Azure API Managementhttps://learn.microsoft.com/en-us/azure/api-management/api-management-sample-flexible-throttling
Import SOAP APIs and handle WSDL restrictions in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/import-soap-api
Limit concurrent request execution in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/limit-concurrency-policy
Enforce LLM token limits with llm-token-limit policyhttps://learn.microsoft.com/en-us/azure/api-management/llm-token-limit-policy
Configure quota-by-key policy for per-key limitshttps://learn.microsoft.com/en-us/azure/api-management/quota-by-key-policy
Configure quota policy limits in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/quota-policy
Set rate-limit policy thresholds in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/rate-limit-policy
Import and convert SOAP APIs to REST in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/restify-soap-api
Understand support policies and limitations for self-hosted gatewayhttps://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-support-policies
Understand Azure API Management service limitshttps://learn.microsoft.com/en-us/azure/api-management/service-limits
Validate request and response content with size limitshttps://learn.microsoft.com/en-us/azure/api-management/validate-content-policy
Validate response headers with validate-headers policy in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/validate-headers-policy
Validate request parameters with validate-parameters policy in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/validate-parameters-policy
Validate HTTP status codes with validate-status-code policyhttps://learn.microsoft.com/en-us/azure/api-management/validate-status-code-policy
Understand WebSocket API limits in Azure API Managementhttps://learn.microsoft.com/en-us/azure/api-management/websocket-api

Security

TopicURL
Configure governance and security for AI Gateway tierhttps://learn.microsoft.com/en-us/azure/api-management/ai-gateway-govern-secure-assets
Configure authentication and authorization for LLM APIs in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/api-management-authenticate-authorize-ai-apis
Authorize API Management developer portal with Microsoft Entra IDhttps://learn.microsoft.com/en-us/azure/api-management/api-management-howto-aad
Configure API Management developer portal with Azure AD B2Chttps://learn.microsoft.com/en-us/azure/api-management/api-management-howto-aad-b2c
Add and manage custom CA certificates in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/api-management-howto-ca-certificates
Manage API Management developer access using groupshttps://learn.microsoft.com/en-us/azure/api-management/api-management-howto-create-groups
Configure TLS protocols and cipher suites in Azure API Managementhttps://learn.microsoft.com/en-us/azure/api-management/api-management-howto-manage-protocols-ciphers
Configure mutual TLS client certificates in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates
Secure API Management front-end access with client certificate authenticationhttps://learn.microsoft.com/en-us/azure/api-management/api-management-howto-mutual-certificates-for-clients
Configure OAuth 2.0 authorization in API Management test consolehttps://learn.microsoft.com/en-us/azure/api-management/api-management-howto-oauth2
Protect APIs in API Management using OAuth 2.0 with Microsoft Entra IDhttps://learn.microsoft.com/en-us/azure/api-management/api-management-howto-protect-backend-with-aad
Configure managed identities for Azure API Managementhttps://learn.microsoft.com/en-us/azure/api-management/api-management-howto-use-managed-service-identity
Configure RBAC roles for Azure API Management accesshttps://learn.microsoft.com/en-us/azure/api-management/api-management-role-based-access-control
Configure Microsoft Entra applications for product-level OAuth accesshttps://learn.microsoft.com/en-us/azure/api-management/applications
Use authentication-basic policy to secure backend calls in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/authentication-basic-policy
Configure managed identity authentication in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/authentication-managed-identity-policy
Migrate API Management identity providers from ADAL to MSALhttps://learn.microsoft.com/en-us/azure/api-management/breaking-changes/identity-provider-adal-retirement-sep-2025
Prepare Azure API Management for TLS 1.0/1.1 retirementhttps://learn.microsoft.com/en-us/azure/api-management/breaking-changes/tls-versions-retirement-oct-2025
Configure credential providers in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/credentials-configure-common-providers
Set up basic username/password auth for API Management developer portalhttps://learn.microsoft.com/en-us/azure/api-management/developer-portal-basic-authentication
Configure CORS for API Management developer portal test consolehttps://learn.microsoft.com/en-us/azure/api-management/enable-cors-developer-portal
Use get-authorization-context policy for credential providershttps://learn.microsoft.com/en-us/azure/api-management/get-authorization-context-policy
Secure serverless APIs via API Management and Azure AD B2Chttps://learn.microsoft.com/en-us/azure/api-management/howto-protect-backend-frontend-azure-ad-b2c
Apply llm-content-safety policy in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/llm-content-safety-policy
Protect Azure API Management with DDoS Protectionhttps://learn.microsoft.com/en-us/azure/api-management/protect-with-ddos-protection
Enable Defender for APIs protection in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/protect-with-defender-for-apis
Configure secure access to Azure API Management developer portalhttps://learn.microsoft.com/en-us/azure/api-management/secure-developer-portal-access
Secure inbound and outbound access to MCP servers in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/secure-mcp-servers
Apply Azure Policy compliance controls to API Managementhttps://learn.microsoft.com/en-us/azure/api-management/security-controls-policy
Configure authentication options for self-hosted gatewayhttps://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-authentication-options
Configure access token authentication for self-hosted gatewayhttps://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-default-authentication
Configure Microsoft Entra authentication for self-hosted gatewayhttps://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-enable-azure-ad
Enable workload identity authentication for self-hosted gatewayhttps://learn.microsoft.com/en-us/azure/api-management/self-hosted-gateway-enable-workload-identity
Secure perimeter-protected backends with API Management and managed identityhttps://learn.microsoft.com/en-us/azure/api-management/using-network-security-perimeter
Validate Microsoft Entra JWTs in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/validate-azure-ad-token-policy
Enforce client certificate validation in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/validate-client-certificate-policy
Use validate-graphql-request policy in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/validate-graphql-request-policy
Configure validate-jwt policy in Azure API Managementhttps://learn.microsoft.com/en-us/azure/api-management/validate-jwt-policy
Use validate-odata-request policy in API Managementhttps://learn.microsoft.com/en-us/azure/api-management/validate-odata-request-policy

Shortened here. Read the whole file on GitHub.

Signals

GitHub stars
740
Forks
119
Last commit
Sep 2026

ahel review

  • S4info
    community integration — published by microsoftdocs, not azure

Automated review, not a security audit. Ruleset v1.

Advanced
Catalog kind
skill
Gateway key
azure-api-management
Source
github.com/microsoftdocs/agent-skills