Home › Knowledgebase › KB-763

How to fix macOS Mail app failing to authenticate with Microsoft 365 after password change

Summary

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

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

If you have recently changed your Microsoft 365 password, the Mail app on macOS may continue to prompt you for credentials or fail to send and receive messages. This happens because the app is still using cached authentication tokens or stored credentials from your previous password. Follow the steps below to re-authenticate your account and restore mail functionality.

Warning: Microsoft 365 uses Modern Authentication and OAuth2 token caching. Even after you remove an account from the Mail app, authentication tokens may remain stored in the macOS Keychain. If you do not clear these cached credentials, the Mail app may continue to attempt authentication with the old token and fail to accept your new password.

Before You Begin

Identify Your Account Type

Authentication flows differ depending on whether you are using a work or school Microsoft 365 account managed by an organisation, or a personal Microsoft account (such as @outlook.com or @hotmail.com). Work and school accounts are typically subject to organisational policies, including conditional access and Multi-Factor Authentication (MFA) requirements. Personal accounts use the standard Microsoft consumer sign-in flow. Confirm your account type before proceeding, as some troubleshooting steps—such as checking for account lockout—apply only to work or school accounts.

Check Microsoft 365 Service Status

Before troubleshooting your Mac, confirm that Microsoft 365 services are operational. Visit the Microsoft 365 Service Health page or your organisation's admin portal to verify there are no ongoing outages affecting Exchange Online authentication or mail services. If a service incident is reported, wait for Microsoft to resolve it before attempting client-side fixes.

Quick Fix Steps

  1. Quit the Mail app completely.
  2. Open System Settings and navigate to Internet Accounts.
  3. Select your Microsoft 365 account and remove it.
  4. Clear cached credentials from Keychain Access (see detailed instructions below).
  5. Re-add the account using your updated password.
  6. Restart the Mail app and test sending and receiving messages.

Detailed Instructions

Remove the Microsoft 365 Account

Depending on your macOS version, accounts may be managed through Internet Accounts in System Settings, or directly within the Mail app.

macOS Ventura and Later (System Settings)

  1. Open the Apple menu and select System Settings.
  2. Scroll down the left-hand sidebar and click Internet Accounts.
  3. Locate your Microsoft 365 or Outlook account in the list on the right.
  4. Select the account and click the minus (-) button at the bottom of the list.
  5. When prompted, confirm that you want to remove the account.

Older macOS Versions (System Preferences)

  1. Open the Apple menu and select System Preferences.
  2. Click Internet Accounts.
  3. Select your Microsoft 365 account from the list on the left.
  4. Click the minus (-) button and confirm removal.

Mail App Accounts (All macOS Versions)

Some macOS versions store mail accounts directly within the Mail app rather than in Internet Accounts.

  1. Open the Mail app.
  2. From the menu bar, click Mail > Settings (or Preferences on older macOS).
  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 list and confirm removal.

Clear Cached Credentials from Keychain Access

Microsoft 365 Modern Authentication stores OAuth2 tokens in the macOS Keychain. These tokens can persist after account removal and cause repeated authentication failures.

  1. Open Finder, go to Applications > Utilities, and double-click Keychain Access.
  2. In the top-right search field, type microsoft, outlook, exchange, or your email address.
  3. Look for items labelled Microsoft Office Identities Cache, Microsoft Office Identities Token, Exchange, or Outlook.
  4. Select each relevant item, right-click, and choose Delete.
  5. If prompted, enter your Mac administrator password to authorise the deletion.
  6. Repeat the search for adal and msal to locate any additional Microsoft authentication library tokens, and delete them as well.
  7. Quit Keychain Access.

Re-Add the Account

  1. In Internet Accounts (or Mail app Accounts settings), click the plus (+) button.
  2. Select Microsoft Exchange from the list of providers.
  3. Enter your full Microsoft 365 email address and click Sign in.
  4. Enter your updated password when prompted.
  5. If Multi-Factor Authentication (MFA) is enabled, complete the verification step using your authenticator app or SMS code.
  6. Ensure Mail is toggled on, then click Done.

Verify Mail Functionality

  1. Open the Mail app from your Dock or Applications folder.
  2. Wait for the account to synchronize. You may see a progress indicator in the sidebar.
  3. Send a test email to your own address to confirm outgoing mail is working.
  4. Check that new messages arrive in your inbox.

Troubleshooting

Password Prompt Keeps Returning

If Mail continues to ask for your password after re-adding the account, try the following:

Account Lockout or Conditional Access Policy

If your work or school account is locked, or if your organisation enforces conditional access policies, authentication may fail even with the correct password.

MFA Device Unavailable or Lost

If you cannot complete Multi-Factor Authentication because your authenticator app or registered device is unavailable:

App Passwords for Legacy Authentication

Some older macOS versions or mail configurations may not support Modern Authentication and OAuth2. In these cases, Microsoft 365 may require an app password instead of your regular account password.

Mail App is Unresponsive or Crashing

Tip: If you use the Microsoft Outlook app instead of Apple Mail, you may need to sign out and sign back in there as well after a password change.
Caution: Removing the account from Internet Accounts will also remove associated calendars and contacts synced through that account. These will resynchronize automatically once you re-add the account.

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

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