#10670 Add Agent Task Log JSON export
Agent Task Log now supports JSON export of selected rows with detailed context including task information, messages, actions, and page snapshots, with access control based on agent-management permissions.
- 6files
- 5AL files
- 5objects
Pull request · merged into main (BC30) on 2026-09-11 by nikolakukrika · 6 files (+1038 -66), 5 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Added JSON export action to Agent Task Log list for selected rows
- Export includes task details, messages, related actions, page context, tools, and memorized data
- Enforces agent-management access control and redacts snapshots without Troubleshoot All Agents permission
- Refactored calculation helpers to share logic between detail page and export functionality
- Added focused JSON and context tests for export behavior
- Behaviour changes for users or extensions.
AL objects touched
- Page 4300 “Agent Task List”, System Application: modified
- Page 4312 “Agent Task Log Entry”, System Application: modified
- Page 4303 “Agent Task Log Entry List”, System Application: modified
- Codeunit 4314 “Agent Task Log Entry”, System Application: modified
- Codeunit 4313 “Agent Task Log Export”, System Application: added
Context
- Work items: AB#624671
- Labels: AL: System Application, Team: Integrations
- Systems: copilot
- From the description: “add a selected-row JSON export action to the Agent Task Log list”
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).