Saturday, October 24, 2020
Home Microsoft 365 PowerShell How to connect Exchange Online with Exchange Online PowerShell V2 module

How to connect Exchange Online with Exchange Online PowerShell V2 module

You need to first Run the following command from an elevated Windows PowerShell window:

Install-Module -Name ExchangeOnlineManagement

This command connects the current PowerShell session using alex@contoso.com account, which is MFA enabled. After the Connect-ExchangeOnline command is successful, you can run ExO V2 module cmdlets and older remote PowerShell cmdlets.

Connect-ExchangeOnline -UserPrincipalName alex@contoso.com -ShowProgress $true
 Connect-ExchangeOnline -UserPrincipalName

Please note you may need to update the EXO V2 module to latest version that’s available in the PowerShell Gallery:

Update-Module -Name ExchangeOnlineManagement

Most Popular

Microsoft 365 All Tenants in the admin center

More than one-third of admins that use the Microsoft 365 admin center manage multiple tenants. This applies to two-thirds of enterprise customers...

Windows Defender Advanced Threat Protection (ATP) software is undergoing some changes

Microsoft has announced that its Windows Defender Advanced Threat Protection (ATP) software is undergoing some changes. The antivirus program is expanding beyond...

Improvements to SharePoint news feeds and digests

The news feed delivers an intelligent view of news, targeted to you based on factors like your role or location, and further...

Microsoft Endpoint Management Deploy an application to a device

From the Microsoft Endpoint Management admin center, you can initiate an application install in real time for a tenant attached device.