It seems that more users are heading to enabling MFA but when it comes to managing via PowerShell, it can’t seem to login with their credential on normal PowerShell module.
When you have MFA enabled, you got to install the module that’s support MFA. Pretty extra right? haha yea I know. Administrators tends to prefer GUI to manage but on other occasion we still need PowerShell to manage our cloud services.
To search for the PowerShell module tends to be a little tricky but hey I’m here to help you.
So enough of chit chat….let’s get it on!
First of all you got to open up your Exchange Online Portal > hybrid > Select the second option; Not the first option!
Note:
*Make sure your laptop or computer has the latest .Net Framework to support this module and supported Windows Operating System.
Once you got it install it will create a shortcut for you;
Anyway, do expect the Connect command will be the same as the usual PowerShell module.
Connect-EXOPSSession – Exchange Online
Connect-IPPSSession – Security and Compliance
References: