Short answer: if an automatic reply is switched on but outside senders never get it, check the mailbox’s primary email address in the Exchange admin centre. Automatic replies are sent from the primary address. If it has been set to the yourbusiness.onmicrosoft.com address instead of your real domain, change it back to your own domain and send a test from an outside account.
A national manager at an engineering consultancy asked us to check the mailbox of a former staff member. An automatic reply had been set up to tell clients he had left and who to contact, but clients and prospects were calling to say they had emailed him and heard nothing back. Internal tests showed an “out of office” notice in Outlook, which made it look like everything was working. The automatic reply itself was set up correctly. The real problem was that the mailbox’s primary address had been changed to the Microsoft 365 onmicrosoft.com address. Here is what we found and how to fix it.
Fixed by Ellen Sawa-an, IT Support Specialist at GCIT. Written up by Elliot Munro, CISO.
Symptoms
- Automatic replies (out of office) are turned on for a mailbox, with the external message filled in and the audience set to everyone.
- People outside your business email that person and receive no automatic reply and no bounce.
- Staff inside the business see the yellow MailTip in Outlook when addressing the person, which says they have automatic replies turned on, so the problem is easy to miss.
- In the Exchange admin centre, the mailbox’s primary address ends in
.onmicrosoft.com, with your normal business address listed only as an alias.
This often shows up on mailboxes of staff who have left, where the automatic reply is the only thing directing clients to the right person. People search for it as “out of office not working for external senders”, “automatic replies not sent outside organisation”, “auto reply not received Microsoft 365” or “Exchange Online OOF not working”.
Affected Software
- Application: Exchange Online automatic replies, set from Outlook, Outlook on the web or the Exchange admin centre
- Platform: Microsoft 365
- Related Services: Mailbox email addresses (primary SMTP address and aliases), external email filtering
Cause
Every Microsoft 365 organisation has a built-in domain ending in .onmicrosoft.com. Each mailbox has one primary address, which is the address its sent mail comes from, plus any number of aliases. Automatic replies go out from the primary address.
When the primary address is the onmicrosoft.com one, the automatic reply reaches outside senders from an address they have never seen and that does not match your business. Many email security services treat this as suspicious and junk or block it, and Microsoft now limits how much external email an organisation can send from its onmicrosoft.com domain. The result is an automatic reply that is switched on but never seems to arrive. Your mailbox still receives email sent to the business address, because the alias still works, so nothing else looks wrong.
In our case nothing in the logs explained when or why the primary address had changed. Switching it back to the business domain fixed the automatic reply straight away.
Resolution
Step 1: Check the primary email address
- Sign in to the Exchange admin centre and go to Recipients > Mailboxes.
- Select the mailbox, then on the General tab select Manage email address types.
- Look for the address marked as the primary (shown in bold or as Primary email address). If it ends in
.onmicrosoft.com, that is the problem.
Step 2: Set your business address as the primary
- In the same panel, select your business address, for example
name@yourbusiness.com.au, and choose Set as primary email address. Leave the onmicrosoft.com address as an alias. - Select Save.
- If the mailbox belongs to a licensed user, you can also check Users > Active users > [user] > Manage username and email in the Microsoft 365 admin centre, which shows the same primary address.
In Exchange Online PowerShell the same change is:
Set-Mailbox -Identity name@yourbusiness.onmicrosoft.com -WindowsEmailAddress name@yourbusiness.com.au
If the user is synced from on-premises Active Directory, the cloud address cannot be edited. Change the primary address in Active Directory instead (the SMTP: entry in capitals in the user’s proxyAddresses attribute) and let Microsoft Entra Connect sync the change.
Step 3: Re-check the automatic reply
- In the Exchange admin centre, select the mailbox and open its automatic replies settings (or run
Get-MailboxAutoReplyConfiguration -Identity name@yourbusiness.com.au). - Confirm automatic replies are on, Send replies outside the organisation is ticked, the audience is Everyone outside my organisation if clients are not in the contacts list, and the external message is filled in.
- If you are not sure whether replies were being suppressed, turn automatic replies off, save, then turn them on again with the same message. This clears the list of people who have already been sent a reply.
Step 4: Test from outside the business
- Wait a few minutes for the change to apply.
- From a personal email account (not a work account in the same Microsoft 365 organisation), send a test email to the business address.
- Check the automatic reply arrives and comes from the business address, not the onmicrosoft.com one. Check the personal account’s junk folder too.
Important Notes
- Internal MailTips are not a test. The yellow notice Outlook shows when you address someone with automatic replies on only proves the setting is on. It says nothing about whether outside senders receive a reply.
- Each sender gets one reply. Exchange sends an automatic reply once per sender while the reply is on. A client who emailed twice will only get one reply, which is normal.
- Check the remote domain settings if no mailbox works. If automatic replies fail for everyone, check Mail flow > Remote domains in the Exchange admin centre and confirm automatic replies are allowed to external domains.
- For staff who have left, converting the mailbox to a shared mailbox keeps the automatic reply working without a licence. Our offboarding checklist covers the safe order.
Related Resources
- Microsoft Learn: Understanding and troubleshooting Out of Office (OOF) replies
- Microsoft Learn: Add or remove email addresses for a mailbox in Exchange Online
- Microsoft Learn: Set-MailboxAutoReplyConfiguration
- How to easily set Automatic Replies (Out of Office) on Shared Mailboxes in Office 365
- Microsoft 365 Offboarding Checklist, Done Safely
- Fix: 550 5.7.133 Distribution List Rejecting External Senders
- Fix: “550 5.0.350” Attachment File Type Not Allowed
- Microsoft 365 support and management from GCIT
If clients are not getting replies from your team’s mailboxes, or you want staff departures handled properly, get in touch with our team.