Forum Discussion
CAT_AndyP
Aug 19, 2019Copper Contributor
TLS 1.2 Only Exchange Online PowerShell MFA module
I recently encountered a locked down environment and realized that I could not use the Exchange Online PowerShell module (with MFA) in the environment because TLS 1.0 was blocked as a client protocol...
- Aug 20, 2019
Answering my own question 🙂 I needed to update my PowerShell session to require TLS 1.2 and was good to go.
# Check Protocol Settings in PS Session
[System.Net.ServicePointManager]::SecurityProtocol# Update to require TLS 1.2
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;
CAT_AndyP
Aug 20, 2019Copper Contributor
Answering my own question 🙂 I needed to update my PowerShell session to require TLS 1.2 and was good to go.
# Check Protocol Settings in PS Session
[System.Net.ServicePointManager]::SecurityProtocol
# Update to require TLS 1.2
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;