I have deployed an Azure function app, While using the command Connect-AzureAD in one of the function is throwing the error "You are using TLS version 1.0, 1.1 and/or 3DES cipher which are deprecated to improve the security posture of Azure AD"
Though the function App
- has minimum tls version of 1.2
- the .NET framework is 4.8.x
- the other services like storage account etc. associated with the function app were using minimum TLS version of 1.2.
Function App details
Function runtime: Powershell
runtime version: 3.8.2.0
Any help regarding this issue would be helpful
From the Kudu console, you could check the existing SecurityProtocol:
From the documentation :
According to the documentation, you could try setting the security protocol to system default by adding this command at the beginning of your script:
Alternatively, it not working you could force using specific version: