#10308 Uptake agent archiving in Sales Order Agent (AB#644549)
The Sales Order Agent app now supports agent archiving, a soft delete capability that marks deactivated agents as read-only while preserving their data. Archived agents no longer consume instance slots, their identities and mailboxes can be reused by administrators, and the setup experience becomes read-only for archived agents.
- 9files
- 9AL files
- 9objects
Pull request · merged into main (BC30) on 2026-08-19 by qasimikram · 9 files (+359 -36), 9 AL · feature · tier official · reviewed (checked by Opus)
What changed
- Archived agents no longer count toward the 20-agent instance limit, freeing slots
- Archived agent identities and mailboxes can be deliberately reused by administrators but are not auto-suggested
- Setup pages become read-only for archived agents with explanatory notifications
- Scheduled tasks are canceled when agents are deactivated to prevent orphaned execution
- Upgrade processes skip archived agents to avoid repeated failures on write operations
- Behaviour changes for users or extensions.
AL objects touched
- Codeunit 4586 “SOA Dispatcher”, SalesOrderAgent: modified
- Codeunit 4587 “SOA Impl”, SalesOrderAgent: modified
- Codeunit 4584 “SOA Recovery”, SalesOrderAgent: modified
- Codeunit 4589 “SOA Upgrade”, SalesOrderAgent: modified
- Page 4402 “SOA KPI”, SalesOrderAgent: modified
- Codeunit 4323 “SOA Awareness Notifications”, SalesOrderAgent: modified
- Codeunit 4401 “SOA Metadata Provider”, SalesOrderAgent: modified
- Codeunit 4400 “SOA Setup”, SalesOrderAgent: modified
- Page 4400 “SOA Setup”, SalesOrderAgent: modified
Context
- Work items: AB#644549
- Labels: AL: Apps (W1)
- Systems: development
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).