Use EOL PowerShell with MFA

Import-Module -Name ExchangeOnlineManagement
Connect-ExchangeOnline -UserPrincipalName <Azure admin account UPN>

This brings up a small logon web window. Input the password and select the MFA authentication method. On success PowerShell will finishing connecting to EOL.

Leave a Reply

Discover more from killyvehy

Subscribe now to keep reading and get access to the full archive.

Continue reading