Microsoft has announced ExchangeonlineManagement Powershell 2.0.6 Preview v2. which is ideally super excited for Exchange Folks to have REST API Connections and Avoid Basic Authentications
Why do we require REST API Connections to connect to Exchange Online?
- Microsoft Blocked Basic Authentications to Exchange Online and other services. for more details
- Companies block WinRM basic Connections from the Machines using GPOs or different options as it is vulnerable.
- REST API Connections are stable and provide new enhanced CMDLETs
For more details about the 2.0.6-Preview6 version- Please read Microsoft Article
Let us see how we can configure the new version
Step 1: Install Latest version of PowerShellGet
Open Powershell in elevated rights and run the following cmdlet
Install-Module PowerShellGet -Force -AllowClobber
Now, ExchangeOnlineManagement has been installed
Step 3: Run Import-Module -Name ExchangeOnlineManagement
Step 4: Run Get-Module -Name ExchangeOnlineManagement