Skip to main content

Implementing Correlation ID for API Management requests

· 4 min read

When working with Azure API Management, you may want to enable traceability and correlation of requests across different services. This is where the Correlation ID comes in.

Similar to traceparent, the Correlation ID is a unique identifier passed along with the request and response headers. It allows you to track a request's flow as it moves through different services and systems.

In this article, we will explore how to generate a new correlation ID through API Management Inbound policies and pass it back to the Client through an outbound policy, which then is used to help troubleshoot specific calls with Application Insights.

Features and Benefits of Azure API Management

· 52 min read

Today, we are going to look at Azure API Management. Azure API Management is a service that creates consistent and modern API gateways for existing back-end services. It also publishes APIs to external, partner, and internal developers. Azure API Management is a fully managed service that enables customers to publish, secure, transform, maintain, and monitor APIs.