Connect to Exchange Online PowerShell with MFA

(Last Updated On: 2021-08-23)

Connecting to Microsoft Exchange Online is very straightforward if you remember the steps. This is just a Quick Step-by-step on how to connect after the initial configurations were done.

If you have not connected to EXO before I suggest you work through the below Articles and install EXO V2

EXO V2 Install

If you connect to different Environments use the below link:

Connect to Exchange Online PowerShell

How to Connect

Open a PowerShell console in Administration Console. Once open use the following command to Connect:

Connect-ExchangeOnline -UserPrincipalName

This will open a new Window requesting the Administrator Password. This is the same password you log on to the Web console.

Once your password is verified it will take you to the MFA Console where it will request your second Verification.

Once the Connection is done you can run you code required. Once done remember to disconnect the Session.



If you liked what you read Please Share.
I’d love it if you followed me on YouTube and Facebook.

Also, feel free to subscribe to my posts by email.
Donations for the site can be made here.

Thanks for reading.
Spread the love

Leave a Reply

Your email address will not be published. Required fields are marked *