How to Fix Microsoft 365 Mac Activation Error 50058 After Reset
Question details
Users are unable to activate Microsoft 365 on a Mac following a factory reset due to an authentication error.

- Product
- Microsoft 365
- Device & OS
- macOS
- Scenario
- Attempting to sign in and activate Microsoft 365 desktop applications on a freshly factory-reset Mac.
- Observed behavior
- The activation process fails and displays Error 50058, despite the Microsoft account successfully signing in via web browsers and basic troubleshooting steps failing.
Verify that your Microsoft 365 subscription is currently active by logging into the Microsoft account portal via a web browser before attempting advanced troubleshooting on your Mac.
Clear Browser Data and Update macOS
Error 50058 is often triggered by authentication caching issues or outdated system components failing to communicate with Microsoft servers.
Microsoft 365 relies on system-level authentication protocols that interact with default browser caches. Clearing these caches and ensuring the operating system is fully up to date can resolve unexpected sign-in blocks.
Click the Apple menu, select 'System Settings' (or 'System Preferences'), navigate to 'General', and click 'Software Update'. Install any pending updates and restart your Mac.
Open Safari, go to 'Safari' in the top menu, select 'Settings', navigate to the 'Privacy' tab, and click 'Manage Website Data'. Click 'Remove All' to clear cached authentication tokens.
Disconnect from your current Wi-Fi network and connect to a mobile hotspot or an alternative network to bypass potential router-level firewalls blocking Microsoft authentication servers.

Use the License Removal Tool and Test a New User Profile
Corrupted local license files or user profile settings can persistently block Microsoft 365 activation even after a clean installation.
Gather Logs and Contact Microsoft Support
If standard troubleshooting fails across all profiles and networks, the issue may require server-side intervention or advanced log analysis.
Try WPS Office for Mac - No Activation Hassles
If you are stuck with persistent Microsoft 365 activation errors, consider switching to WPS Office. It provides a lightweight, free alternative to Microsoft Office that is incredibly easy to set up on macOS without frustrating sign-in errors.
- 1. Download WPS Office: Navigate to the official WPS website and download the macOS installation package.
- 2. Install on Your Mac: Open the downloaded .dmg file and drag the WPS Office icon into your Applications folder.
- 3. Open and Edit: Launch WPS Office from your Applications folder and immediately begin opening, editing, and saving your Microsoft Office documents.

Frequently Asked Questions
What does Error 50058 mean in Microsoft 365?
Error 50058 typically indicates an authentication failure where the application is unable to silently authenticate your Microsoft account, often due to cached credentials, expired tokens, or network connection blocks.
Why does browser sign-in work but Mac app activation fails?
Web browsers handle authentication cookies and sessions differently than native desktop applications. Local system caches, corrupted macOS keychain entries, or firewall settings can block the desktop app from authenticating even when browser sign-in succeeds.
How do I use the Microsoft Office License Removal Tool?
You need to download the License Removal Tool directly from Microsoft's official support page, run the downloaded setup package, follow the prompts to clear out all local Microsoft license files, and then restart your Mac before attempting to activate Office again.
Will I lose my files if I create a new Mac user profile to test activation?
No, your personal files remain safely stored in your original macOS user profile. Creating a new profile simply provides a fresh environment with default settings to test if corrupted user-specific configurations are causing the 50058 activation error.




