Skip to main content
cancel
Showing results for 
Search instead for 
Did you mean: 

60 Days of Data Days! Live and on-demand sessions, challenges, study groups and more! And it's all FREE!. Join now. Learn more

Reply
Lukas_K
New Member

Mirroring SQL Server - New tables added via Fabric REST API cause full mirroring of all tables

Hi all,

I'm using the Microsoft Fabric REST API to manage mirrored databases. When I add new tables via the updateDefinition API call, Fabric unexpectedly enables mirroring for all available tables, not just the ones explicitly listed in my mountedTables payload.

Here’s what I do:

  • I fetch the current definition using getDefinition

  • I update the mountedTables array to include one or more additional tables

  • I send the updated definition back using updateDefinition

Even though I only include a subset of tables in mountedTables, after the API call, the Fabric UI shows that all tables are being mirrored, including ones I never selected.

This does not happen when I manually add tables via the UI — only when using the API.

Questions:

  • Is this a known issue with the REST API?

  • Is there a recommended way to add new tables to an existing mirrored DB without triggering mirroring for all tables?

Thanks in advance!

1 ACCEPTED SOLUTION
v-sdhruv
Community Support
Community Support

Hi @Lukas_K ,

This behavior—where all tables are mirrored after an updateDefinition call—is a known issue. When new tables are added via the REST API, the UI reflects mirroring for all available tables, even if only a subset was specified 

This does not happen when tables are added manually via the UI, suggesting a discrepancy between the API's behavior and the UI logic.
1.Ensure your API calls include the preview=true parameter to avoid unintended behavior due to response format changes
2.Validate whether your integration is parsing the response correctly. If it expects an array but receives a JSON object with a value property, it might misinterpret the payload.
3.Until the API behavior is stabilized, consider using the UI for adding tables to avoid triggering full mirroring.

Additionally, you might want to check out-

Troubleshoot Fabric mirrored databases

Hope this helps!

If the response has addressed your query, please accept it as a solution  so that other members can easily find it.
Thank you.

View solution in original post

4 REPLIES 4
v-sdhruv
Community Support
Community Support

Hi @Lukas_K ,

I just wanted to check in and ask if the issue you were facing has been resolved. If not, we’d be happy to assist further. If the response has addressed your query, please accept it as a solution so that other members can easily find it.

Thank you

v-sdhruv
Community Support
Community Support

Hi @Lukas_K ,

I just wanted to check in and ask if the issue you were facing has been resolved. If not, we’d be happy to assist further—please let us know how we can help.

Looking forward to your update!

Thank you

v-sdhruv
Community Support
Community Support

Hi @Lukas_K ,
Just wanted to check if you had the opportunity to review the suggestions provided?
If the response has addressed your query, please accept it as a solution so that other members can easily find it.
Thank You

v-sdhruv
Community Support
Community Support

Hi @Lukas_K ,

This behavior—where all tables are mirrored after an updateDefinition call—is a known issue. When new tables are added via the REST API, the UI reflects mirroring for all available tables, even if only a subset was specified 

This does not happen when tables are added manually via the UI, suggesting a discrepancy between the API's behavior and the UI logic.
1.Ensure your API calls include the preview=true parameter to avoid unintended behavior due to response format changes
2.Validate whether your integration is parsing the response correctly. If it expects an array but receives a JSON object with a value property, it might misinterpret the payload.
3.Until the API behavior is stabilized, consider using the UI for adding tables to avoid triggering full mirroring.

Additionally, you might want to check out-

Troubleshoot Fabric mirrored databases

Hope this helps!

If the response has addressed your query, please accept it as a solution  so that other members can easily find it.
Thank you.

Helpful resources

Announcements
FabCon and SQLCon Barcelona 2026

FabCon & SQLCon – Barcelona 2026

Join us in Barcelona for FabCon and SQLCon, the Fabric, Power BI, SQL, and AI community event. Save €200 with code FABCMTY200.

60 days of Data Days Carousel

Data Days 2026

Join Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.