A group of Azure services, SDKs, and APIs designed to make apps more intelligent, engaging, and discoverable.
Hi Andrei Matrosau,
I ran into something very similar when trying to access the SRE agent via A2A.
The key part of the error is “challenge was not handled”. That usually means the endpoint itself is reachable, but the request is being rejected during authentication. Hitting /.well-known/agent.json directly in a browser (or without auth headers) will consistently return that error because the SRE agent endpoint expects an authenticated call.
A couple of things that helped clarify this:
- The SRE agent does expose an agent card, but it isn’t publicly accessible.
- Requests to
/.well-known/agent.jsonmust include a valid Authorization header (for example, a Bearer token from Entra ID), otherwise the auth middleware rejects the request. - If the agent is fronted by API Management, a subscription key may also be required in addition to the auth token.
Once I sent the request with the proper token, the unauthorized error went away, and the agent card / JSON‑RPC metadata became accessible.
So, the behavior seems expected rather than an A2A limitation the agent is there, but protected by auth, which makes it look “undocumented” unless the request is made correctly.