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

AADSTS51004

UserAccountNotInDirectory

其他表示形式:51004

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

UserAccountNotInDirectory - 目录中不存在用户帐户。应用程序可能选择了错误的租户进行登录,并且当前登录的用户无法执行此操作,因为它们不存在于您的租户中。如果该用户应该能够登录,请将其添加为访客。如需了解更多信息,请访问添加 B2B 用户。

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

UserAccountNotInDirectory - The user account doesn’t exist in the directory. An application likely chose the wrong tenant to sign into, and the currently logged in user was prevented from doing so since they did not exist in your tenant. If this user should be able to log in, add them as a guest. For further information, please visit add B2B users.

故障排除与诊断链接

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