Fix Microsoft Office Mac Sign-in Error with University Email
Question details
A user is unable to sign in to Microsoft Office on a Mac using their university email, encountering an Azure Active Directory error.

- Product
- Microsoft Office
- Device & OS
- Mac
- Scenario
- Attempting to log into or activate Microsoft Office desktop applications on a Mac using a university-provided email address.
- Observed behavior
- The system displays an AADSTS50020 error, indicating the account does not exist in the university's Azure AD tenant, preventing access to the applications.
Ensure you are connected to a stable internet network and have your correct university Microsoft 365 credentials ready. We recommend trying to sign in to OneDrive via a web browser first to determine if the issue is specific to your Mac.
Verify Web Access and Clear Mac License Files
This method resolves local caching and corrupted license issues that prevent successful sign-ins on Mac devices.
If your university account works on a web browser but fails on the Mac desktop applications, the issue is likely caused by cached credentials or a corrupted local license file. Resetting the app and clearing these files forces a fresh authentication.
Open a web browser, go to the Microsoft 365 portal, and attempt to sign in to OneDrive using your university email. If you can log in successfully, proceed to the next step.
Quit OneDrive. Open the Applications folder, right-click the OneDrive app, select 'Show Package Contents', navigate to 'Contents' > 'Resources', and double-click the 'ResetOneDriveApp.command' script to reset the application.
Download and run the official Microsoft license removal tool for Mac. This tool safely clears out old, corrupted, or conflicting login credentials stored on your device.
Restart your Mac, open any Office application such as Word or Excel, and sign in again using your correct university email address.

Contact Your University IT Administrator
If web access also fails, the problem lies within the university's Azure Active Directory configuration.
Use WPS Office to Avoid Mac License Errors
If university tenant issues or strict licensing errors lock you out of Microsoft Office, try WPS Office. It provides a highly compatible, free alternative that lets you view, edit, and create documents on your Mac without complex Azure AD account configurations.
- 1. Download WPS Office: Visit the official WPS website and download the Mac version of WPS Office.
- 2. Install and Launch: Open the downloaded package, drag the WPS Office icon to your Applications folder, and launch the app.
- 3. Open Your Documents: Double-click any existing Word, Excel, or PowerPoint file to start editing immediately without facing tenant sign-in blocks.

Frequently Asked Questions
What does error AADSTS50020 mean on my Mac?
Error AADSTS50020 indicates an Azure Active Directory sign-in failure. It usually means your university email address is not properly recognized as an authorized user or guest within the university's Microsoft 365 tenant, or your Mac has cached an incorrect login token.
Why does my university email work on my phone but not on my Mac?
This typically happens because your Mac has stored outdated or conflicting Office license files in its local cache. Clearing the Office license files using the official removal tool usually resolves this discrepancy.
Can I use Microsoft Office on Mac without signing in?
Without signing in to a valid Microsoft 365 subscription account, Office applications on Mac will operate in a restricted read-only mode. You won't be able to create, edit, or save documents unless the software is activated.
Will removing Mac Office license files delete my documents?
No. Removing the license files only clears the activation and sign-in data from your device. Your locally saved documents and files stored on OneDrive will remain completely intact and safe.




