Redirect Azure APIM Developer Portal API Calls via Front Door

Vivek Ramanavar 0 Reputation points
2024-05-31T11:09:02.0333333+00:00

Hi Team:

I have below configuration on APIM

  1. APIM is protected with Azure Front Door for DDoS and WAF - https:/frontdoor-url/my-api
  2. Prevented direct APIM Calls by adding "check-header name="X-Azure-FDID"

With this configurations, All calls via APIM Developer portal are also restricted because of above point #2 configuration.

Now the question is; How do I redirect calls from Azure APIM Developer Portal via Azure Front Door endpoint point #1, which otherwise will normally be hitting the APIM directly.

  1. Cannot use "Inbound" policies on APIM as they would become recursive in nature For example if Inbound policy says redirect to https://frontdoor-url/my-api; as this Front Door url is pointing to APIM endpoint origin; it would again hit back to it's origin group which would be pointing to APIM. And same policy evaluation goes on.

Thanks

Vivek

Azure API Management
Azure API Management
An Azure service that provides a hybrid, multi-cloud management platform for APIs.
1,901 questions
Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
622 questions
0 comments No comments
{count} votes