Getting TlsVersionNotPermitted error when SSIS package executing from ADF

Vikas 21 Reputation points
2020-11-12T18:01:00.723+00:00

Hi,
I have created one SSIS package which is reading data from Storage account and putting that into Azure DB. This is working perfectly well when executing from Visual Studio. But when I am triggering it after deployment in ADF, getting below error.
ForEachLoopContainer: Error: Com error object information is available. Source: "Microsoft.DataTransfer.ClientLibrary" error code: 0x80131500 Description: "ADLS Gen2 operation failed operation returned an invalid status code "Bad request".
ErrorCode: "TlsVersionNotPermitted"
message: TLS version of this connection is not permitted on this storage account.
I can see that Storage account has TLS version 1.2
Can someone please help.

Azure Data Lake Storage
Azure Data Lake Storage
An Azure service that provides an enterprise-wide hyper-scale repository for big data analytic workloads and is integrated with Azure Blob Storage.
1,351 questions
Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
2,717 questions
Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
9,614 questions
0 comments No comments
{count} votes

Accepted answer
  1. MartinJaffer-MSFT 26,031 Reputation points
    2020-11-13T01:29:23.147+00:00

    Hello @Vikas and welcome to Microsoft Q&A.

    I understand this would be very frusterating. There are a few possible causes. Can you tell me if you are using a self-hosted integration runtime to get to a Storage account inside a vnet?

    If not, there are a couple options. You could try lowering the Storage account TLS version, or you could try enabling stronger TLS on the SSIS Integration Runtime (instructions for configuring here). Add to your main.cmd:

    reg add HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319 /v SchUseStrongCrypto /t REG_DWORD /d 1 /reg:64  
    reg add HKLM\SOFTWARE\Microsoft\.NETFramework\v4.0.30319 /v SchUseStrongCrypto /t REG_DWORD /d 1 /reg:32  
    

0 additional answers

Sort by: Most helpful