The Exchange Online Powershell V1 module is now deprecated. We need to use the Exchange OnlinePowershell V3 module instead.

Command to install Module
https://www.powershellgallery.com/packages/ExchangeOnlineManagement/3.1.0

Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.1.0

Command to connect

Import-Module ExchangeOnlineManagement

Connect-ExchangeOnline -UserPrincipalName [email protected]

See the KB below.

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

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

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

Leave a Reply

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

Latest Posts

  • Hello world!

    Welcome to WordPress. This is your first post. Edit or delete it, then start writing!

  • Windows Server 2019 activation

    Steps: KMS activation keyshttps://learn.microsoft.com/en-us/windows-server/get-started/kms-client-activation-keys

  • ExchangeOnlineManagement 3.1.0

    The Exchange Online Powershell V1 module is now deprecated. We need to use the Exchange OnlinePowershell V3 module instead. Command to install Modulehttps://www.powershellgallery.com/packages/ExchangeOnlineManagement/3.1.0 Install-Module -Name ExchangeOnlineManagement…