Home › Knowledgebase › KB-1103

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

Summary

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

Quick Tip: Need immediate assistance? 💻 Open a Ticket

Common Causes

After changing your Microsoft 365 password, the macOS Mail app may fail to authenticate because it is still attempting to connect using your previous credentials. This typically results in repeated password prompts or an "Account authentication failed" error. Updating the stored credentials within macOS will allow Mail to reconnect to your Microsoft 365 mailbox and resume sending and receiving messages.

Quick Fix Steps

  1. Open System Settings.
  2. Select Internet Accounts from the sidebar.
  3. Click your Microsoft Exchange or Office 365 account.
  4. Click Sign In or Reset Password.
  5. Enter your new Microsoft 365 password and complete any multi-factor authentication prompts.
  6. Restart the Mail app and verify that emails are syncing.

Detailed Instructions

Step 1: Open Internet Accounts

  1. Click the Apple menu in the top-left corner of your screen.
  2. Select System Settings.
  3. Scroll down the left-hand sidebar and click Internet Accounts.

Step 2: Update your Microsoft 365 Account

  1. Locate your Microsoft Exchange or Office 365 account in the list on the right.
  2. Click the account to select it.
  3. If a warning appears stating that the account needs attention, click Reset Password. Otherwise, click the account name or the Details button.
  4. When prompted, enter your new Microsoft 365 password.
  5. If you have multi-factor authentication enabled, follow the on-screen prompts to approve the sign-in via your authenticator app or SMS.
  6. Ensure the Mail checkbox is selected so that the account remains active in the Mail app.
  7. Click Done to save the changes.

Step 3: Restart the Mail app

  1. Quit the Mail app completely by pressing Command + Q or selecting Quit Mail from the Mail menu.
  2. Reopen Mail from your Dock or Applications folder.
  3. Wait a few moments for the app to synchronise your folders and messages.
Note on modern macOS versions: If you are running macOS Ventura, Sonoma, or Sequoia, clicking your Microsoft 365 account in Internet Accounts may open a web browser window for Microsoft authentication instead of showing an inline password field. Complete the sign-in process in the browser, then return to System Settings to confirm the account is connected.

Troubleshooting

Authentication prompt keeps appearing

If Mail continues to ask for your password after following the steps above, your Mac may be storing an outdated password in the keychain.

  1. Open Finder, then go to Applications > Utilities.
  2. Double-click Keychain Access.
  3. Use the search bar in the top-right to search for Office365 or Exchange.
  4. Right-click any entries related to your Microsoft 365 account and select Delete.
  5. Restart the Mail app and sign in again when prompted.

Mail app is offline or not syncing

  1. Open Mail and select Mailbox from the top menu bar.
  2. Click Get All New Mail or press Shift + Command + N.
  3. If the account remains offline, go to Mail > Settings > Accounts.
  4. Select your Microsoft 365 account and ensure the Account is enabled box is checked.
  5. Close Settings and restart Mail.

Using app-specific passwords

If your organisation enforces legacy authentication or you have two-factor authentication enabled that prevents direct password entry, you may need to generate an app-specific password for the macOS Mail app.

  1. Sign in to your Microsoft account security page using a web browser.
  2. Navigate to the Advanced security options or Additional security settings section.
  3. Locate the App passwords section and select Create a new app password.
  4. Give the password a descriptive name, such as macOS Mail, and copy the generated password.
  5. Return to System Settings > Internet Accounts.
  6. Select your Microsoft 365 account and click Reset Password.
  7. Paste the app-specific password into the password field instead of your regular Microsoft 365 password.
  8. Complete any remaining prompts and click Done to save.

Note: If you use the same Microsoft 365 account on an iPhone or iPad, you may also need to update the password in the iOS Mail app settings under Passwords & Accounts.

Warning: Avoid saving your password in plain text or sharing it via email. If you suspect your account has been compromised, change your password immediately via the Microsoft 365 admin portal.

If you continue to experience authentication issues after completing these steps, please Open a Ticket 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