Sign-in & Login Problems

Fix Microsoft Office Mac Sign-in Error with University Email

Bushra ParveenBushra Parveen Oct 19, 2026 869 views

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.

How to Fix Microsoft Office Sign-in Error on Mac with University Email
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.
Before you start

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.

Solution 1Recommended

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.

1
Test OneDrive Web Access

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.

2
Reset OneDrive on Mac

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.

3
Remove Office License Files

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.

4
Sign In Again

Restart your Mac, open any Office application such as Word or Excel, and sign in again using your correct university email address.

Verify Web Access and Clear Mac License Files
Local Files Are Safe: Removing your Office license files will only reset the activation status. It will not delete your saved documents or Outlook emails.
Free Microsoft Office alternative

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. 1. Download WPS Office: Visit the official WPS website and download the Mac version of WPS Office.
  2. 2. Install and Launch: Open the downloaded package, drag the WPS Office icon to your Applications folder, and launch the app.
  3. 3. Open Your Documents: Double-click any existing Word, Excel, or PowerPoint file to start editing immediately without facing tenant sign-in blocks.
Fully compatible with Microsoft Word, Excel, and PowerPoint formats (.docx, .xlsx, .pptx).Free to use with no complex tenant or university Azure AD login requirements.Lightweight installation optimized for Mac, saving disk space and memory.Familiar tabbed user interface, ensuring a seamless transition and zero learning curve.
QA img-9

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.