A common architecture places API Management between application clients and backends hosted on Azure Functions, App Service, or Azure Kubernetes Service. Microsoft Entra ID authenticates callers, while gateway policies validate token audiences and claims before routing requests. Backend access uses a separate trust relationship, such as managed identity, and backend network restrictions prevent callers from bypassing gateway enforcement.
For public APIs, Azure Front Door can provide edge routing and web application firewall inspection ahead of the gateway. Private API architectures instead require deliberate inbound gateway access, outbound connectivity to private backends, and working private DNS. Choose these options against the selected tier rather than assuming that outbound virtual network integration also isolates inbound traffic.
Key Vault stores supported secrets and certificates, while Azure Monitor and Application Insights provide complementary operational visibility. Correlate requests across the gateway and backend, and avoid recording credentials or sensitive payloads unnecessarily. For Azure OpenAI workloads, apply supported token controls and usage telemetry at the gateway, but manage model quotas, backend resilience, and model consumption charges separately. Across these patterns, deploy configuration through source-controlled pipelines and test identity, networking, and failure paths together.
Azure Functions
Import HTTP-triggered functions and expose them through stable API routes with shared policies. For example, publish an order-processing function through an API that validates tokens and limits calls per consumer. Secure the function endpoint as well, because gateway policies do not protect clients that can bypass the gateway.
Azure Kubernetes Service (AKS)
Route gateway requests to services exposed through an AKS ingress or another reachable backend endpoint. For example, map customer and inventory API paths to separate Kubernetes services while applying a common authentication policy. For private clusters and internal ingress, use a supported network configuration and verify private DNS resolution.
Azure Key Vault
Reference supported Key Vault secrets from named values and retrieve supported certificates using the API Management managed identity. For example, keep a backend API credential in Key Vault instead of embedding it in policy XML. Grant only the required secret permissions and account for refresh behavior when planning credential rotation.
Azure Monitor
Send gateway resource logs to a Log Analytics workspace and use Azure Monitor metrics, alerts, and dashboards for operations. For example, alert on increasing gateway failures and query logs to distinguish policy rejections from backend errors. Set retention and payload logging rules to control cost and protect sensitive data.
Azure Front Door
Place Azure Front Door in front of a compatible API Management deployment for edge routing and web application firewall inspection. For example, route a public API hostname to regional gateways and evaluate regional gateway health at the edge. Restrict direct origin access using supported network controls and validated edge identifiers so callers cannot bypass the intended path.
Azure OpenAI in Foundry Models
Expose Azure OpenAI endpoints through API Management to apply supported authentication, token usage controls, and telemetry policies. For example, identify internal applications using validated token claims and allocate token usage limits to each application. Gateway scaling does not increase model deployment quota, so plan backend capacity and retry behavior independently.
App Service
API Management can import an API hosted in an App Service web app and publish it through its gateway. The gateway can enforce authentication, rate limits, and request validation without moving the API's business logic out of the web app.
Azure Advisor
API Management instances receive resource-specific recommendations from Azure Advisor. For example, Advisor can flag an eligible Premium instance that does not use availability zones and recommend enabling zone redundancy.
Azure Application Gateway
API Management can use Application Gateway as the public entry point for a gateway deployed in an internal virtual network. Application Gateway can expose selected APIs while leaving other APIs reachable only from the private network.
Azure Arc
API Management can deploy its self-hosted gateway as an extension on an Azure Arc-enabled Kubernetes cluster. The gateway handles API traffic close to the backend while API definitions and policies remain managed in Azure.
Azure Blob Storage
API Management can write a supported instance backup to a blob container and restore an instance from that backup. It can also archive gateway resource logs to Blob Storage through diagnostic settings.
Azure Cache for Redis
API Management can use Azure Cache for Redis as an external cache for its gateway policies. For example, it can serve repeated requests from cached responses instead of calling the backend each time.
Azure Container Apps
API Management can import an HTTP API hosted in Azure Container Apps and publish it through its gateway. This lets the container app serve the backend while API Management handles client-facing access and throttling policies.
Azure Container Instances
API Management can run its self-hosted gateway in Azure Container Instances without requiring a Kubernetes cluster. The container processes API requests using the configuration of its associated API Management instance.
Azure Cosmos DB
API Management can use Azure Cosmos DB as a direct data source for synthetic GraphQL resolvers. A resolver can read or modify items in a container without an intermediary application.
Azure DDoS Protection
API Management can use Azure DDoS Protection to protect eligible public IP addresses associated with a virtual network deployment. This adds network-layer mitigation upstream of the gateway's API policies.
Azure DevOps
API Management can use Azure Pipelines for APIOps workflows that keep API definitions and policies in source control. A publishing pipeline can apply reviewed changes to development and production API Management instances.
Azure DNS
API Management can use Azure DNS to resolve custom gateway and developer portal hostnames. An Azure Private DNS zone can also resolve the gateway hostname to a private endpoint address for clients in linked virtual networks.
Azure Firewall
A virtual-network-injected API Management instance can route outbound traffic through Azure Firewall. Firewall rules can restrict backend access while allowing the service dependencies required by API Management.
Azure Load Balancer
Classic API Management instances injected into a virtual network rely on Azure infrastructure load balancer probes to check service health. An internal deployment exposes the gateway through a private virtual IP, and its subnet rules must permit the required probe traffic.
Azure Managed Redis
API Management can use Azure Managed Redis as an external gateway cache. Cache policies can reuse stored responses or policy values across requests to reduce backend calls.
Azure Policy
API Management supports built-in Azure Policy definitions that audit or enforce settings on instances and APIs. For example, a policy can audit HTTPS requirements or deploy missing diagnostic settings.
Azure portal
API Management provides dedicated Azure portal screens to import APIs, edit gateway policies, and manage products and subscriptions. Its built-in test console can send a request to a selected API operation and display the response.
Azure Private Link
API Management can expose its managed gateway through an inbound private endpoint. Clients can reach the gateway over a private IP address, and public network access can be disabled on supported configurations.
Azure Resource Manager
API Management exposes its instances, APIs, backends, products, and policies as Azure Resource Manager resource types. Resource Manager deployments can create an instance and apply the same API configuration consistently across environments.
Azure role-based access control (Azure RBAC)
API Management uses Azure RBAC to control who can administer an instance or its resources. Built-in roles can grant read-only or service administration access independently of the credentials clients use to invoke APIs.
Azure Service Fabric
API Management can configure a Service Fabric cluster as a native backend. Its gateway can resolve service instances and partitions, select replicas, and re-resolve a service when its address changes.
Azure SQL Database
API Management can use an Azure SQL database as a data source for a synthetic GraphQL resolver. The resolver can execute a database query for a field without forwarding the operation to a separate GraphQL application.
Azure Traffic Manager
In supported multi-region deployments with publicly reachable gateways, API Management uses Azure Traffic Manager to route requests to a healthy regional gateway based on latency. Traffic can shift to another region if a regional gateway becomes unavailable.
Azure Virtual Network
API Management supports virtual network injection or outbound virtual network integration, depending on the tier. These options can make the gateway reachable privately or let it call backends that have no public endpoint.
Azure Web Application Firewall
API Management can receive traffic through a Web Application Firewall on Application Gateway or Front Door. The firewall inspects incoming requests before API Management applies API-specific controls such as token validation and rate limits.
Content Safety in Foundry Control Plane
API Management can use its `llm-content-safety` policy to check model inputs and completions against configured safety thresholds. The gateway can block content that violates those thresholds before forwarding a prompt or returning a completion.
Event Grid
API Management publishes lifecycle events for resources such as APIs, products, users, and subscriptions to Event Grid. An event subscription can trigger a workflow when a new API subscription is created.
Event Hubs
API Management can stream resource logs to Event Hubs through diagnostic settings. A gateway policy can also use an Event Hubs logger to emit custom events with selected request details.
Foundry Agent Service
API Management can serve as a bring-your-own AI gateway for supported Foundry Agent Service model connections. This lets an agent use an approved inference endpoint while the gateway applies centralized access and usage policies.
Foundry Models
API Management can publish supported Foundry Models inference endpoints behind a governed API. The gateway can authenticate callers, manage backend credentials, and enforce per-consumer token limits.
Logic Apps
API Management can import operations from an eligible HTTP-triggered logic app and publish them as an API. A workflow such as order submission can then use the gateway's authentication and throttling policies without implementing them in the workflow.
Microsoft Defender for Cloud
API Management APIs can be onboarded to the Defender for APIs plan in Microsoft Defender for Cloud. The plan assesses API security posture, analyzes runtime traffic, and raises alerts about suspicious activity.
Microsoft Entra External ID
API Management can use the external tenant's OpenID Connect configuration to validate access tokens issued by Microsoft Entra External ID. A gateway policy can require the intended audience and a specific scope before forwarding a customer request.
Microsoft Entra ID (formerly Azure AD)
API Management can use Microsoft Entra ID to sign developers into the developer portal and validate access tokens at the gateway. It can also use a managed identity to obtain tokens for backends that accept Microsoft Entra authentication.
Microsoft Entra ID B2C
API Management supports Microsoft Entra ID B2C as a developer portal identity provider. Gateway policies can also validate API access tokens against the OpenID Connect configuration for the appropriate B2C user flow or custom policy.
Microsoft Fabric
API Management can front Microsoft Fabric's API for GraphQL and authenticate to it with a managed identity. It can apply client-facing rate limits and caching policies without changing the Fabric API.
Microsoft Foundry
API Management can import supported model deployments from Microsoft Foundry and expose them through a managed AI gateway. This gives applications a governed endpoint with centralized authentication, usage controls, and monitoring.
Microsoft Sentinel
API Management gateway logs can feed the API Management data connector in Microsoft Sentinel through a Log Analytics workspace. Sentinel can then use those logs to investigate unusual API traffic alongside other security events.
Service Bus
API Management can use a gateway policy to send a message directly to a Service Bus queue or topic. For example, an API operation can accept a request and enqueue it for asynchronous processing without a separate HTTP backend.
Static Web Apps
API Management can be linked as the backend of a Standard-plan static web app. Requests to the site's `/api` route are then forwarded to API Management, where gateway policies and routing apply.