TLS 1.2 Only Exchange Online PowerShell MFA module

Copper Contributor

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. I recreated the scenario in my environment and sure enough, as soon as TLS 1.0 was enabled in the registry it would allow me to sign in. Is this expected behavior?



1 Reply
best response confirmed by VI_Migration (Silver 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


# Update to require TLS 1.2
[System.Net.ServicePointManager]::SecurityProtocol = [System.Net.SecurityProtocolType]::Tls12;