Announcement: Need a free practice exam or an interactive mocks material for a Microsoft certification? Click here to use the MS Forms I've created previously.
February 2, 2020 | by iaur | posted as Connect to M365 Services, PowerShell
Install EXO V2 module
Open PowerShell as an administrator and run the ff. cmdlets
Set-ExecutionPolicy RemoteSigned
Install-Module -Name ExchangeOnlineManagement
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