SHD / MC Checker

MC488586 | (Updated) Announcing Retirement of Remote PowerShell (RPS) protocol in Exchange Online PowerShell



MC488586 | (Updated) Announcing Retirement of Remote PowerShell (RPS) protocol in Exchange Online PowerShell

Classification planForChange
Last Updated 08/02/2023 17:49:00
Start Time 12/20/2022 00:31:17
End Time 10/30/2023 07:00:00
Message Content

Updated August 2, 2023: We have updated the rollout timeline below. Thank you for your patience.

You might already be aware that we made REST-based Exchange Online PowerShell v3 module generally available in September 2022 (read more here: Exchange Online PowerShell V3 Module General Availability). We will now be retiring RPS protocol from the beginning of June 2023. Instead, we recommend the utilization of the v3 module, which is where we will continue to invest our development resources.  

[When this will happen:]

We’ll be gradually rolling this out to customers in early June 2023, and the roll out will be completed by late September 2023 (previously late July).

[How this will affect your organization:]

You are receiving this message because our reporting indicates your organization may be using this RPS through New-PSSession or through Exchange Online PS v1 and v2 modules.

The users will no longer be able to use RPS protocol, when this change is implemented.

[What you need to do to prepare:]

If you are using RPS to establish an Exchange Online connection, you will not be able to do so after July 1, 2023. If you use the following, then you are using RPS:

  • Connection using New-PSSession
  • Exchange Online PowerShell v1 and v2 modules
  • Any newer version of Exchange Online PowerShell module with the -UseRPSSession parameter

To switch to the v3 module and use REST cmdlets, take the following steps:

If you are using New-PSSession to establish an RPS connection:

  1. Install the latest Exchange Online Management v3 module from here: ExchangeOnlineManagement 3.0.0.
  2. Use Connect-ExchangeOnline instead of New-PSSession to establish connection.

If you have installed any module earlier than v3:

  1. Uninstall previous versions of ExchangeOnlineManagement module by running “Uninstall-Module ExchangeOnlineManagement” from an elevated (admin) PowerShell command prompt.
  2. Install the latest Exchange Online Management v3 module from here: ExchangeOnlineManagement 3.0.0.
  3. Discontinue the use of -UseRPSSession parameter (if you are using it.)

We are excited about providing you with a more secure and performant environment, and we remain committed to our journey to empower you with the most modern features and tools. If you have questions/concerns, please leave comments here or email us directly at RPSdeprecation@service.microsoft.com

Machine Translation

2023 年 8 月 2 日更新: 以下のロールアウトのタイムラインを更新しました。お待ちいただきありがとうございます。

REST ベースの Exchange Online PowerShell v3 モジュールが 2022 年 9 月に一般公開されたことを既にご存知かもしれません (詳細については、「 Exchange Online PowerShell V3 モジュールの一般提供」を参照してください)。 2023 年 6 月初旬から RPS プロトコルを廃止します。 代わりに、開発リソースを引き続き投資するv3モジュールを使用することをお勧めします。   

[これが起こるとき:]

これは 2023 年 6 月上旬にお客様に段階的にロールアウトされ、ロールアウトは 2023 年 9 月下旬 (以前は 7 月下旬) までに完了する予定です。

[これが組織に与える影響:]

このメッセージが表示されるのは、組織が新しい PSSession または Exchange Online PS v1 および v2 モジュールを通じてこの RPS を使用している可能性があることがレポートで示されているためです。

この変更が実装されると、ユーザーは RPS プロトコルを使用できなくなります。

[準備するために必要なこと:]

RPS を使用して Exchange Online 接続を確立している場合、2023 年 7 月 1 日以降は確立できなくなります。次を使用する場合は、RPS を使用しています。

  • 新しい PS セッションを使用した接続
  • Exchange Online PowerShell v1 および v2 モジュール
  • -UseRPSSession パラメーターを持つ新しいバージョンの Exchange Online PowerShell モジュール

v3 モジュールに切り替えて REST コマンドレットを使用するには、次の手順を実行します。

New-PSSession を使用して RPS 接続を確立する場合:

  1. ここから最新の Exchange Online Management v3 モジュールをインストールします: ExchangeOnlineManagement 3.0.0
  2. 接続を確立するには、New-PSSession の代わりに Connect-ExchangeOnline を使用します。

v3 より前のモジュールをインストールした場合:

  1. 管理者特権の (管理者) PowerShell コマンド プロンプトから “Uninstall-Module ExchangeOnlineManagement” を実行して、以前のバージョンの ExchangeOnlineManagement モジュールをアンインストールします。
  2. ここから最新の Exchange Online Management v3 モジュールをインストールします: ExchangeOnlineManagement 3.0.0
  3. -UseRPSSession パラメーターの使用を中止します (使用している場合)。

私たちは、より安全でパフォーマンスの高い環境を提供することに興奮しており、最新の機能とツールでお客様に力を与えるための旅に引き続き取り組んでいます。ご質問やご不明な点がございましたら、ここにコメントを残すか、RPSdeprecation@service.microsoft.com に直接メールでお問い合わせください。