Powershell – How to connect to Exchange Online on a MFA protected tenant.

With the introduction of the security baselines from Microsoft it is necessary for you to use Modern Authentication in your PowerShell scripts/if you want to connect to Exchange Online. Connecting to Exchange Online is a pretty easy process and you can do so by following the steps below: Open Powershell and install the Exchange Online