logo
search
Microsoft 365 Error Codes

How to Fix Office Error 50058 When Signing In on a Mac

Partner EditorPartner Editor Oct 9, 2026 869 views

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.

How to Fix Office Error 50058 When Signing In on a Mac
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.
Before you start

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.

Solution 1Recommended

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.

1
Visit the Microsoft Alias Management Page

Open your web browser and navigate to the official Microsoft alias settings page at https://go.microsoft.com/fwlink/?LinkId=529489.

2
Sign In to Your Microsoft Account

Log in using your existing Microsoft 365 Personal account credentials when prompted by the web portal.

3
Add a New Alias

Click on 'Add email' or 'Add phone number'. Follow the on-screen instructions to input and verify the new email address or phone number.

4
Set the New Alias as Primary

Once the new alias is verified and added to your account list, click the 'Make primary' link located next to it.

5
Sign In to Office on Mac

Launch any Microsoft Office application on your Mac (such as Word or Excel) and sign in using the newly created primary alias.

Add a Phone Number or New Email Alias to Your Microsoft Account
Successful Workaround: Many Mac users report that linking a phone number and using it as the primary alias immediately resolves the 50058 error.
Free Microsoft Office alternative

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. 1. Download WPS Office for Mac: Visit the official WPS website and download the Mac version of the WPS Office installer.
  2. 2. Install the Application: Open the downloaded package and drag the WPS Office icon into your Mac's Applications folder.
  3. 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.
Completely free and lightweight office suite optimized for Mac environments.No complex sign-in barriers preventing you from accessing local files securely.Excellent compatibility with standard Microsoft Office formats, including DOCX, XLSX, and PPTX.Familiar user interface that ensures a seamless migration with zero learning curve.
QA img-9

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.