TechBuzzPro

Fix macOS Mail App Failing to Authenticate with Microsoft

· 5 min read · Mac

In this article
  1. What You'll Need
  2. Step-by-Step
  3. Common Mistakes
  4. Tips
  5. Troubleshooting
  6. Frequently Asked Questions

If your macOS Mail app keeps saying it can't authenticate with your Microsoft account (Outlook.com, Office 365, or Exchange), the quickest fix is usually to remove the account from Mail and re-add it, then sign in through the browser window that pops up. This forces a fresh OAuth token, which is what Microsoft requires for security. Below are the exact steps, plus what to do if that doesn't work.

What You'll Need

  • Your Microsoft account password (or a way to get a verification code, like your phone)
  • An internet connection
  • Your Mac's administrator password (if you need to reset Keychain access)

Step-by-Step

  1. Open Mail app preferences. In Mail, go to Mail > Settings (or Preferences on older macOS) and click the Accounts tab.
  2. Find your Microsoft account. Look for the account that's failing (e.g., Outlook.com, Office 365, or Exchange). Note the email address.
  3. Remove the account. Select the account and click the minus (−) button at the bottom of the account list. Confirm you want to remove it. This does not delete your emails from the server—they stay in your Microsoft mailbox.
  4. Re-add the account. Click the plus (+) button and choose Add Other Mail Account (or Exchange if you have a work/school account). Enter your full email address and password, then click Sign In.
  5. Complete the browser sign-in. A browser window will open asking you to sign in to Microsoft. Enter your password and, if prompted, complete two-factor authentication. This step is crucial—it's how Mail gets a secure token instead of just using your password.
  6. Allow the connection. After signing in, you may see a page asking if you want to allow the Mail app to access your account. Click Yes or Allow.
  7. Check Mail. Go back to Mail. The account should appear in the sidebar. If Mail asks which apps to use (Mail, Contacts, Calendars), make sure Mail is checked.
  8. Force quit and reopen Mail. If it still shows an error, quit Mail completely (Cmd+Q) and reopen it. This refreshes the connection.

Common Mistakes

  • Not completing the browser sign-in. Some users skip the browser step or close it early. Mail needs that token to authenticate—without it, you'll get the same error.
  • Using an app password when two-factor is on. If you have two-factor authentication enabled, you can't use your regular password directly in Mail. The browser sign-in handles this, so don't try to create an app password—it's not needed for OAuth.
  • Removing the account but not re-adding it. If you remove it and then just close the window, you'll have no account at all. Make sure you finish the re-add process.
  • Typing the email address wrong. Double-check the address, especially if you have multiple Microsoft accounts (e.g., @outlook.com vs. @hotmail.com).
  • Not checking Keychain. Old stored passwords can interfere. If re-adding doesn't work, you may need to clear the old entry (see Troubleshooting).

Tips

  • Update macOS. Make sure your Mac is running the latest version of macOS. Older versions may have compatibility issues with Microsoft's authentication.
  • Use the Outlook app as a fallback. If Mail keeps failing, you can download the official Outlook app from the Mac App Store. It's designed to work seamlessly with Microsoft accounts.
  • Check your Microsoft account security. Log in to account.microsoft.com in a browser and verify your account is active and not locked. Also check if there's a security alert that needs your attention.
  • Keep Mail and macOS up to date. Mail updates come with macOS updates, so enabling automatic updates can prevent future auth issues.

Troubleshooting

If re-adding the account didn't fix it, try these in order:

  1. Restart your Mac. A simple restart can clear temporary glitches.
  2. Check Microsoft's service status. Visit the Microsoft 365 Service Status page (or the Outlook.com status page) to see if there's an ongoing outage. If there is, wait and try again later.
  3. Clear the old Keychain entry. Open Keychain Access (in Utilities), search for your email address or "Microsoft", and delete any entries related to the Mail app. Then re-add the account. This is safe—it only removes saved passwords, not your emails.
  4. Create a new Mail account profile. In Mail, go to Mail > Settings > Accounts, and instead of editing the existing one, remove it and add a new one with a different name (e.g., "Work Email"). This can reset the connection state.
  5. Check if your Microsoft account requires a different server. For personal accounts, Mail usually auto-configures. For work/school accounts, your IT admin may have specific server settings. Contact them if auto-setup fails.
  6. Reset Mail's preferences. Quit Mail, then in Finder go to Go > Go to Folder and type ~/Library/Preferences. Find the file com.apple.mail.plist and move it to your Desktop (this resets Mail's settings). Reopen Mail and re-add your account. This is safe but will reset your Mail preferences like signatures and rules.
  7. If nothing works, use a different email client. The Outlook app or the web version at outlook.com will still work. This is not a fix for Mail, but it ensures you can access your email.

Frequently Asked Questions

Why does Mail keep asking for my password even after I re-added the account?

This usually happens when the OAuth token didn't get saved properly. Try removing the account again, then re-adding it and making sure you complete the browser sign-in fully. Also clear the Keychain entry as described above.

Do I need an app password for Microsoft accounts?

No, not if you're using the modern macOS Mail app. It uses OAuth, which handles two-factor automatically. App passwords are only for older apps that don't support OAuth.

Will removing my account delete my emails?

No. Removing the account from Mail only removes it from the Mail app. Your emails remain on Microsoft's servers. When you re-add the account, all your emails will reappear.

Can I use the same Microsoft account on multiple Macs?

Yes, you can add the same account to multiple Macs. Each Mac will need to authenticate separately, but that's fine.

What if my work/school account requires a VPN or specific network?

If your organization uses conditional access policies, you might need to be on your corporate network or VPN to authenticate. Check with your IT department.

Why does Mail work on my iPhone but not on my Mac?

Each device has its own authentication token. The Mac's token may have expired or been revoked. Re-adding the account on the Mac should fix it.