I am new to Azure Data Factory(ADF), I need to access/load excel files sitting in a blob into ADF but as ADF doesn't support excel format(supports tex/csv/json/.. only) is there a way to ingest excel files into ADF? I really appreciate if anybody could help!
Thanks.
ADF does not support reading from xls file yet.
You can find solutions in this answer: How to read files with.xlsx and.xls extension in Azure data factory?
ADF V2 now supports reading data from an Excel file, Here is the link to the article.
Hope this helps!
ADF now support Excel as a data source. You can read here
You are right, Azure Data Factory does not support to read .xlsx
file, the workaround is to save your .xlsx
file as a .csv
file, I think it should work.
My .xlsx
file:
Save as .csv
file, the info will not change:
Preview Data in ADF:
Besides , if you want to just copy the .xlsx
file, no need to convert it to .csv
, you just need to choose the Binary Copy
option.
If you're familiar with SSIS, you could simply use Excel Source in your SSIS package, and then run it on SSIS Integration Runtime using Execute SSIS Package activity in ADF pipeline.
An easier solution is to use a powerautomate flow to export an excel table as a CSV and trigger the datafactory process. The only issue is that an undocumented feature on power automate is that you need to use a fixed Excel file name as passing the name as a variable fails.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.