I’ve just updated the script that allows you to connect to the Microsoft 365 Security and Compliance center using MFA. You’ll find that script in my GitHub Office 365 repository here:
https://github.com/directorcia/Office365/blob/master/o365-connect-mfa-sac.ps1
This update will now use the Exchange Online Powershell V2 module process detailed here:
Connect to Security & Compliance Center PowerShell
This means that you’ll need to have the Exchange Online Powershell V2 module already installed on your machine for this script to complete successfully. If the Exchange Online Powershell V2 module is not found on the machine when the connection script is run, the script will terminate with an error.