661 votesAnonymous commented
tldr to get this to work:
Install-Module MSOnline (first time only)
Import-Module MSOnline (first time only)
Exchange Online Powershell (EXOPS)
With MFA becoming more and more common these modules should really be added in by default.
330 votesAnonymous commented
Please revert this