Exchange Online – A new Exchange Online PowerShell module v2 is now available in preview

For those working with Office 365 and Exchange Online, you already know that the Exchange Online PowerShell modules have been evolving and is now existing with a ‘version 2’ (see https://t.co/EdWQQr2g8U).

Well, the version 2 of Exchange Online PowerShell module is being updated again (currently available in preview) to remove the need for enabling WinRM basic auth and use REST API instead.

Please note as during this preview, not all of the Exchange command have been updated to remove the WinRM dependency.

All CMDlets can be made available by remoting using the –UseRPSSession when connecting to Exchange Online.

To disable WinRM you will run the below command in a command prompt using Run As Administrator

winrm set winrm/config/client/auth ‘@{Basic=”false”}’

Then you can install the new v2 version in preview using the command

Install-Module -Name ExchangeOnlineManagement -RequiredVersion 2.0.6-Preview3 –AllowPrerelease

Leave a Comment

Your email address will not be published.