logo
search
Sign-in & Login Problems

How to Fix Microsoft Office Error 50058 on Mac: Sign-In Issues

Huma Ashraf ChHuma Ashraf Ch Oct 19, 2026 868 views

Question details

The user is unable to sign into Microsoft Office on a Mac due to Error 50058 or incorrect username prompts, often related to cached credentials from a previous account or organization.

How to Fix Microsoft Office Error 50058 on Mac
Product
Microsoft Office for Mac
Device & OS
macOS
Scenario
Trying to sign in to Microsoft Office applications after a password change, reinstallation, or switching from a previous Microsoft account.
Observed behavior
The system prompts Error Code 50058 (AADSTS90072) or displays a message stating the username may be incorrect, preventing access to Office applications despite web login working.
Before you start

Ensure you have completely closed all running Microsoft Office applications and have your correct, current Microsoft account email and password ready.

Solution 1Recommended

Clear Office Credentials from Mac Keychain Access

Removing outdated or conflicting Microsoft credentials from the Mac Keychain often resolves persistent sign-in loops and Error 50058.

macOS securely stores your login data in an app called Keychain Access. If you previously used a different Microsoft account for work or freelance jobs, Office might continuously attempt to use those old, cached credentials, resulting in a login failure even if you reinstall the software.

1
Close all Office applications

Ensure that Word, Excel, PowerPoint, and Outlook are completely closed. You can right-click their icons in the Dock and select Quit.

2
Open Keychain Access

On your Mac, open Finder, navigate to Applications, then open the Utilities folder, and double-click on Keychain Access.

3
Remove Microsoft credentials

In the Keychain Access search bar, type 'Microsoft Office' or 'ADAL'. Highlight all the related saved credential entries, right-click them, and select Delete.

4
Restart and sign in

Restart your Mac, open any Microsoft Office application, and try signing in again with your new account credentials.

Clear Office Credentials from Mac Keychain Access
Tip: If you are unsure which credentials belong to Office, deleting all items containing 'Microsoft' or 'Office' in Keychain Access is generally safe and will simply require you to log in again.
Free Microsoft Office alternative

Try WPS Office for Mac as a Seamless Alternative

If persistent Microsoft Office sign-in errors and complex tenant issues are keeping you from your work, try WPS Office. It's a free, lightweight, and highly compatible alternative that lets you edit Word, Excel, and PowerPoint files natively on your Mac without forcing you through complicated login loops.

  1. 1. Download WPS Office: Visit the official WPS website and download the Mac version of WPS Office.
  2. 2. Install the application: Open the downloaded setup file and drag the WPS Office icon into your Applications folder.
  3. 3. Open your files instantly: Launch WPS Office and open your existing Word, Excel, or PowerPoint files to start editing immediately without mandatory online sign-in barriers.
Free and lightweight office suite optimized for MacFully compatible with Microsoft Office formats (.docx, .xlsx, .pptx)No complex Azure Active Directory tenant or sign-in issuesFamiliar user interface for a seamless migration and instant productivity
microsoft office alternative - wps office

Frequently Asked Questions

What does Error AADSTS90072 mean in Microsoft Office for Mac?

This error indicates that your user account does not exist in the Microsoft 365 tenant (organization) you are trying to access. Your account must be added as an authorized external user by that organization's IT administrator before you can sign in.

Why does Microsoft Office say my username is incorrect when I know it is right?

This usually happens because your Mac's Keychain Access is silently attempting to authenticate using outdated, cached credentials from a previous session, personal account, or freelance job. Clearing the Keychain forces Office to authenticate your new credentials from scratch.

Will reinstalling Microsoft Office on my Mac fix Error 50058?

Typically, uninstalling and reinstalling the Office applications will not fix Error 50058 or persistent sign-in issues. This is because macOS securely retains your saved login credentials in the Keychain even after the application itself is deleted. You must clear the Keychain cache manually to resolve the issue.