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

Calling all Data Engineers! Fabric Data Engineer (Exam DP-700) live sessions are back! Starting October 16th. Sign up.

Reply
Jason_Xu
New Contributor

The issue of creating mirrored databases using APIs

Hello everyone,

When I create a corresponding mirrored database for Azure SQL Database using the API (as referenced in the article "Items - Create Mirrored Database"), the mirrored database status is shown as running, and I can correctly see the tables to be mirrored. However, the status remains "running," and no data synchronization occurs successfully.As below shows.

Jason_Xu_0-1760065770514.png

 

And when I switch to configuring the mirrored database for the same database using the UI, I can quickly observe that the data has been synchronized.

Jason_Xu_1-1760065810962.png

The above two scenarios were tested separately without simultaneously performing mirror operations on a database.

What is the reason behind this? How can Isolve it?

 

2 REPLIES 2
rubayatyasmin
Valued Contributor III

Hi, 
Could you please post the entire json payload? Ensure you have the correct fabric permission. 

if nothing works create support ticket.


Did I answer your question? Mark my post as a solution!super-user-logo

Proud to be a Super User!


Hi,

This is the code I used to create a mirror database using the API. I verified the status of the database and table, and it is valid

Jason_Xu_0-1760317128848.png

Jason_Xu_1-1760317166671.pngJason_Xu_2-1760317178988.png

 

 

Helpful resources

Announcements
Users online (10,084)