A fully managed platform in Microsoft Foundry for hosting, scaling, and securing AI agents built with any supported framework or model
hi Mark R. Fitzloff, thx for sharing urs issue here at Q&A portal,
u already cleared the client-side blockers, so the remaining failure is probably inside the hosted agent runtime or one of its configured tools. The useful part is the error changed from 403 and 400 to tool_server_error. That usually means auth and request shape are now good enough, but the agent hits a tool/runtime dependency and that tool path fails server-side.
Since this is a hosted agent, the fastest path is to send MS the Foundry request IDs
f3bfa6e7-c629-4c39-a04a-21f6ed42812b
200b6eaf-6a23-4187-bf31-d8dd447263b9
127dc868-19ba-4d2d-8900-c74866e46ca8
Ask them to trace which tool call failed behind tool_server_error. From the client side, that error is too generic. Could be a tool resource, connection, auth between Foundry and a dependency, bad hosted tool config, or a Foundry runtime issue in PPE. Worth testing the same agent directly in Foundry playground with a simple Ping prompt. If it fails there too, ur Container App API is not the issue. If playground works but API fails, compare identity, project endpoint, agent id/version, and request payload from the API. https://learn.microsoft.com/en-us/azure/ai-foundry/agents/overview
My bet rn not the backend app. The progression shows the request now reaches Foundry and dies inside the agent/tool execution path. Need Foundry runtime logs for those request IDs to get real root cause.
rgds,
Alex
&
If my answer was helpful pls mark it and additional thx if u follow me at Q&A portal