Agents built on different platforms and clouds can hand work to each other over the open A2A protocol and still be governed from one place. We proved it with three agents on Copilot Studio, Microsoft Foundry and AWS Bedrock AgentCore, all registered, observed and controllable in Microsoft Agent 365.
Most enterprises won’t build every agent on one platform. HR teams build in Copilot Studio, engineering builds in Foundry, and some workloads already live in AWS. Two questions follow: can these agents cooperate without custom glue, and can IT still see and stop every one of them? This proof of concept answers both, with working code and real identities rather than slides.
The scenario: onboarding a new hire
A hiring manager types one sentence in Teams, and three agents on three platforms finish the job between them.
“Onboard Jane Doe as a data engineer starting Monday. She needs read access to the analytics AWS account.”
- HR agent (Copilot Studio) understands the request and hands the IT part to the IT agent.
- IT agent (Microsoft Foundry) works out the access the role needs and asks the AWS agent for cloud access.
- Cloud Access agent (AWS Bedrock AgentCore) grants the AWS account access and returns a request ID, for example CAR-E498F6ED.
The manager gets one answer back in chat. In the proof of concept the AWS step is mocked: it returns a realistic grant without changing anything in AWS.
Architecture

Architecture · 3 agents, 2 A2A hops, 1 control plane
Work flows left to right over A2A; governance flows down to Agent 365, which sees all three agents, including the one running in AWS.
How the agents find and talk to each other
A2A (Agent2Agent) gives every agent the same two things: a self-description called an agent card, and a standard way to send it a task.
- Agent card: a JSON document the agent publishes about itself: its name, skills, the A2A versions and transports it speaks, and which security scheme callers must use. The AWS agent’s card tells callers to send a Microsoft Entra bearer token.
- Messages and tasks: callers send a JSON-RPC message (message/send in A2A 0.3, SendMessage in 1.0) and get back a task with a status and text artifacts.
Each platform plays its part with built-in features:
Platform | As A2A caller | As A2A server |
|---|---|---|
Copilot Studio | Agent2Agent connection on a Standard agent (sends A2A 0.3) | Not used here |
Microsoft Foundry | A2A tool on a prompt agent (A2A 1.0) | Incoming A2A on the agent (preview), cards at /agentCard/v1.0 and v0.3 |
AWS AgentCore Runtime | Not used here | Hosts any A2A server; passes JSON-RPC through and serves the agent card |
The interesting part is that no platform needed to know anything about the others beyond a URL and a token.
Security model: an identity on every hop
Every A2A call carries a Microsoft Entra access token, and each receiving side checks both who is calling and whether that caller is allowed, including on the AWS side.
Hop | Caller signs in as | Authentication | Authorization |
|---|---|---|---|
HR agent → IT agent | The chatting user (OAuth 2.0, delegated) | Foundry validates the Entra token for https://ai.azure.com | User holds the Foundry Agent Consumer role; the IT agent's identity is enabled |
IT agent → AWS agent | The IT agent's own Entra agent identity | AgentCore's custom JWT authorizer checks signature, v2.0 issuer and audience | Only the IT agent: a claim rule requires azp = its agent identity; any other valid token gets 401 |
Two choices make this model work. Giving the IT agent its own identity, instead of a shared project identity, means it can be governed and blocked on its own. And trusting Entra directly in AWS means no secrets cross clouds: AgentCore validates Entra-signed tokens against Entra’s published keys.
Governance with Agent 365
All three agents appeared in the Agent 365 registry without manual registration, and an admin could stop one of them within seconds.
- Registry: Copilot Studio agents appear on creation, published Foundry agents sync automatically, and AWS AgentCore agents arrive through a connected platform that syncs daily.
- Observability: Agent 365 shows activity per agent; for AWS agents it reads CloudWatch through the connected platform (public preview, GA rolling out late November 2026).
- Control: disabling the IT agent’s Entra identity made Foundry refuse to run it within seconds, with nothing reaching AWS. Re-enabling took about 8 to 10 minutes to take effect.
For a customer, this is the headline: one inventory and one off switch across Microsoft and AWS agents.
Prerequisites
Plan for licenses, roles in four systems (Entra ID, Azure, Power Platform, AWS), network access and a few tools before starting; each one is a separate request to a different admin.
Licenses and tenant settings
Requirement | Why |
|---|---|
At least one Microsoft 365 Copilot license, plus Frontier program enrollment | Required to turn on Agent 365 |
Agent 365 enabled and its terms accepted in the Microsoft 365 admin center | Starts registry sync and data collection |
Copilot Studio licenses or trial for makers, and Copilot Credits capacity in the environment | Building and running the HR agent |
Microsoft Entra ID P1 (P2 for risk-based policies) | Conditional Access for agent identities (optional; disabling an identity needs no extra license) |
Azure subscription with a Foundry project and a model deployment with quota (POC: gpt-4.1-mini, eastus2) | Hosts the IT agent |
AWS account with Bedrock AgentCore in the target region (POC: us-east-1) | Hosts the Cloud Access agent; AWS charges for runtime, CloudWatch and tracing |
Roles (RBAC)
The Agent 365, Entra agent and Foundry role names were checked against Microsoft documentation on November 10, 2026; confirm the Power Platform and AWS entries with those admins; Foundry roles were recently renamed from “Azure AI” to “Foundry”. Agent ID Administrator and AI Administrator are privileged roles: assign them only for the setup and demo window.
System | Role | Scope | Needed for |
|---|---|---|---|
Microsoft 365 | Global Administrator | Tenant | Enabling Agent 365 and accepting its terms (one time) |
Microsoft 365 | AI Administrator | Tenant | Managing agents and connected platforms in the admin center (expanded in March 2026 to cover the agent lifecycle and tenant-wide consent) |
Microsoft 365 | AI Reader | Tenant | Least-privilege, read-only view of the Agent 365 registry, usage and health, for presenters and reviewers |
Entra ID | Application Administrator or Cloud Application Administrator | Tenant | Creating the three app registrations and client secrets; admin consent for the delegated Azure Machine Learning Services permission |
Entra ID | Agent ID Administrator (minimum) | Tenant | Disabling and re-enabling agent identities for the block demo |
Entra ID | Conditional Access Administrator | Tenant | Optional: Conditional Access policies for agent identities |
Entra ID | Reports Reader or Security Reader | Tenant | Optional: showing agent sign-in logs in the demo |
Azure | Foundry User | Foundry project | Builder: creating agents, enabling incoming A2A |
Azure | Contributor or Foundry Owner | Foundry account | Builder: creating project connections |
Azure | Owner or User Access Administrator | Foundry project | Assigning Foundry Agent Consumer to demo users |
Azure | Foundry Agent Consumer | Foundry project or the IT agent | Every person who chats with the HR agent, because Copilot Studio calls Foundry as that user |
Power Platform | Environment Maker (or System Administrator) | Copilot Studio environment | Creating the Standard HR agent and its A2A connection |
Power Platform | Data policy that allows the A2A connection | Environment | A2A connections use the custom connector infrastructure, so a DLP policy blocking custom connectors stops them |
AWS | Deployer IAM role or user (not root) | Account | ECR repository and push, IAM role creation and iam:PassRole, AgentCore create and update, CloudWatch Logs read, enabling Transaction Search |
AWS | AgentCore execution role | Runtime | Assumed by AgentCore: ECR pull, CloudWatch Logs, X-Ray, workload identity |
AWS | Read-only IAM principal for Agent 365 | Account | Discovering AgentCore agents and querying CloudWatch for activity |
Sources: Disable agent identities, MC1245636: AI Admin RBAC updates, MC1296473: AI Reader role for Agent 365.
Accounts, network and tools
- Demo users: test accounts with the Foundry Agent Consumer role, access to the Copilot Studio agent, and no personal data in prompts.
- Network: Foundry must reach bedrock-agentcore.
.amazonaws.com over HTTPS; a corporate TLS-inspecting proxy can block package installs inside Docker builds. - Data residency approval: agent activity flows from the Foundry region and the AWS region into Agent 365, which stores data in the Entra tenant’s geography.
- Workstation: Python 3.13, Docker Desktop with buildx (ARM64 builds), Azure CLI, AWS CLI v2; on Windows, keep the project path short.
- Azure CLI access to Microsoft Graph: some tenants block it through Conditional Access; plan to do Entra app steps in the portal.
What we learned building it
The A2A protocol itself caused no problems; every blocker sat at the seams between products: headers, URLs, token formats and portal navigation.
- Gateways strip headers. AgentCore forwards only allow-listed headers, so the A2A-Version header never reached the agent and A2A 1.0 calls failed. The agent now infers the version from the JSON-RPC method name.
- URLs get rewritten. Foundry unescaped the URL-encoded runtime ARN in AgentCore’s address and got 404. Addressing the runtime by ID with an accountId query fixed it, along with a trailing slash and a relative agent card path.
- Token versions matter. Entra issues v1 tokens by default, which fail a v2.0 issuer check. Setting the API app to v2 tokens fixed it; allowedClients never matches Entra tokens, so restrict callers by azp instead.
- Text only, for now. Foundry’s A2A tool rejects non-text artifact parts, so the AWS agent returns text by default.
- Pick the right agent type. The A2A option exists only on Copilot Studio Standard agents, and its OAuth settings must be set to Manual to accept a client ID and secret.
- Blocking is instant; recovery is not. Disabling an agent identity stopped the agent within seconds, but re-enabling took about 8 to 10 minutes to take effect.
None of these needed product changes; all are handled in configuration or a few lines of agent code.
Limitations and next steps
The proof of concept shows the pattern works; production needs real actions, finer-grained authorization and GA versions of the preview pieces.
- Real AWS actions: replace the mock with IAM Identity Center calls, which needs an execution role with sso-admin and identitystore permissions plus approval workflows.
- Per-user authorization end to end: today AWS knows only that the IT agent called, not which person asked. On-behalf-of flows, or passing user context the AWS agent can verify, would close that gap.
- Finer-grained rights: move from a one-agent allow-list to Entra app roles and checks per skill.
- Preview dependencies: Foundry incoming A2A, Agent 365 observability for AWS agents and Conditional Access for agent identities are in preview; track their GA dates.
- Production hosting: private networking (VPC and PrivateLink on AWS), secrets in a vault, a non-root AWS deployment role, and CI/CD for the agent image.
The takeaway: an open protocol plus a shared identity provider is enough for agents on different clouds to cooperate, and Agent 365 makes that cooperation governable. Budget production effort for identity, networking and the seams between products, not for the protocol.
¶ Discussion
Comments are powered by Giscus / GitHub Discussions. They appear here once configured — see
Configure Giscusin the project README and updateGISCUSinsrc/consts.ts.