Home › Knowledgebase › KB-851

How to fix macOS Mail app failing to authenticate with Office 365 after changing your Microsoft 365 password

Summary

This guide helps you troubleshoot and resolve: How to fix macOS Mail app failing to authenticate with Office 365 after changing your Microsoft 365 password. Follow the steps below to fix the issue.

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

Warning: Before removing your Microsoft 365 account from the macOS Mail app, be aware that any mailboxes, rules, signatures, or smart folders stored locally under "On My Mac" may be deleted. These items are not synced to the Microsoft 365 server. Export or back up any local mailboxes before proceeding.

If you have recently changed your Microsoft 365 password, the macOS Mail app may stop authenticating your account. This usually happens because the app is still attempting to sign in using your previous credentials. This guide helps Australian small business users clear stored passwords and reconnect their Microsoft 365 email account to macOS Mail.

Important: macOS Mail relies on Microsoft 365 Modern Authentication (OAuth2). Older versions of macOS may not support Modern Authentication. If your Mac is running an older version, you may need to use an App Password or switch to Outlook for Mac instead of the default Mail app.
Warning: Deleting Microsoft 365 entries from Keychain Access may affect other Microsoft services using cached credentials, including Microsoft Teams, OneDrive, and Office applications. You may be prompted to sign in again to those apps after clearing the Keychain.

Before you begin

  1. Open a web browser and go to portal.office.com.
  2. Sign in using your full Microsoft 365 email address and your new password.
  3. Confirm that you can access your email and inbox successfully. If you cannot sign in here, the issue is with your Microsoft 365 account credentials, not the macOS Mail app.

Quick Fix Steps

  1. Quit the Mail app completely.
  2. Open Keychain Access and delete the cached Microsoft 365 password entries.
  3. Restart the Mail app or your Mac.
  4. Remove the Microsoft 365 account from Mail Settings or Preferences.
  5. Re-add your Microsoft 365 account using your new password.

Detailed Instructions

Step 1: Clear the cached password from Keychain Access

  1. Close the Mail app if it is currently open.
  2. Press Command + Space to open Spotlight Search.
  3. Type Keychain Access and press Return.
  4. In the search bar at the top right, type your Microsoft 365 email address.
  5. Locate the entries related to your Microsoft 365 email address.
  6. Right-click the entry and select Delete.
  7. Confirm the deletion when prompted.
Note: After deleting Keychain entries, restart the Mail app or restart your Mac before re-adding the account. This ensures cached credentials are fully cleared from memory.

Step 2: Remove the account from macOS Mail

The menu name differs depending on your macOS version:

  1. Open the Mail app.
  2. Click Mail in the top menu bar and select Settings or Preferences as appropriate for your macOS version.
  3. Click the Accounts tab.
  4. Select your Microsoft 365 account from the list on the left.
  5. Click the - (minus) button at the bottom of the window to remove the account.
  6. Click OK to confirm.
Warning: Removing the account from Mail may delete local mailboxes, rules, signatures, and smart folders stored under "On My Mac". Emails stored on the Microsoft 365 server will not be affected, but any local-only content may be lost. Back up local mailboxes before removing the account.

Step 3: Re-add your Microsoft 365 account

  1. With Mail open, click Mail in the top menu bar and select Add Account.
  2. Select Microsoft Exchange from the list of providers.
  3. Enter your full Microsoft 365 email address and click Continue.
  4. When prompted, enter your new Microsoft 365 password.
  5. Follow the on-screen prompts to complete Modern Authentication (OAuth2). You may be redirected to a Microsoft sign-in window.
  6. If Multi-Factor Authentication (MFA) is enabled, approve the sign-in request on your mobile device or authenticator app.
  7. Select which apps you want to use with this account (for example, Mail, Contacts, Calendars) and click Done.
Note: If your organisation requires App Passwords due to legacy authentication or older macOS versions, generate an App Password in your Microsoft account security settings and use that instead of your regular password when re-adding the account.

Troubleshooting

Authentication loop or repeated password prompts

"Account already exists" error when re-adding

Mail app fails to sync after reconnecting

Exchange Autodiscover failures

Account lockout in Microsoft 365 admin center

macOS version compatibility

Note: If you use Outlook for Mac instead of the default Mail app, the process is similar: go to Outlook > Settings or Preferences > Accounts to remove and re-add your profile.

If you continue to experience authentication errors after following these steps, please Open a Ticket with our support team.

Still Having Issues?

Need more help? If the issue persists after trying these steps, please open a support ticket and our team will assist you.

💻 Open a Ticket