How to Fix Microsoft Office Error 50058 on Mac: Sign-In Issues
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.

- 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.
Ensure you have completely closed all running Microsoft Office applications and have your correct, current Microsoft account email and password ready.
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.
Ensure that Word, Excel, PowerPoint, and Outlook are completely closed. You can right-click their icons in the Dock and select Quit.
On your Mac, open Finder, navigate to Applications, then open the Utilities folder, and double-click on Keychain Access.
In the Keychain Access search bar, type 'Microsoft Office' or 'ADAL'. Highlight all the related saved credential entries, right-click them, and select Delete.
Restart your Mac, open any Microsoft Office application, and try signing in again with your new account credentials.

Sign in Using an Associated Phone Number
If the email address is being rejected due to identity provider conflicts, logging in with a linked phone number can sometimes bypass the error.
Request Tenant Access from your Microsoft 365 Administrator
If you see error AADSTS90072, your account does not exist in the specified organizational tenant and needs to be added as an authorized external user.
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. Download WPS Office: Visit the official WPS website and download the Mac version of WPS Office.
- 2. Install the application: Open the downloaded setup file and drag the WPS Office icon into your Applications folder.
- 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.

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.




