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

Enhance your career with this limited time 50% discount on Fabric and Power BI exams. Ends September 15. Request your voucher.

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
August Fabric Update Carousel

Fabric Monthly Update - August 2025

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

August 2025 community update carousel

Fabric Community Update - August 2025

Find out what's new and trending in the Fabric community.