From the course: PowerShell for Microsoft 365 Administration

Unlock the full course today

Join today to access over 25,200 courses taught by industry experts.

How to connect to Exchange Online

How to connect to Exchange Online

- [Instructor] So, how do we connect to Exchange Online? Well, I have prerequisites here. We first launched PowerShell as an administrator, and then we install either the Exchange Online module, or we connect using the session-based approach. We can then import the module or the session stuff into the current PowerShell session. And of course, our account must be a Microsoft 365 administrator of some description. It could be the global admin, or it could be an exchange administrator. Now to connect to Exchange Online, we have two call options. The first is the PowerShell remote session. This is the one that doesn't support modern authentication. It doesn't support multifactor authentication, and there's no requirement to install a PowerShell module. The Exchange Online module does support modern authentication. Does support multifactor authentication, but you do need to install the Exchange Online…

Contents