Azure AI Foundry: Hosted-to-Hosted A2A Handshake — Task Failing with TASK_STATE_FAILED

Manivannan Sudha 0 Reputation points
2026-09-28T05:33:10.7466667+00:00

This summary doesn't reflect the diagnostic data already provided in this thread. Root cause is confirmed: Azure AI Foundry's A2A endpoint rejects every call to a kind: hosted agent target with -32099 HostedAgentNotSupported ("Use a prompt agent as the A2A target") — reproduced live with full headers/timestamps/apim-request-id, tested against both api-version=v1 and v0.3, and reproduced through both our own raw client and Microsoft's officially-documented A2AToolboxTool/remote-a2a pattern. We have a working Responses-protocol workaround in production, but still need Microsoft to confirm whether kind: hosted is meant to be a supported A2A target at all, and if not, the recommended approach going forward. Please route this to an engineer who can review the full case history rather than a re-summary.

Foundry Agent Service
Foundry Agent Service

A fully managed platform in Microsoft Foundry for hosting, scaling, and securing AI agents built with any supported framework or model


Your answer

Answers can be marked as 'Accepted' by the question author and 'Recommended' by moderators, which helps users know the answer solved the author's problem.