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
dawiej
New Member

Azure SQL Database Mirroring Primary key data type issue

I am trying to mirror some tables from an Azure SQL database into Fabric.

 

This is the defintion of the source table:

dawiej_0-1741675632175.png

 

When setting up the replication in the the 'Choose data' dialog I get the follow error for the specific table although the Id column is an int:

 

 

 

This table can't be mirrored to Fabric because the primary key column uses one of the following data types: computed types, user-defined types, geometry, geography, hierarchy ID, SQL variant, timestamp, datetime2(7), datetimeoffset(7) or time(7).

 

 

 

 

 

Please advise

3 REPLIES 3
idrismotiwala
Microsoft Employee
Microsoft Employee

@dawiej , this is a known limitation where certain datatypes used in a table as primary key cannot be mirrored. Link to public docs https://learn.microsoft.com/en-us/fabric/database/sql/mirroring-limitations#column-level

 

Also, there is a known issue where one of these data types is a unique key constraint that we plan to roll out the fix in couple of months.

 

Thanks @idrismotiwala for clearing that up. There is a unique constraint on that table that includes a datetimeoffset column.

dawiej
New Member

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 Fabric Data Days 2026: 60 days of free live/on-demand sessions, challenges, study groups, and certification opportunities.

June Fabric Update Carousel

Fabric Monthly Update - June 2026

Check out the June 2026 Fabric update to learn about new features.

Top Solution Authors
Top Kudoed Authors