Windows PowerShellを使用して Azure Information Protectionに接続できない

注:

Microsoft Azure Information Protectionは、以前は Microsoft Azure Rights Management と呼ばれるものでした。

この記事では、Office 365のWindows PowerShellを使用して Azure Information Protection Service に接続できない問題を解決します。

元の製品バージョン: Microsoft Entra ID、Azure Information Protection
元の KB 番号: 2797755

現象

Microsoft Office 365でWindows PowerShellを使用して Microsoft Azure Information Protectionに接続しようとすると、次のようなエラー メッセージが表示されます。

PS C:\> Connect-AipService

Connect-AipService : The attempt to connect to the Azure Information Protection service failed. Verify that the user name and password you are using are correct and try again. If you have continued problems, see http://go.microsoft.com/fwlink/?LinkId=251909.

The correlation ID is 1df4c755-f859-4284-907b-be5d2a551260. Please note and provide this value if asked by support for it.

At line:1 char:1

+ Connect-AipService

+ ~~~~~~~~~~~~~~~~~~

+ CategoryInfo : NotSpecified: (:) [Connect-AipService], ApplicationFailedException

+ FullyQualifiedErrorId : NotSpecified,Microsoft.RightsManagementServices.Online.Admin.PowerShell.ConnectAipServiceCommand

次のエラー メッセージが表示される場合もあります。

オブジェクト参照がオブジェクトのインスタンスに設定されていません。

原因

この問題は、次の条件の 1 つ以上が当てはまる場合に発生します。

  • 間違ったユーザー名またはパスワードを入力しました。
  • あなたは会社の管理者ではありません。
  • Azure Information Protectionを含むサブスクリプションがありません。
  • ネットワークによって、Azure Information Protectionに接続できなくなります。
  • Windows PowerShell 7 を使用しています。 PowerShell 7 を使用すると、"オブジェクト参照がオブジェクトのインスタンスに設定されていません" エラーが発生します。 詳細については、「既知の問題 - Azure Information Protection」を参照してください。

解決方法

注:

Azure Information Protectionが会社で有効になっていない場合は、Microsoft 365 管理センターを使用して有効にします。 これを行う方法の詳細については、「Azure Information Protection デプロイロードマップ」を参照してください。

この問題を解決するには、次のことが当てはまることを確認します。

  • 正しいユーザー名とパスワードを入力してください。 正しく入力したことをチェックするには、Office 365 ポータルにサインインします。
  • Azure Information Protectionに接続するには、グローバル管理者である必要があります。
  • Azure Information Protectionを使用するには、Azure Information Protectionを含むサブスクリプションが必要です。
  • ネットワーク管理者と協力して、ネットワークが Azure Information Protectionに接続するための要件を満たしていることを確認します。 要件は次のとおりです。
    • への *.aadrm.com 受信接続と送信接続が有効になります。
    • (rmsoprod*-b-rms*.cloudapp.net) への*.cloudapp.net受信接続と発信接続が有効になります。
    • ポート 443 が開いています。
  • Windows PowerShell 5 を使用します。 コマンドを使用して$PSVersionTable.PSVersion、PowerShell バージョンをチェックできます。

詳細

Azure Information Protectionの詳細については、「AIPService」を参照してください。

お問い合わせはこちらから

質問がある場合やヘルプが必要な場合は、サポート要求を作成するか、Azure コミュニティ サポートにお問い合わせください。 Azure フィードバック コミュニティに製品フィードバックを送信することもできます。