How to Fix Office Error 50058 When Signing In on a Mac
Question details
The user is unable to access Microsoft Office due to error 50058, which occurs when a Microsoft 365 Personal account is not recognized during the sign-in process.

- Product
- Microsoft Office for Mac
- Device & OS
- Mac
- Scenario
- Attempting to sign into a Microsoft 365 Personal account using Microsoft Office on a Mac device.
- Observed behavior
- The application rejects the login attempt and displays error code 50058, stating that the provided email address is not recognized.
Ensure your Mac has a stable internet connection and verify whether your Microsoft account is classified as a Personal or Organizational account before modifying your sign-in aliases.
Add a Phone Number or New Email Alias to Your Microsoft Account
By adding an alternative alias, such as a mobile phone number, you can bypass the unrecognized email issue and successfully sign into Microsoft Office.
Error 50058 often occurs when the authentication server fails to properly recognize your primary email address. Adding a new alias refreshes your login credentials and provides an alternative way for the system to verify your identity.
Open your web browser and navigate to the official Microsoft alias settings page at https://go.microsoft.com/fwlink/?LinkId=529489.
Log in using your existing Microsoft 365 Personal account credentials when prompted by the web portal.
Click on 'Add email' or 'Add phone number'. Follow the on-screen instructions to input and verify the new email address or phone number.
Once the new alias is verified and added to your account list, click the 'Make primary' link located next to it.
Launch any Microsoft Office application on your Mac (such as Word or Excel) and sign in using the newly created primary alias.

Try WPS Office for Mac to Avoid Sign-In Errors
If you are tired of dealing with persistent Microsoft Office sign-in errors like 50058, consider switching to WPS Office. It provides a lightweight, highly compatible, and free alternative that lets you view, create, and edit documents without frustrating account lockouts.
- 1. Download WPS Office for Mac: Visit the official WPS website and download the Mac version of the WPS Office installer.
- 2. Install the Application: Open the downloaded package and drag the WPS Office icon into your Mac's Applications folder.
- 3. Open and Edit Your Files: Launch WPS Office and directly open your existing Word, Excel, or PowerPoint files without encountering 50058 sign-in errors.

Frequently Asked Questions
What does error code 50058 mean in Microsoft Office?
Error 50058 indicates that the sign-in server does not recognize the account credentials you entered. It commonly happens on Macs when there is a miscommunication between the Office application and Microsoft's identity servers regarding Personal versus Organizational accounts.
Can I switch my primary alias back to my original email later?
Yes. Once you have successfully signed into Office and bypassed the error, you can return to the Microsoft alias management page at any time to switch your primary alias back to your preferred email address.
Will clearing my Mac's Keychain help with Office sign-in errors?
Yes, if changing your alias doesn't fully resolve the issue, opening the Keychain Access app on your Mac and deleting any cached 'Microsoft Office Credentials' can force the application to prompt for a fresh, clean sign-in.




