community postAdministration & Setupcommunity - not Microsoftreviewed - checked by Opus

Quick Tip: What to Check When Business Central update 29.1 Fails with KeyAddDelta

A Business Central update from 29.0 to 29.1 failed with a KeyAddDelta duplicate-key error while applying a Microsoft table extension (7244) to the Customer table. The author's cause is still unknown, but a similar community case was fixed in a sandbox with Delete Orphaned Extension Data. Suggested steps: capture the failure details from the Operations log, reproduce the error in a sandbox copy, and consult your partner before deleting data in Production.

post think about IT

Steven Renders · 2026-11-30 · 491 words · about 2 min

"KeyAddDelta tells us what Business Central was doing when it stopped. It was adding a table key."

Key points

  • KeyAddDelta means the update stopped while adding a table key. The number in the error comes from the duplicate-entry exception and is not an AL object ID.
  • In one community case, uninstalling custom extensions did not help, but removing data left by unpublished extensions with Delete Orphaned Extension Data let the update finish in a sandbox.
  • Because a standard uninstall keeps app data, check which apps used to be in the environment as well as the ones installed now.
  • From the admin center Operations log, save the full error, the operation ID, the source and target builds, and the schema version.
  • Test data deletion in a sandbox copy first, then send the details and results to your partner, who can escalate to Microsoft Support. On-premises installations are pointed to Sync-NavApp.

Quotes

  • “KeyAddDelta tells us what Business Central was doing when it stopped. It was adding a table key.” (Understanding the KeyAddDelta error helps diagnose that the system encountered a duplicate key during update schema changes)

AL objects mentioned

As named in the post. A name that matches one object page by exact type and name links to it; the others stay as named.

Not found in BC28-30: table “18”.

Heads up

  • warning: “The update completed after the poster used Delete Orphaned Extension Data to remove data left behind by unpublished extensions.” (about version 29.1)

Context

  • Features: Delete Orphaned Extension Data, Operations log, schema synchronization
  • Versions: 29.0, 29.1

Source: think about IT - Steven Renders, community blog. Summary, key points and quotes are derived (CONTENT-NOTICE.md); read the original for the full text.