認証処理中に次のエラーが表示される場合があります。
残念ながら、アクションの実行中に認証でエラーが発生しました
この場合、「詳細」を展開してエラーの詳細を確認するか、「再試行」をすることができます。
ここでは、エラーコードから詳細を確認する方法と、考えられる対処方法についてご説明します。
エラーコードを確認する
受信したエラーの詳細を確認するには、そのコードを参照して、いくつかの情報と、場合によっては解決策を取得することができます。
これを行うには
1.「詳細」を展開し、受信したエラーの情報を表示します。エラーコードを探します。
例えば、AADSTS501481 というエラーの場合、コードは文字の後にある「501484」の数字になります。これらの数字だけをコピーします。
2.https://login.microsoftonline.com/error に移動し、コピーした数字を「Error Code」に貼り付けます。
3. Submit を選択すると、エラーの説明が表示されます。
一部のエラーについては、エラーの説明の下に改善策が記載されていることがあります。改善策は、問題の解決に役立ちます。 |
例えば、AADSTS501481 エラーに対して提供される改善策は、「アプリケーションの所有者に連絡して、PKCEパラメータの使用を修正すること」です。
最も一般的なエラーと対処方法
以下の表に「残念ながら、アクションの実行中に認証でエラーが発生しました」場合の、最も一般的なエラーコードの説明と対処方法を記載しています。
Error code | Description |
AADSTS501481 | The Code_Verifier does not match the code_challenge supplied in the authorization request. |
AADSTS160021 |
Application requested a user session which does not exist. A possible workaround may be to enable third-party cookies in your browser settings. |
AADSTS700003 |
Device object was not found in the tenant '{tenantName}' directory. Remediation: Invalid grant due to the following reasons: |
AADSTS90094 |
<clientAppDisplayName> needs permission to access resources in your organization that only an admin can grant. Admin consent is required for the permissions requested by this application. Remediation: Ask your tenant administrator to provide consent for this application. |
AADSTS50076 |
Due to a configuration change made by the admin, or because you moved to a new location, the user must use multi-factor authentication to access the resource. Retry with a new authorize request for the resource. Remediation: User needs to perform multi-factor authentication. There could be multiple things requiring multi-factor, e.g. Conditional Access policies, per-user enforcement, requested by client, among others. |
AADSTS65001 |
The user or administrator has not consented to use the application with ID '{identifier}'{namePhrase}. Send an interactive authorization request for this user and resource. |
AADSTS90033 | A transient error has occurred. Please try again. |
エラーコードの詳細については、「Azure AD 認証と承認のエラーコード」および「アプリへのサインインに関するトラブルシューティング」をご参照ください。