Azcopy V7 : TLS version error

Jincy Mathew 26 Reputation points
2021-06-07T01:22:21.767+00:00

I am using AZcopy v7 for Table storage backup and is showing me following error while trying to connect with my azure storage account :

"[ERROR] Failed to export Azure table. Detailed error: Failed to download entities from table. The remote server returned an error: (400) Bad Request.
The TLS version of the connection is not permitted on this storage account."

TLS version enabled in my Storage account is TLS1.2.

How can I enable AZcopy v7 to use TLS v1.2 for making connections?

Azure Table Storage
Azure Table Storage
An Azure service that stores structured NoSQL data in the cloud.
156 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,714 questions
0 comments No comments
{count} votes

Accepted answer
  1. sadomovalex 3,626 Reputation points
    2021-06-08T14:18:47.277+00:00

    check suggestions from similar issue: Azure File Copy TLS1.2.


1 additional answer

Sort by: Most helpful
  1. TickooSneha-8391 17 Reputation points
    2022-09-16T05:42:46.337+00:00

    Azcopy v7 was built using .Net 4.5 which uses tls 1 by default.
    to force azcopy to run on tls1.2 , we could add an AzCopy.exe.config with following setting

    <?xml version="1.0" encoding="utf-8"?>
    <configuration>
    <runtime>
    <AppContextSwitchOverrides value="Switch.System.Net.DontEnableSystemDefaultTlsVersions=false"/>
    </runtime>
    </configuration>

    It resolved the issue for me.

    i did not have permission to edit registry settings as my azopy runs inside a function app

    3 people found this answer helpful.