What's new in the Exchange Online PowerShell module

This article lists new features in the Exchange Online PowerShell module that's used for connecting to Exchange Online PowerShell, Security & Compliance PowerShell, and standalone Exchange Online Protection (EOP) PowerShell. Features that are currently in preview are denoted with (preview).

October 2023

September 2023

June 2023

  • Version 3.2.0 has been released.

  • Virtually all Security & Compliance PowerShell cmdlets are now backed by the REST API, and REST API is used by default. To connect using remote PowerShell mode (which requires Basic authentication in WinRM), use the UseRPSSession switch in the Connect-IPPSSession command.

    For information about what's in this release, see Version 3.2.0.

May 2023

  • The end of support for remote PowerShell in Security & Compliance PowerShell has been announced. For more information, see Announcing Deprecation of Remote PowerShell (RPS) Protocol in Exchange Online PowerShell.

  • Version 3.2.0-Preview4 has been released.

    This version supports the Preview of Security & Compliance cmdlets backed by the REST API. Some, but not all cmdlets are supported. Basic authentication in WinRM is not required in Security & Compliance PowerShell for REST API cmdlets.

    Note

    The default value of the UseRPSSession switch in Connect-IPSSession is now the same as Connect-ExchangeOnline. To connect in REST API mode, don't use the UseRPSSession switch in the Connect-IPPSSession command. To connect using remote PowerShell mode (which requires Basic authentication in WinRM), use the UseRPSSession switch in the Connect-IPPSSession command.

    REST API connections in the EXO V3 module require the PowerShellGet and PackageManagement modules. For more information, see PowerShellGet for REST-based connections in Windows.

April 2023

  • Version 3.2.0-Preview3 has been released.

    This version supports the Preview of Security & Compliance cmdlets backed by the REST API. Some, but not all cmdlets are supported. Basic authentication in WinRM is not required in Security & Compliance PowerShell for REST API cmdlets.

    Note

    The default value of the UseRPSSession switch in Connect-IPSSession is opposite of Connect-ExchangeOnline. To connect in REST API mode, use -UseRPSSession:$false in the Connect-IPPSSession command. To connect using remote PowerShell mode (which requires Basic authentication in WinRM), don't use the UseRPSSession switch in the Connect-IPPSSession command. The default behavior will change in a later version of the module as more Security & Compliance cmdlets are available in REST API mode.

January 2023

December 2022

September 2022

  • Version 3.0.0 has been released, and is now known as the Exchange Online PowerShell V3 module (abbreviated as the EXO V3 module):

    • Version 3.0.0 is the Generally Availability (GA) release of the 2.0.6-PreviewX versions of the module.

    • All Exchange Online PowerShell cmdlets are now backed by the REST API. Basic authentication in WinRM is not required in Exchange Online PowerShell for REST API cmdlets.

      Tip

      REST API connections in the EXO V3 module require the PowerShellGet and PackageManagement modules. For more information, see PowerShellGet for REST-based connections in Windows.

    • Certificate based authentication (also known as CBA or app-only authentication) is available for Security & Compliance PowerShell.

    For more information, see REST API connections in the EXO V3 module and Version 3.0.0.