Skip to content
86% off$349 $48.86code BF2026

Guides

Mail "Connections to host (null)" Exchange Error on macOS 27

Mail on macOS 27 stops syncing Exchange with "Connections to host (null) on the default ports failed". Apple's stated cause, the admin fix, and workarounds.

TroubleshootingUpdated 7 min read

On this page

Your Exchange or Microsoft 365 account in Apple Mail shows a warning triangle and "Connections to host (null) on the default ports failed". Connection Doctor says the login succeeded, and the same mailbox still works on your iPhone and in Outlook.

Why it happens

Neither Apple nor Microsoft explains the exact "(null)" wording. The likely background, as of November 2026, is the retirement of Exchange Web Services (EWS) in Exchange Online:

  • Microsoft is retiring EWS. Phased disablement begins October 1, 2026, with permanent retirement on April 1, 2027. Apple's deployment documentation lists Exchange Web Services (EWS) for Mac.
  • Apple has not finished the move to Graph. Apple says it is working with Microsoft to update Mail, Calendar, Contacts, Notes, and Reminders to use the Graph API in a future update to macOS 27.
  • Apple's guidance for affected accounts. Beginning October 2026, if Mail, Calendar, Contacts, Notes and Reminders can no longer sync with Exchange, or you can no longer sign in, Apple says to contact your Exchange administrator.

Users on forums report something more specific. Mail's logs show 48 "Too Many Requests" (HTTP 429) answers in six seconds and 24 server rediscoveries. In plain terms, Mail keeps asking and the server keeps telling it to back off. Nobody has confirmed that this is the same problem as the EWS change. It fits the timing, so treat it as a likely link, not a diagnosis.

Microsoft's rollout is gradual, so it can reach different tenants on different days. On-premises Exchange is a separate case: Mozilla's support page notes that on-premises Microsoft Exchange accounts can continue to use EWS.

Step-by-step fixes

1. Ask your Exchange admin to allow Mail (work and school accounts)

This is the only fix Apple documents. It is a tenant setting, so you can't do it from your Mac.

  1. Send your admin Apple's article, If you can no longer sign in with a Microsoft Exchange account on macOS.
  2. Ask them to confirm EWS is enabled for your organization. Apple says that to keep using EWS beyond October 2026, admins must confirm EWS is enabled and add Apple Internet Accounts to their EWS allow list.
  3. After they change it, wait for it to apply (people on Microsoft's Q&A forum report it can take hours, even a day), then quit Mail and reopen it. If the triangle stays, remove and re-add the account (fix 4).

Microsoft's own pages say the same thing from the other side: customers should plan to migrate EWS-based applications to Microsoft Graph. Details are in Microsoft's deprecation timeline for EWS in Exchange Online.

2. Install pending macOS updates

Apple's wording ("a future update to macOS 27") points to the real fix arriving as a macOS update.

  1. Open System Settings.
  2. Choose General > Software Update.
  3. Install anything offered, restart, and open Mail.

If you're on a release candidate or beta, look for a newer build. For a mailbox you rely on, a pre-release macOS that breaks it is a poor trade.

3. Read your mail somewhere else while you wait

Your mail is still on the server. You only need a client that reaches it another way.

  • Webmail in a browser, or your iPhone. Users report that mail still arrives on the iPhone.
  • Outlook for Mac (current version). Users report it keeps receiving mail. Microsoft says the legacy Outlook for Mac client will stop working against Exchange Online mailboxes starting October 2026, so make sure you use the current Outlook, not the legacy one. See Microsoft's end-of-support page.
  • Thunderbird. Mozilla says Microsoft Graph support is available in Thunderbird versions 154 and higher, and that it does not migrate accounts between protocols, so you set up a new account. Steps are in Mozilla's EWS to Graph migration article. We haven't checked whether it connects to your specific tenant.

4. Toggle or re-add the account (low odds)

None of the threads we saw report this fixing the "(null)" error, and it can't change a server-side cause. It is cheap, and it helps if Mail is stuck after your admin changes the allow list.

  1. Open System Settings and search for "Internet Accounts".
  2. Select your Exchange account.
  3. Turn Mail off, wait a few seconds, then turn it on again.
  4. If that fails, remove the account, restart, and add it again with Sign In (avoid manual server settings).

Removing the account deletes its local copy from this Mac only. Mail on the server stays. Before you remove it, make sure you know your sign-in details and that your admin allows the account to be added again.

Quick reference

What you seeLikely causeWhat to do
Triangle, "(null)" error, Connection Doctor passesEWS blocked for the tenant, or Mail not yet on GraphAdmin fix (1), update (2), other client (3)
Mail asks for the password and rejects itChanged sign-in rules or a stuck account (March 2025 thread)Test sign-in in a browser, then re-add (4)
Works in Outlook and on iPhone onlyThose clients reach the mailbox differentlyKeep using them until Apple ships the update
On-premises ExchangeNot the Exchange Online EWS retirementAsk your admin to investigate

If Mail asks for your password and rejects it

A March 2025 thread describes a related symptom: Mail asks you to re-enter the Exchange password and refuses it. If that's what you see:

  1. Sign in to the mailbox in a browser to confirm your credentials work.
  2. If the browser sign-in works, repeat fix 4.
  3. If the browser sign-in fails or asks for something new, your organization's sign-in rules may have changed. Ask your admin.

Where Mailloft helps, and where it doesn't

Mailloft doesn't fix Mail's Exchange problem. Mailloft is our email client. It uses IMAP for reading and SMTP for sending, with no Exchange (EWS or ActiveSync) and no Microsoft Graph. At best it gives you a second route to the same mailbox over IMAP, and it isn't a calendar or contacts app.

That route works only if both of these are true:

  • IMAP and SMTP are allowed for your mailbox. For Microsoft 365, your organization must allow them.
  • Microsoft accepts an app password. Mailloft's Microsoft sign-in needs a registered application ID built into the app, and we haven't confirmed the published download includes one. Without it, Mailloft shows "Microsoft sign-in isn't set up in this copy of Mailloft." and a Use an App Password button. Its setup text warns that many Microsoft accounts no longer accept app passwords.

To try it (full steps in Add an email account to Mailloft):

  1. Choose Add Account and enter Your name and Email address.
  2. Check the provider card. Outlook is picked for outlook.com, hotmail.com, live.com and msn.com. For a custom domain, Mailloft does one MX lookup when you press Continue and recognizes Microsoft 365 hosting.
  3. If Microsoft sign-in is offered, use it. Otherwise choose Use an App Password.
  4. On the Servers step, outlook.com accounts use outlook.office365.com (IMAP, port 993) and smtp-mail.outlook.com (port 587, STARTTLS). Microsoft 365 custom domains use outlook.office365.com (993) and smtp.office365.com (587, STARTTLS).
  5. Test Connection runs on that step. If it fails, your account probably needs Microsoft sign-in, or IMAP is off.

If you see "Microsoft accepted your sign-in, but the mailbox refused IMAP or SMTP", your organization has turned IMAP or SMTP off, and only an admin can change that. Each MacSuite app runs free for 7 days with no sign-up, so you can test before paying. More detail is on Outlook, Hotmail and Microsoft 365 accounts in Mailloft. For a managed work mailbox with IMAP disabled, use Outlook or webmail instead.

Checklist before you contact anyone

  • The account type is confirmed (Microsoft 365, Outlook.com, or on-premises Exchange).
  • Software Update shows nothing pending.
  • The mailbox opens in a browser with the same sign-in.
  • You've tried toggling Mail off and on for the account.
  • You know your exact macOS version and build.

If nothing works

For a work account, your Exchange admin is the right first contact, because Apple's article sends you there. For a personal account, or if your admin has already allowed Apple Internet Accounts, contact Apple Support. Include the exact error, your macOS build, the account type, that Connection Doctor passes, that iPhone and Outlook still receive mail, and any "Too Many Requests" lines you can find in Console.

text
Subject: Mail on macOS 27 stops syncing Exchange account

Mail shows a warning triangle on my Exchange / Microsoft 365 account:
"Connections to host (null) on the default ports failed".

- macOS version and build: (fill in)
- Account type: (Microsoft 365 / Outlook.com / on-premises Exchange)
- Mail > Window > Connection Doctor reports the login succeeded
- The same mailbox receives mail on my iPhone and in Outlook
- Tried: Software Update, toggling Mail off/on in Internet Accounts, re-adding the account
- Started: (date)

Please confirm whether EWS is enabled for my mailbox and whether Apple Internet
Accounts is on the EWS allow list, or whether a macOS update is expected.

Common questions

Is my password wrong?

Probably not. Connection Doctor reports a successful login in these cases, and other clients still work with the same credentials. The failure is in the sync.

Will Apple fix this?

Apple says it is working with Microsoft on Graph support in a future macOS 27 update. We found no release date, so keep checking Software Update.

Does this affect on-premises Exchange?

The Exchange Online EWS retirement doesn't. If an on-premises account fails with this error, that is a different problem, and your admin should look at it.

Can I just use IMAP in Apple Mail instead?

Only if your organization allows IMAP and the account accepts the sign-in method Mail uses for it. We found no source confirming this works around the error, so check with your admin first.

Every app.
One purchase.