Azure SQL Encryption in transit, the minimum TLS Version doesn't allow me to specify TLS 1.3

Steve Taylor 20 Reputation points
2025-03-27T09:21:41.35+00:00

I'm unable to set the minimum TLS version for data in transit for an Azure SQL DB to TLS 1.3

The option isn't available in the portal or via the PowerShell CLI

Following the instructions here: https://learn.microsoft.com/en-gb/azure/azure-sql/database/connectivity-settings?view=azuresql&tabs=azure-portal#minimal-tls-version

But TLS 1.3 just isn't there in the portal for me. I'm sure I've used this before but it has vanished.

Tried on 2 different tenants, different regions and with the preview portal.

PowerShell code tried, but get and error that: 'The argument "1.3" does not belong to the set "None,1.0,1.1,1.2" specified by the ValidateSet.'

$serverParams = @{
ServerName = "sql-server-name"     
ResourceGroupName = "sql-server-group"     
SqlAdministratorPassword = (ConvertTo-SecureString "strong_password_here_password" -AsPlainText -Force)     
MinimalTlsVersion = "1.3" 
} 

Set-AzSqlServer @serverParams
Azure SQL Database
{count} votes

Accepted answer
  1. TP 124.7K Reputation points Volunteer Moderator
    2025-03-27T10:29:33.33+00:00

    Hi Steve,

    You may run below PowerShell commands in Azure Cloud Shell:

    $sql = Get-AzResource -ResourceGroupName myresourcegroup -ResourceName myazuresqlserver -ResourceType Microsoft.Sql/servers
    $sql.Properties.minimalTlsVersion = "1.3"
    $sql|Set-AzResource
    
    

    The portal won't show 1.3 but if you check via powershell or REST API it will show 1.3

    User's image

    SQLSecurityAuditEvents log screenshot after connecting from TLS 1.3 client:

    sql security audit event

    Please click Accept Answer and upvote if the above was helpful.

    Thanks.

    -TP

    1 person found this answer helpful.

0 additional answers

Sort by: Most 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.