Set TLS 1.2 or 1.3 as default for Azure Automation Account
Currently Azure Automation runbooks start a powershell session that has Its security protocol set to SSL3 and TLS 1.0 by default.
Since there are alot of security risks involved with using TLS 1.0 we would like to have this version set to 1.2 or even 1.3 by default.
Since Okta has disabled TLS 1.0 and 1.1 per 1st of August 2018 this is also causing errors in Azure Automation runbooks, where we specifically need to specify a later version in each runbook.
PCI DSS 3.2 also prohibits the use of TLS 1.0 after June 30, 2018.
Source: https://www.owasp.org/index.php/TransportLayerProtectionCheatSheet
