Configuring CoPilot Studio integration for agent invocation

GenAI agents support direct invocation from Microsoft Copilot Studio by using the Agent‑to‑Agent (A2A) protocol. When the A2A feature toggle is enabled, Copilot Studio connects to the GenAI chatsvc A2A endpoint and invokes any agent that is configured for the tenant.

  1. Create an IONAPI-authorized app for the Copilot Studio web app and download the credentials.
  2. In Copilot Studio, create a new agent, and then add a new A2A agent on the Agents tab.
  3. Specify the IONAPI credentials, and then specify this chatsvc A2A URL in the A2A agent configuration field: https://{host}/{TENANT_ID}/GENAI/chatsvc/api/v1/a2a/invoke.
  4. Add the redirect URL from the Copilot Studio A2A agent to the IONAPI-authorized app.
  5. Create an OAuth connection in the Copilot Studio test panel to complete the setup.
    Note: When the A2A feature toggle is disabled, requests to the A2A endpoint return a 403 error.