28.0.39532.0
Automatic retention policies for BRC Connect and Outgoing Diagnostics log tables, plus a new Apply All Retention Policies action for clearing an existing backlog.
Release Summary
| Feature | Description | ID |
|---|---|---|
| Retention policies for BRC Connect log tables | BRC Connect’s request/response, content, outgoing sync queue and payload blob tables, and the Process Run Log, are now registered with Business Central’s Retention Policy framework with sensible default periods, so old entries are cleaned up automatically. | 34555 |
| Apply All Retention Policies action | A new, non-promoted Apply All Retention Policies action on BRC Connect Setup runs every registered policy in one background job that works past the platform’s 10,000-rows-per-run limit, for clearing an existing backlog. | 34555 |
| Outgoing Diagnostics retention | The Outgoing Diagnostics log now has its own 14-day default policy, enabled by default, replacing the manual Delete All Log Entries action. | 34555 |
Detailed Feature Information
Retention policies for BRC Connect log tables (#34555)
BRC Connect’s log tables previously had no reliable automatic cleanup: a hand-rolled routine only removed already-finished, healthy rows, so errored, exhausted and incoming entries built up over time. This release registers the real growth sources — the request/response entries, content, outgoing sync queue and payload blob tables — with the platform’s Retention Policy framework, each with a default period suited to its data (for example, finished entries after 14 days, exhausted errors after 90 days). New policies are created disabled on upgrade; enabling a policy is a deliberate step for a consultant to take as part of an initial cleanup, not a side effect of upgrading.
Apply All Retention Policies action (#34555)
Business Central’s own retention-policy background job deletes at most 10,000 rows in total per run across every registered policy, and one large table can “starve” every other policy that run. The new Apply All Retention Policies action on BRC Connect Setup runs a dedicated background job that works through that cap safely, without the repeated confirmation dialogs of a manual run — useful the first time a backlog is cleared.
Outgoing Diagnostics retention (#34555)
The Outgoing Diagnostics log now has its own default retention policy (14 days, enabled by default since it is purely diagnostic data), replacing the previous hard-coded “Delete All Log Entries” action.
Breaking Changes
No schema or API breaking changes in this release.
Bugfixes
None in this release.