A2A managed endpoint returns empty/404 while runtime endpoint works
@azaslonov is already working on this.
Since Jul 7, 2026.
- #139 by @copilot-swe-agent — closed without merging
Assessment
This issue has not been assessed yet.
Description
Summary
The APIM-managed A2A endpoint path (/ks/a2a-managed) appears non-functional in our current configuration, while the policy-backed runtime path (/ks/a2a-weather) works reliably.
Environment
- Repo:
Azure/apiops-cli - APIM target service:
bvt-7i6mlsfka5aec-tgt-apim - API:
src-a2a-weather-agent(typea2a) - API version:
2025-09-01-preview
Current Config (deployed)
src-a2a-weather-agent on target shows:
properties.path = ks/a2a-manageda2aProperties.agentCardBackendUrl = https://bvt-7i6mlsfka5aec-tgt-apim.azure-api.net/ks/a2a-weather/.well-known/agent-card.jsonjsonRpcProperties.backendUrl = https://bvt-7i6mlsfka5aec-tgt-apim.azure-api.netjsonRpcProperties.path = /ks/a2a-weather
Operation resources also exist on the managed API:
GET /.well-known/agent-card.jsonPOST /
with policy present forget-agent-card.
Repro
- Publish extracted artifacts with
bvt-target.overrides.yaml. - Call managed URL:
GET https://bvt-7i6mlsfka5aec-tgt-apim.azure-api.net/ks/a2a-managed/.well-known/agent-card.jsonPOST https://bvt-7i6mlsfka5aec-tgt-apim.azure-api.net/ks/a2a-managedwith valid JSON-RPC body.
- Call runtime URL:
GET https://bvt-7i6mlsfka5aec-tgt-apim.azure-api.net/ks/a2a-weather/.well-known/agent.jsonPOST https://bvt-7i6mlsfka5aec-tgt-apim.azure-api.net/ks/a2a-weather
Actual
- Managed endpoint:
GET /ks/a2a-managed/.well-known/agent-card.json=>200with empty bodyPOST /ks/a2a-managed=>404 Resource not found
- Runtime endpoint:
- Returns valid agent card and JSON-RPC responses.
Expected
Managed endpoint should be fully usable for discovery + invocation:
- Non-empty agent-card JSON on managed card route
- JSON-RPC request should route and return valid task response on managed root
Impact
- APIM UI suggests using managed A2A URL, but runtime behavior requires using
/ks/a2a-weather. - Causes confusion for Foundry/tool onboarding and demo instructions.
Notes / Potential Direction
A robust architecture likely requires a2a-managed pointing to an external runtime backend (App Service/Function/Container App) rather than APIM self-referencing paths, to avoid internal routing/preview gaps.
- Dominant language
- TypeScript
- Stars
- 29
- Forks
- 10
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 22
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from Azure/apiops-cli
-
type:question
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
Azure/apiops-cli#277 ·
-
type:documentation
Difficulty 1/5 Under an hour Newbie friendliness 94/100
Azure/apiops-cli#250 ·
-
Documentation P2
Difficulty 2/5 1-3 hours Newbie friendliness 70/100
Azure/apiops-cli#24 · 1 comment ·
-
type:bug
Difficulty 4/5 3-5 days Newbie friendliness 55/100
Azure/apiops-cli#291 ·
-
type:bug
Difficulty 3/5 1-2 days Newbie friendliness 58/100
Azure/apiops-cli#276 ·
All issues in Azure/apiops-cli
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
copse-dev/agent-pane#2953 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Eynzof/Hermes-CN-Desktop#610 ·
-
bug clawsweeper:linked-pr-open clawsweeper:needs-live-repro clawsweeper:no-new-fix-pr impact:message-loss issue-rating: 🐚 platinum hermit P2 regression
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
enhancement
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
calcite-components needs triage refactor
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
Esri/calcite-design-system#15203 ·