Study FAQ
Why does a Microsoft Foundry agent connection in Copilot Studio return 400 or 404?
Also asked as 2
- How do I connect a Foundry specialist to Copilot Studio with the required Activity endpoint?
- What do HTTP 400 and Version not found mean for a Foundry specialist connected to Copilot Studio?
Answer
For Copilot Studio's connected Foundry agent preview, use a standard-harness Copilot Studio agent and a specialist created in the new Microsoft Foundry portal with the Activity protocol enabled. Microsoft documents a runtime 400 when Activity is missing and a 404 - Version not found for agents created in the previous portal. Use a nonproduction environment to evaluate the preview.
- Confirm the Foundry project and agent identity. Newly created Foundry agents expose Responses and A2A by default. Enable Activity with the documented REST API or Python SDK procedure. The Foundry portal can continue to show only Responses and A2A after the change.
- On the main agent's Agents page, select Add an agent, choose Microsoft Foundry, and select or create the connection using the Foundry project endpoint. Supply the specialist agent ID and a name and description that tell Copilot Studio when to delegate.
- Test an in-scope request and verify the actual specialist invocation and response. Apply the 400 and 404 checks to the documented error details. Compare project endpoint and agent ID when the error differs.
Keep fallback behavior for unavailable delegation. Check the specialist connection and the final business operation's authorization as separate boundaries.
Microsoft references
Full explanation
AB-400: Integrating Foundry and Copilot Studio Agents
Study guide · AB-400
Read the full explanation