Azure Data Factory Excel Connector - Unable to read xls file

Huang, Jack 11 Reputation points
2020-10-01T12:09:27.65+00:00

Hi,

Currently, I am facing an issue of reading data from .xls files using ADF's excel connector.
The .xls files are stored in Azure Data Lake Gen 2.
The error message which I get is "xxxxx.xls is not supported in current data store, please convert it into '.xlsx' format or use other data store (for example, azure blob or ADLS GEN2). I am confused as the storage unit I am using is definitely ADLS Gen 2.

Activity ID : 954cfd35-6a5d-4010-ba85-e44b5177fa0f

Cheers,

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
10,599 questions
{count} vote

4 answers

Sort by: Most helpful
  1. HarithaMaddi-MSFT 10,136 Reputation points
    2020-10-16T08:49:15.303+00:00

    Hi @Huang, Jack ,

    Thanks for your patience. Product team confirmed that the bug is fixed now. I tested it and I am able to preview data now as below. Please check and let us know if same can be validated at your end.

    32941-image.png

    Looking forward for your response!

    1 person found this answer helpful.

  2. Lucas Batalha 6 Reputation points
    2021-08-09T21:45:39.82+00:00

    Hello,

    I came across the exact same issue, and I'm sure I'm using ADLS Gen2.

    "Error code 21358

    Details
    The excel file 'Sistema_CAL_Vale_Relatório_Mensal_MA_NOR_2021_Junho.xls' is not supported in current data store, please convert it into '.xlsx' format or use other data store (for example, azure blob or ADLS GEN2). Activity ID: 473d1516-1eff-4fb5-8f9b-8ec30070497d"

    Is it possible this bug is still happening in other regions?

    Regards

    1 person found this answer helpful.
    0 comments No comments

  3. Princy Jaiswal 1 Reputation point
    2021-10-29T09:53:24.513+00:00

    @HarithaMaddi-MSFT

    getting the same error using http connector and adls2 as sink:

    Failure happened on 'Sink' side.
    ErrorCode=ExcelInvalidContent,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=The excel file 'prices.xls' is not supported in current data store, please convert it into '.xlsx' format or use other data store (for example, azure blob or ADLS GEN2).,Source=Microsoft.DataTransfer.ClientLibrary,'

    When i tried using binary dataset then getting successfully completed and html code of the URL is getting downloaded.

    Could you please help me resolve this issue.

    0 comments No comments

  4. Reddy, Vishwanath 1 Reputation point
    2022-02-08T13:01:22.45+00:00

    Hi All,

    .xls is not supporting in ADF, however in Preview it is showing data, when I run the ADF it is throwing an error like

    ErrorCode=ExcelInvalidHeader,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Invalid excel header with empty value.,Source=Microsoft.DataTransfer.ClientLibrary,'

    But the same I can convert it into .xlsx then it will work.

    but I need to load data from .xls using ADF

    Thank you
    Vishwanath


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.