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

View all the Fabric Data Days sessions on demand. View schedule

Reply
Anonymous
Not applicable

Nondescript error when copying data from on prem SQL to Fabric LH using ADF Connector

Trying to copy data from on-prem SQLServer to Fabric LH via ADF SHIR Lakehouse Linked Service Connection...

 

Source table has 5 rows and uses varchar(1024), datetime, and bigint datatypes. There is a nonclustered PK defined and a unique clustered index (on the source). 

 

I've copied 148 other tables from the same source and to the same destination without issue. 

 

The error in ADF:

Getting an error when copying SqlServer to Fabric LH...

'Type=System.InvalidOperationException,Message=Initial commit requires metadata,Source=Microsoft.DataTransfer.Richfile.DeltaFormatPlugin,'

 

Any guidance or anything to look out for that could be causing this error?

 

Appreciate your time.

1 ACCEPTED SOLUTION
Anonymous
Not applicable

I figured it out! My source query was incorrectly adding the same column twice when copying from on prem to Fabric LH in Azure Data Factory.

 

So this error was just saying "invalid schema" 

View solution in original post

3 REPLIES 3
Anonymous
Not applicable

I figured it out! My source query was incorrectly adding the same column twice when copying from on prem to Fabric LH in Azure Data Factory.

 

So this error was just saying "invalid schema" 

Anonymous
Not applicable

Tried changing the Unique Cluster Index to Nonclustered and still getting this error.

Anonymous
Not applicable

Hi @Anonymous ,

Thanks for using Fabric Community.
Can you please help me understand which data factory are you using? Is it Azure Data Factory or Fabric Data Factory?

Helpful resources

Announcements
November Fabric Update Carousel

Fabric Monthly Update - November 2025

Check out the November 2025 Fabric update to learn about new features.

Fabric Data Days Carousel

Fabric Data Days

Advance your Data & AI career with 50 days of live learning, contests, hands-on challenges, study groups & certifications and more!

FabCon Atlanta 2026 carousel

FabCon Atlanta 2026

Join us at FabCon Atlanta, March 16-20, for the ultimate Fabric, Power BI, AI and SQL community-led event. Save $200 with code FABCOMM.