Blog Post

Exchange Team Blog
1 MIN READ

Exchange Online PowerShell V3 Module General Availability

The_Exchange_Team's avatar
The_Exchange_Team
Platinum Contributor
Sep 20, 2022

The Exchange Online PowerShell v3 module (the v3 module) is now Generally Available. The v3 module has all REST-based cmdlets and it enables the use of Exchange Online cmdlets via REST API calls. It also supports modern authentication.

The v3 module is an upgrade to the v2 module, which had Remote PowerShell (RPS)-based cmdlets and 9 REST-based cmdlets. The v3 module was previously in public preview as v2.0.x, so if you tried the preview version, you’ll find the v3 module familiar.

Key Advantages of v3 Module

The v3 module has several advantages over earlier modules that use RPS-based cmdlets. It is more secure, more reliable, and more performant.

  • More secure - REST API cmdlets support modern authentication, so admins can turn off WinRM basic auth on their client machines.
  • More reliable - REST API cmdlets handle transient failures with built-in retries. This minimizes failures due to network delays or longer query execution times.
  • More performant - The connection establishment improves performance as it avoids setting up a PowerShell run space on the service.

The v3 module also uses the same signatures as the RPS cmdlets. This means you don’t need to make changes to any scripts that use these cmdlets.

Check out the v3 module and let us know what you think!

Exchange Management Infra team

Updated Sep 20, 2022
Version 3.0

56 Comments

  • JojoLBL's avatar
    JojoLBL
    Copper Contributor

    Hello, here is an error I got during few minutes in a web app. Any idea of the cause and if this can occurs oftently ? (I did restart IIS and I don't get the error back yet)

    Method invocation failed because [Microsoft.Exchange.Management.AdminApiProvider.Authentication.TokenProviderFactory] does not contain a method named 'RemoveTokenProvider'.

  • Keith-Work-711  Ah yes - thank you, you are right; the team is working to address this. It is a fit an finish and is being addressed. Thank you for reporting!!

  • Keith-Work-711's avatar
    Keith-Work-711
    Copper Contributor

    FYI, installed and connected with v3 and it still gives the same v2 warning: This version of EXO PowerShell V2 module contains new REST API backed cmdlets...
    get-module ExchangeOnlineManagement shows that v3 is loaded though.

  • Yeah folks, sorry about that; the announcement announced, but we are still working on all the documentation and live download pages, should have been clearer about this. Glad to hear folks want to try it immediately! Coming soon (we will modify the post with links once they are live).

  • djosh1's avatar
    djosh1
    Copper Contributor

    Page is showing as unlisted at the moment:

    https://www.powershellgallery.com/packages/ExchangeOnlineManagement/3.0.0

     

    Install-Module -Name ExchangeOnlineManagement -RequiredVersion 3.0.0

  • There somewhere to download it? I'm not seeing it available anywhere. I've noticed that the V2 module has become really slow to connect lately. Sometimes it fails.