Connecting to EXO (MFA Admins)

February 2, 2020 | by iaur | posted as Connect to M365 Services, PowerShell

Prerequisite

Install EXO V2 module

Open PowerShell as an administrator and run the ff. cmdlets

Set-ExecutionPolicy RemoteSigned
Install-Module -Name ExchangeOnlineManagement

Steps

Connecting to the service

Open PowerShell as an administrator and run the ff. cmdlets

Import-Module ExchangeOnlineManagement
Connect-ExchangeOnline -UserPrincipalName <UPN> -ShowProgress $true

Example:

Connect-ExchangeOnline -UserPrincipalName admin@domain.com -ShowProgress $true

Reference

https://docs.microsoft.com/en-us/powershell/exchange/connect-to-exchange-online-powershell?view=exchange-ps

Feedback or Help?

Should you have one, click here

Boring Ads. Pardon me :)