A fully managed platform in Microsoft Foundry for hosting, scaling, and securing AI agents built with any supported framework or model
Hi @Phuong Le
Your reading of the docs matches the error. The incoming A2A article (updated in September) says incoming A2A needs the responses protocol, and that prompt agents support it and can be exposed as A2A endpoints. It doesn't list hosted agents as incoming targets. The error's own detail line says the same thing: "Use a prompt agent as the A2A target." So this looks like the service now enforcing that rule, not something your deployment broke.
To get callers working again without rewriting the hosted agent:
- Create a small prompt agent that acts as the A2A front door, with an agent card describing the same skills.
- Give that prompt agent a way to reach your hosted agent: for example, a tool that calls the hosted agent's own endpoint. It forwards the request and returns the answer.
- Enable A2A on the prompt agent (REST API or Python SDK, since the portal doesn't support it yet) and point your callers at its A2A endpoint. Use v1.0 with JSON-RPC for production, since 0.3 is preview.
- Grant your callers the Foundry Agent Consumer role on the project or that agent. A2A requires Entra ID auth, not keys.
Also use Suggest a fix on the Hosted Agents page about the conflicting A2A description, so the docs get corrected.
Do your A2A callers only send text, or do they also send files? Incoming A2A currently supports text only.
If this gets your A2A traffic flowing again, please consider accepting it as the answer. If the prompt agent route is also rejected, let me know and I'll be happy to keep helping.
Reference: