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

Did you hear? There's a new SQL AI Developer certification (DP-800). Start preparing now and be one of the first to get certified. Register now

Reply
jozseftuska
Regular Visitor

Azure SQL DB bug in identifying the primary key for table?

Hi.

 

We want to try Fabric with a mirrored MSSQL database, however we get this error for several tables: 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).

 

However it's not true, we have the Id int as the primary key.

I think it's because we have another unique constraint apart from the ID that also contains a date field. Is it a bug that the PK is being identified incorrectly or is it a limitation that we can't have unique constraint for date? (I did not find in the document).

 

Thank you in advance.

1 ACCEPTED SOLUTION
idrismotiwala
Microsoft Employee
Microsoft Employee

Hi @jozseftuska, we can confirm that this is a bug and in your scenario the table should NOT  be blocked for Mirroring as you have a supported data type as a PK with a UK constraint of Date field. We'll work to have this bug resolved soon. Thanks for bringing this to our attention!

View solution in original post

3 REPLIES 3
dawiej
New Member

This is still an issue and preventing us from fully evaluating Fabric.

 

@idrismotiwala any update on when the fix will be released?

idrismotiwala
Microsoft Employee
Microsoft Employee

Hi @jozseftuska, we can confirm that this is a bug and in your scenario the table should NOT  be blocked for Mirroring as you have a supported data type as a PK with a UK constraint of Date field. We'll work to have this bug resolved soon. Thanks for bringing this to our attention!

lbendlin
Super User
Super User

sure sounds like a design oversight.  If you have a Pro license you can open a Pro ticket at https://admin.powerplatform.microsoft.com/newsupportticket/powerbi
Otherwise you can raise an issue at https://community.fabric.microsoft.com/t5/Issues/idb-p/Issues .

Helpful resources

Announcements
April Fabric Update Carousel

Fabric Monthly Update - April 2026

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

Fabric SQL PBI Data Days

Data Days 2026 coming soon!

Sign up to receive a private message when registration opens and key events begin.

New to Fabric survey Carousel

New to Fabric Survey

If you have recently started exploring Fabric, we'd love to hear how it's going. Your feedback can help with product improvements.

Top Solution Authors