Designing APIs and Application Integration: API Management, Logic Apps, Front Door and Backend for Frontend
Integration Services Map
| Service | Role |
|---|---|
| API Management | Gateway, security, throttling, versioning, developer portal |
| Logic Apps | Low-code workflows and SaaS connectors |
| Functions | Custom code and small APIs |
| Service Bus / Event Grid / Event Hubs | Messaging and events |
| Data Factory / Fabric pipelines | Data movement and ETL |
| Front Door / Application Gateway | Web entry and WAF |
API Management Design
- One gateway hides many backends and gives one URL, one security model and one set of limits
- Policies: validate-jwt, rate-limit, quota, cache, ip-filter, rewrite, set-header, retry
- Products and subscriptions group APIs and control access for partners
- Versioning: path (
/v1/), header or query string. Revisions for non-breaking changes - Developer portal for onboarding
- Self-hosted gateway to put the gateway on-premises or in other clouds
| Tier idea | Use |
|---|---|
| Consumption | Serverless, pay per call, light workloads |
| Developer | Non-production |
| Basic / Standard (v2) | Production, scale units |
| Premium | Multi-region, zones, VNet injection, self-hosted gateways |
Tiers change Tier names, features and limits change (for example v2 tiers). Check the current comparison before choosing.
Securing APIs
- Clients authenticate with OAuth 2.0 tokens from Entra ID
- APIM validates the JWT and checks scopes or roles
- APIM calls backends with managed identity or a client certificate
- Backends accept traffic only from APIM (private network, IP or token)
- WAF and DDoS protection sit in front
Logic Apps, Functions or Data Factory?
| Need | Choose |
|---|---|
| Connect SaaS and Microsoft 365 quickly, approvals, email | Logic Apps |
| Custom algorithm or a small HTTP API | Functions |
| Copy and transform large data sets on a schedule | Data Factory |
| Long, durable code workflows | Durable Functions |
| B2B EDI, AS2, X12 | Logic Apps Standard with integration account |
Gateway Patterns
| Pattern | Idea |
|---|---|
| API gateway / offloading | Common work such as auth and throttling in the gateway, not in each service |
| Backend for frontend | Separate API per client type (mobile, web) tuned to its needs |
| Anti-corruption layer | Translate between a legacy system and new services |
| Strangler fig | Route features to new services gradually until the old app can be retired |
Scenario
A bank exposes account APIs to partners. Design: Front Door + WAF to APIM Premium (zones, VNet), JWT validation, per-partner products with quotas, backends on AKS in private subnets, Logic Apps for onboarding approvals and Event Grid for webhooks.
Practice
- Choose an API versioning method and defend it
- List five APIM policies for a public API
- Use the strangler fig pattern in a legacy migration plan
Conclusion
Use API Management as the front door for APIs, secure with Entra tokens and private backends, use Logic Apps for low-code flows and Functions for code, and apply gateway patterns for clean evolution.
Quick Summary: services; APIM; security; tool choice; patterns; scenario.

