@KranthiPakala-MSFT and anyone else who might come looking for a workaround this issue, we got it working by providing the "Range" value after the dataset was created. We added a range say A1:G100 (in the Range field on the Connection tab) and then imported schema, it succeeded. If we remove range and try import schema again, it fails with the error that's mentioned above in this thread.
Azure Data Factory - possible bug on importing Excel file when "First Row as Header" is true
Hi Team
I'm trying to import an Excel file. When First Row as Header is false, ADF sees the file and confirms the number of columns in Import Schema, but doesn't get the column names.
When First Row as Header is true, the error message:
"Failed to load
Invalid excel header with empty value."
is returned instead. I've checked and the Range value is definitely correct - there is data in the referenced cell and a few cells to the right.
Have tried using First Row as Header in both dynamic (parameter) mode, and hard-coding (ticking the box) and have tried amending the Range to other cells in the worksheet instead, but it doesn't matter what I do- if the setting is true, the error is returned.
Please can you confirm where I'm going wrong?