code change · fixCopilot & Agentsofficial - Microsoftreviewed - checked by Opus

#10431 [Agent Archiving] Fix broken reference links to archived agents and their tasks

Reference links to archived agents and their tasks now open the Agent Card and Agent Task Log Entries respectively instead of failing or showing unrelated agents, while non-archived agents follow the same navigation paths as before.

Pull request · merged into main (BC30) on 2026-08-24 by krupybalu · 7 files (+131 -14), 6 AL · fix · tier official · reviewed (checked by Opus)

What changed

  • Links to an archived agent now open the Agent Card, and links to an archived agent’s task open the Agent Task Log Entries
  • Fixes links that reported not found or opened an unrelated agent’s task list
  • Internal helpers Agent Impl.ShowAgent and Agent Task Impl.ShowTask choose the target page from the agent substate
  • Inbound E-Documents and PA Purchase Invoice List inline the same check using API that already ships; no new public API
  • Non-archived agents still open the task pane as before; tests added for the archived routing
  • Behaviour changes for users or extensions.

AL objects touched

Context

  • Work items: AB#620767
  • Labels: AL: Apps (W1), AL: System Application, Ownership: Needs Review, Team: Other
  • Systems: copilot, development, integration
  • From the description: “Reference links to an archived agent or to an archived agent’s task are broken.”

Source: metadata of a merged pull request in microsoft/BCApps (bcapps): title, labels, changed paths and counts, with a summary in our words. No source text and no description beyond one short quote (D10, D61).