Automate table storage backups using Azure Function

Photo of author

Dan Rios

4 min read

5 thoughts on “Automate table storage backups using Azure Function”

  1. i get an error saying TLS version of the connection is not supported by the storage account. Can you please help with how to circumvent this.

    Reply
    • Hi Sneha.

      In the storage account, under Settings – Configuration there is a minimum TLS version that is set. There is also a minimum TLS version set on the function app located under Settings – Configuration – General settings. May be review these and re-try the connectivity.

      Reply
  2. both function app and storage account are at minimum tls of 1.2. i googled and found out that azcopy 7.3 was built using .NET 4.5 and uses tls 1 by default .Setting TLS using
    $TLS12Protocol = [System.Net.SecurityProtocolType] ‘Tls12’
    [System.Net.ServicePointManager]::SecurityProtocol = $TLS12Protocol

    did not help

    Instead what was needed was to create and upload to function app an Azcopy.exe.config with following setting :

    and the error went away 🙂

    Reply

Leave a comment


Skip to content