BCApps icon indicating copy to clipboard operation
BCApps copied to clipboard

[Bug]: Fabric mirroring continues exporting to the old workspace/database after changing destination

Open onbuyuka opened this issue 2 weeks ago • 0 comments

Describe the issue

Business Central Fabric mirroring is reported to continue exporting to the original Fabric workspace and mirrored database after a different destination is selected in BC.

Source inspection identifies inconsistent handling of destination changes across the setup page, setup wizard, and setup API. The AL destination-edit handlers save the new IDs without explicitly resetting or recreating the existing export connection.

The reported routing behavior has not been reproduced. The application lifecycle gap is a suspected cause, not a confirmed platform root cause.

Expected behavior

Changing the destination of an existing connection should either initiate a supported, safe reconfiguration flow or be blocked with clear instructions until the existing connection has been reset. The setup page, wizard, and API should enforce the same lifecycle requirements.

After a successful switch, the configured destination and actual export destination should agree. If a reset is required, that requirement should be explained before the new destination is saved.

Steps to reproduce

Candidate reproduction to validate in a test environment:

  1. Configure mirroring to workspace A / mirrored database A, select a company and table, and verify that synchronization works.
  2. Choose Stop synchronization, not Reset, and wait for the export to stop. Check whether Export Enabled is false while Setup Complete remains true.
  3. Ensure the export principal has the required access to workspace B, then select workspace B / mirrored database B on Microsoft Fabric Mirroring Setup.
  4. Inspect Setup Complete and whether Connect to Fabric is available, then choose Start synchronization.
  5. Change a test record and check whether it reaches destination B or continues arriving at destination A.

Reported behavior: exports continue reaching the previous destination. The exact original Stop/Reset/navigation sequence and affected BC version are not yet known; the sequence above has not been executed.

Additional context

Reviewed source: app version 30.0.0.0, commit 5f0236c818aac705ad3f5c72dc8f17761d0cec67.

Validation so far is source inspection only. No build, publish, runtime test, or latest-bcinsider reproduction was performed. Platform table validation and the implementation of Fabric Export Manager must still be checked to determine whether they automatically handle these destination changes.

I will provide a fix for a bug

  • [ ] I will provide a fix for a bug

This issue records the reported behavior and investigation findings; no fix has been implemented.

onbuyuka avatar Nov 16 '26 17:11 onbuyuka