错误代码门户
MicrosoftMicrosoft Entra ID错误代码

AADSTS65002

Consent between first party application '{applicationId}' and first party resource '{resourceId}' must be configured via…

其他表示形式:65002

代码 AADSTS65002 · Microsoft Entra ID 报告的问题。

第一方应用程序“{applicationId}”和第一方资源“{resourceId}”之间的同意必须通过预授权进行配置 - Microsoft 拥有和运营的应用程序必须在请求该 API 的令牌之前获得 API 所有者的批准。您的租户中的开发人员可能会尝试重复使用 Microsoft 拥有的应用程序 ID。此错误会阻止他们冒充 Microsoft 应用程序来调用其他 API。他们必须转移到他们注册的另一个应用程序 ID。

Google Translate · 此内容为自动翻译。技术术语及适用条件请以英文原文为准。

Consent between first party application '{applicationId}' and first party resource '{resourceId}' must be configured via preauthorization - applications owned and operated by Microsoft must get approval from the API owner before requesting tokens for that API. A developer in your tenant might be attempting to reuse an App ID owned by Microsoft. This error prevents them from impersonating a Microsoft application to call other APIs. They must move to another app ID they register.

故障排除与诊断链接

请先确认文档中的产品、版本及发生环境与当前情况一致。