logo
search
Microsoft 365 Error Codes

How to Fix OneDrive Error AADSTS50020 After a School Account Change

Guest WriterGuest Writer Oct 8, 2026 871 views

Question details

A user is unable to access their OneDrive files after a school account change, receiving error code AADSTS50020 which prevents login.

How to Fix OneDrive Error AADSTS50020 After a School Account Change
Product
Microsoft OneDrive
Device & OS
not provided
Scenario
Attempting to log into a school OneDrive account to retrieve saved work after the institution made changes to the account.
Observed behavior
The system blocks access and displays Error AADSTS50020, stating that the identity provider account does not exist in the organization's Microsoft Entra ID tenant.
Before you start

Before proceeding, confirm that you are using the exact, most up-to-date email address provided by your school, and verify whether your student enrollment status has recently changed.

Solution 1Recommended

Contact Your IT Administrator for Tenant Assignment

This is a server-side permission issue that can only be resolved by the organization's Microsoft 365 administrator adding your account to the directory.

Error AADSTS50020 occurs because your specific account credential is not registered in the school's Microsoft Entra ID (formerly Azure Active Directory) tenant. Without this registration, the system automatically blocks access to organizational assets like OneDrive.

1
Gather account information

Write down your exact student or staff email address, your ID number, and take a screenshot of the AADSTS50020 error message.

2
Contact the IT Help Desk

Reach out to your school's IT support or Microsoft 365 Administrator via phone, an alternative email, or an in-person visit.

3
Request directory assignment

Explicitly request that the administrator verify your account exists in the Microsoft Entra ID tenant and that you have been assigned an active Microsoft 365 license with OneDrive access.

Contact Your IT Administrator for Tenant Assignment
Administrator Action Required: Changing your web browser or clearing your cache will not bypass this error. The administrator must open a support ticket in the Microsoft 365 Admin Center if they are unable to resolve the tenant assignment locally.
Free Microsoft Office alternative

Try WPS Office for Free and Local File Management

If you are locked out of your school's cloud-based Microsoft 365 account due to tenant errors, consider switching to WPS Office. It is a completely free, lightweight alternative that allows you to create, edit, and save documents locally on your device, ensuring you never lose access to your important work.

Highly compatible with Microsoft Word, Excel, and PowerPoint formats.Save and manage files locally to avoid cloud-based tenant lockout issues.Completely free to use with a familiar, user-friendly interface.Built-in PDF editing and conversion tools perfect for students and professionals.
microsoft office alternative - wps office

Frequently Asked Questions

What does Error AADSTS50020 mean?

This error signifies that the Microsoft account you are attempting to sign in with is not recognized by the organization's Microsoft Entra ID tenant. Essentially, the system does not recognize you as an authorized user for that organization.

Will using a different web browser fix Error AADSTS50020?

No, switching web browsers will not resolve the issue if your account has genuinely been removed from or not added to the directory. It is a server-side authorization block. A new browser only helps if your old browser was auto-filling incorrect login details.

How can I recover my school OneDrive files if I am locked out?

If your files are stored within the school's Microsoft 365 infrastructure, only the organization's tenant administrator can restore your access or retrieve those files for you. You must escalate the issue with the IT department or administrative staff.

Why did this error happen after my school account changed?

When an institution updates accounts, merges email domains, or changes your enrollment status, your digital identity may fail to sync correctly with their active directory. This instantly revokes your permissions to access school resources like OneDrive.