[Bug]: Fabric mirroring continues exporting to the old workspace/database after changing destination
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:
- Configure mirroring to workspace A / mirrored database A, select a company and table, and verify that synchronization works.
- Choose Stop synchronization, not Reset, and wait for the export to stop. Check whether
Export Enabledis false whileSetup Completeremains true. - Ensure the export principal has the required access to workspace B, then select workspace B / mirrored database B on Microsoft Fabric Mirroring Setup.
- Inspect
Setup Completeand whether Connect to Fabric is available, then choose Start synchronization. - 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.
- Setup page destination handlers check
Export Enabledand save the selected IDs, but do not explicitly invalidateSetup Completeor invoke connection reconfiguration. - Setup page action state disables Connect to Fabric while
Setup Completeis true. - Start synchronization calls the platform's
StartFabricExport(), rather than the separateEnableFabricExport()setup operation. - Wizard destination handlers do not have the setup page's
Export Enabledguard. - Setup API destination fields expose the IDs for editing without an equivalent explicit lifecycle guard.
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.