Error 50057 - User account is disabled. The account has been disabled by an administrator [Microsoft - Teams - Azure]


If you are trying to login to Microsoft Teams or using Azure services and get the Error code 50057, then its because the user account has been disabled.

Let's see what Microsoft Website tells about this error code: https://login.microsoftonline.com/error

Error Code50057
MessageThe user account is disabled.
RemediationThe user object in Active Directory backing this account has been disabled.

An admin can re-enable this account through Powershell: https://docs.microsoft.com/powershell/module/addsadministration/enable-adaccount?view=win10-ps

You would need to contact your Organization IT Administrator to resolve this issue




Recent Posts:




Code2care is an initiative to publish and share varied knowledge in programming and technical areas gathered during day-to-day learnings and development activities.

Students and Software Developers can leverage this portal to find solutions to their various queries without re-inventing the wheel by referring to our easy to understand posts. Technical posts might include Learnings, Video Tutorials, Code Snippets, How Tos, Blogs, Articles, etc.