大网数据广告活动
域与目录服务

Error AADSTS500571 - Guest user account is disabled

· 52CE 我爱测

Resolve a scenario in which a guest user experiences an AADSTS500571 error when they try to sign in to an Azure app that can be used with Microsoft Entra ID.

Summary

This article discusses how to resolve an AADSTS500571 error that occurs when a user tries to sign in to an application that can be used together with Microsoft Entra ID.

Symptoms

When a guest user tries to sign in to an application that's integrated into Microsoft Entra ID, they receive an "AADSTS500571" error message ("The guest user account is disabled").

Cause

The guest user object is disabled on the resource tenant.

Solution

Engage the resource tenant owners or sponsor to determine the reason that the guest account is disabled. Then, take the corresponding action, as shown in the following table.

Scenario Action
The guest account is supposed to be disabled. No actions should be performed. Access is expectedly blocked.
The guest account isn't supposed to be disabled, or it was disabled by mistake. Resource tenant owners should re-enable the account. One of the options to re-enable the account is by using PowerShell to set the -AccountEnabled parameter to $true, as described in the Set-AzureADUser cmdlet reference.

More information

For a full list of authentication and authorization error codes, see Microsoft Entra authentication and authorization error codes.

To investigate individual errors, go to https://login.microsoftonline.com/error.

Source: Microsoft Learn / IT Pro troubleshooting by Microsoft and contributors (upstream author metadata: custorod). Documentation licensed CC BY 4.0. Code samples are covered by the MIT License. Converted from Markdown, with links normalized and embedded media omitted.

资料来源与适用范围

资料来源
Microsoft Learn / IT Pro troubleshooting
适用范围
See source applicability · Source date 11/02/2023
内容语言
中文;命令、路径和错误标识保留技术原文
本地收录日期
2026-11-15
授权说明
CC BY 4.0 (documentation), MIT (code samples)

正文与所需资源由本站本地存储。查看来源及更新记录 ↗

请按适用版本和实际日志确认原因;本站没有对每一种系统或设备逐项执行文中的操作。