Formerly known as Azure AI Services or Azure Cognitive Services is a unified collection of prebuilt AI capabilities within the Microsoft Foundry platform
A couple of things I would check first:
- Remove the x-api-key, having both that and Ocp-Apim-Subscription-Key can cause issues since APIM only needs the subscription key.
- Also, add a CORS policy to your APIM MCP server without it Foundry's requests can get blocked silently because they're coming from a different domain.
- APIM → APIs → your MCP server → Policies and add a basic inbound CORS policy allowing all origins. You can tighten it down to specific origins once it's working.
The block below can be added to alow Foundry's specific domain