Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save jackawatts/5a7185c94cc4e85ef9384a35f6ac8f90 to your computer and use it in GitHub Desktop.
Save jackawatts/5a7185c94cc4e85ef9384a35f6ac8f90 to your computer and use it in GitHub Desktop.
Downloading data from Azure Table Storage

The current version of AzCopy no longer supports copying data from Azure Table Storage.

With that in mind, we are left using an earlier version developed using the .NET Framework which introduces a different set of problems.

Instructions follow:

  1. Download and install AzCopy 7.3
  2. Navigate to the relevant install directory eg. C:\Program Files (x86)\Microsoft SDKs\Azure\AzCopy
  3. AzCopy 7.3 does not support the latest TLS version OOTB and will fail without enabling it. To do so, copy the following with the filename: AzCopy.exe.config into the install directory
<?xml version="1.0" encoding="utf-8"?>
<configuration>
<runtime>
<AppContextSwitchOverrides value="Switch.System.Net.DontEnableSystemDefaultTlsVersions=false"/>
</runtime>
</configuration>
  1. Get an access key or SAS token from the portal
  2. run a command similar to: azcopy /Source:"https://<storage_account_name>.table.core.windows.net/<table_name>" /Dest:"c:\temp" /SourceSAS:<sastoken_here>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment