Problem
When a user navigates to the SRE Agent web frontend with URL query parameters (e.g., .../views/thread/{id}?bugId=12345), the query parameters are stripped by the frontend and never reach the agent's thread_context. The agent cannot read or act on URL-embedded context.
Current Behavior
- User navigates to:
https://sre.azure.com/.../views/thread/{id}?bugId=12345&action=triage
- The browser address bar shows the full URL with query params
- The SRE Agent frontend sends only the canonical URL to the backend — query params are not forwarded
- The agent's
thread_context receives: https://sre.azure.com/.../views/thread/{id} (no params)
- Confirmed by testing (May 2026)
Proposed Solution
The SRE Agent web UI frontend should read window.location.search and include all query parameters in the context payload sent to the agent backend. Options:
- Append to
thread_context — include the full URL with query params in the existing thread_context field
- New
url_params field — add a dedicated field in the context payload for structured query parameters (key-value pairs)
- Both — full URL in
thread_context + parsed params in url_params for easy programmatic access
This is a small frontend change — the data is already in window.location.search, it just needs to be passed through.
Use Case
One-Click Workflow Trigger from External Surfaces
Teams cards, dashboards, or emails can link directly to an SRE Agent thread with embedded context:
https://sre.azure.com/.../views/thread/{id}?bugId=12345
When the user clicks the link:
- The agent reads the
bugId param from thread_context on the first message
- Auto-starts the relevant triage workflow
- The user sees the investigation begin immediately — zero typing required
Without URL param forwarding, the user must manually type the ID after landing on the thread, breaking the one-click experience.
Other Deep-Link Patterns
?resourceId=/subscriptions/.../providers/... — pre-scope the agent to a specific Azure resource
?incident=INC001234 — auto-start incident investigation
?action=health-check — trigger a specific workflow on thread open
?message=Check%20CPU%20on%20prod-app — pre-fill the first message
Impact
- High — enables true one-click automation from external surfaces (Teams cards, dashboards, emails, work items)
- Small frontend change with large workflow value
- Foundation for event-driven agent invocation from any URL-capable surface
Environment
- Azure SRE Agent (GA)
- SRE Agent web frontend at sre.azure.com
- Tested and confirmed: params are stripped by the frontend (May 2026)
Problem
When a user navigates to the SRE Agent web frontend with URL query parameters (e.g.,
.../views/thread/{id}?bugId=12345), the query parameters are stripped by the frontend and never reach the agent'sthread_context. The agent cannot read or act on URL-embedded context.Current Behavior
https://sre.azure.com/.../views/thread/{id}?bugId=12345&action=triagethread_contextreceives:https://sre.azure.com/.../views/thread/{id}(no params)Proposed Solution
The SRE Agent web UI frontend should read
window.location.searchand include all query parameters in the context payload sent to the agent backend. Options:thread_context— include the full URL with query params in the existingthread_contextfieldurl_paramsfield — add a dedicated field in the context payload for structured query parameters (key-value pairs)thread_context+ parsed params inurl_paramsfor easy programmatic accessThis is a small frontend change — the data is already in
window.location.search, it just needs to be passed through.Use Case
One-Click Workflow Trigger from External Surfaces
Teams cards, dashboards, or emails can link directly to an SRE Agent thread with embedded context:
When the user clicks the link:
bugIdparam fromthread_contexton the first messageWithout URL param forwarding, the user must manually type the ID after landing on the thread, breaking the one-click experience.
Other Deep-Link Patterns
?resourceId=/subscriptions/.../providers/...— pre-scope the agent to a specific Azure resource?incident=INC001234— auto-start incident investigation?action=health-check— trigger a specific workflow on thread open?message=Check%20CPU%20on%20prod-app— pre-fill the first messageImpact
Environment