Connect to Exchange Powershell
Prerequisites: Install Exchange Powershell
To connect to Exchange Powershell with Multi-Factor Authentication, in a Microsoft Powershell windo, run the following command.
Connect-ExchangeOnline
This will open a new login window. After login, the window will close and the Exchange Powershell session will be active.