How do I create an A2A connection in my (new) Foundry project

Andrew McGregor 30 Reputation points
2026-01-09T06:19:00.7633333+00:00
  1. Trying to enable A2A in Foundry to support multi-agent architectures however this document does not describe how to create the "A2A Connection" or how to determine A2A_PROJECT_CONNECTION_ID There is an environment variable A2A_PROJECT_CONNECTION_ID required which I can't work out. When you click on the link below - it takes you the page you are already on "An A2A connection configured in your Foundry project. For REST API connection setup details, see Create the remote A2A Foundry connection."
  2. Is there any documentation on how to configure Copilot studio to connect to Foundry agents using the A2A protocol?
Azure OpenAI in Foundry Models

2 answers

Sort by: Most helpful
  1. Manas R Mohanty 17,270 Reputation points Moderator
    2026-01-12T06:46:01.5966667+00:00

    Hi Andrew McGregor

    Got clarity on the above matters. Here is the complete answer

    Getting A2A_PROJECT_CONNECTION_ID for external agents

    We need to register the external agents through tools/connect a tool/custom/Agent2Agent in new foundry UI.

    User's image

    User's image

    Once registered in tools section, we can copy the connection id and other details for using in native AI foundry Agent.

    A2A Agent in AI foundry

    Creating an A2A Agent in Azure AI foundry

    https://github.com/a2aproject/a2a-samples/blob/main/samples/python/agents/azureaifoundry_sdk/azurefoundryagent/README.md

    Note: It asks to configure AI gateway register a custom agent

    Deploying A2A Agent in Copilot studio

    Post which you should be able to connect that Azure Native Foundry Agent in Copilot studio.

    https://learn.microsoft.com/en-us/microsoft-copilot-studio/add-agent-foundry-agent%22https://learn.microsoft.com/en-us/microsoft-copilot-studio/add-agent-foundry-agent%22

    Hope it provided the needed clarity now.

    Reported the broken document link issue on this text "For REST API connection setup details, see Create the remote A2A Foundry connection." via internal channel for tracking.

    Thank you for your inputs.

    Was this answer helpful?

    0 comments No comments

  2. Anonymous
    2026-01-09T06:32:28.31+00:00

    Was this answer helpful?

    0 comments No comments

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.