ErrorCode=EncryptedExcelIsNotSupported,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Encrypted excel file

B, Ravi (Cognizant) 26 Reputation points
2022-01-09T03:45:11.87+00:00

Hi

I am getting the below error:

ErrorCode=EncryptedExcelIsNotSupported,'Type=Microsoft.DataTransfer.Common.Shared.HybridDeliveryException,Message=Encrypted excel file 'Table2.xlsx' is not supported, please remove its password.,Source=Microsoft.DataTransfer.ClientLibrary,''Type=ICSharpCode.SharpZipLib.Zip.ZipException,Message=Wrong Local header signature: 0x6769726F,Source=ICSharpCode.SharpZipLib,'

I removed protection and no encryption found in my excel but still showing same error in while loading data from adf to table.

Thanks in advance,
Ravi

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,321 questions
{count} votes

Accepted answer
  1. ShaikMaheer-MSFT 38,466 Reputation points Microsoft Employee
    2022-01-10T14:34:22.03+00:00

    Hi @B, Ravi (Cognizant) ,

    It looks your file is still encrypted and protected. At this moment ADF will not support encrypted or protected excel files out of box. We might need to depend on additional functionality, such as using Azure function apps to extract data from it Or customer code to convert encrypted excel to normal one and then copy.

    To make sure, your excel is encrypted or not could you please try to open it and see in adls and also in local?

    Below link will be helpful to work with encrypted excel files.
    * https://stackoverflow.com/questions/68775892/how-to-copy-a-password-protected-excel-file-in-azure-data-factory
    * https://learn.microsoft.com/en-us/azure/data-factory/format-excel

    Hope this will help. Please let us know if any further queries.


    Please consider hitting Accept Answer. Accepted answers helps community as well.


1 additional answer

Sort by: Most helpful
  1. B, Ravi (Cognizant) 26 Reputation points
    2022-01-21T16:38:54.053+00:00

    Hi ShaikMaheer-MSFT,

    I converted to those excels into csv and processed it. Tried with other excels also but not working. So converted into csv and done it

    1 person found this answer helpful.

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.