Exchange Online PowerShell V2 soon deprecated, replaced by PowerShell V3

Exchange Logo[German]Brief note for administrators of Exchange Online instances. Microsoft announced in December 2022 that PowerShell V2 will be "deprecated" as of June 2023. From then on, the relevant PowerShell modules will no longer work. Anyone using PowerShell modules to administer their Exchange Online instances must have adapted their script before June 2023.


Advertising

Exchange Online PowerShellis the administrative interface that allows administrators to manage Exchange Online from the command line. PowerShell (PS) cmdlets in Exchange Online also use the Remote PowerShell (RPS) protocol for client-server communication.

Now Microsoft is phasing out PowerShell V2 in favor of V3. This was announced by Microsoft as of December 15, 2022 in the Techcommunity post Announcing Deprecation of Remote PowerShell (RPS) Protocol in Exchange Online PowerShell, with a revision as of December 21, 2022. I came across the issue via a tweet from Frank Carius.

Exchange PowerShell V3

As of December 15, 2022, using Remote PowerShell (RPS) to connect via the New-PSSession cmdlet and Exchange Online PS modules v1 and v2 are no longer supported with feature updates.

  • As of January 2023, PS modules v1 are obsolete and can no longer be used.
  • From July 2023, PS modules v1 will also be rejected as obsolete.

Starting June 1, 2023, Microsoft will begin blocking RPS connections to Exchange Online. By July 1, 2023, RPS is scheduled to be blocked for all tenants. After July 1, customers will no longer be able to use RPS when connecting to Exchange Online and will have to use the v3 module with REST cmdlets instead.


Advertising

So no more Remote PowerShell (RPS) connections can be made to Exchange Online after summer 2023. Microsoft strongly recommends migrating to the v3 PowerShell module as soon as possible to access Exchange Online and take advantage of the latest features and functionality.


Cookies helps to fund this blog: Cookie settings
Advertising


This entry was posted in Software and tagged . Bookmark the permalink.

Leave a Reply

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