Key takeaway: Automatic replies look like a trivial feature, but they touch security, customer service, compliance, offboarding, and shared mailboxes. A good reply sets expectations without leaking travel details. A bad one confirms an address is live to spammers, loops with other auto-responders, floods a distribution list, or sits on a leaver's mailbox for years. Admins can set replies for users, schedule them, control what external senders see, apply organization-wide limits, and use them as a standard part of leaver and shared mailbox handling. This guide covers the user steps, the PowerShell, how the audience settings work, what the reply does not do, and how to run it at scale.

Everyone knows how to turn on an out-of-office message. Few organizations have a standard for what it says, who can see it, or how it is handled when a person leaves. This guide fills those gaps.

How Automatic Replies Work

An automatic reply is stored in the mailbox and sent by Exchange Online, so it works even when Outlook is closed. Key behaviors:

What Users Do

Outlook on the web and new Outlook. Open Settings, Mail, Automatic replies. Turn on Automatic replies, tick Send replies only during a time period, set the start and end, write the message, and decide whether to send replies outside the organization and to whom. Save.

Outlook for Windows (classic). Open File, Info, Automatic Replies. Choose Send automatic replies, tick Only send during this time range, set the times, and write the *Inside My Organization* and *Outside My Organization* tabs.

Mobile. In the Outlook app, open Settings, choose the account, then Automatic replies.

Tips for good replies.

  1. State the return date (or the date they will be reachable).
  2. Give an alternative contact with an email and, if suitable, a phone number.
  3. Say what to do for urgent matters.
  4. Keep the external message short and neutral. Do not say "I am on a beach in Spain until the 14th and my house is empty." Do not list travel details, personal circumstances, or that the person is away from the office more than needed.
  5. Mention the expected response time if you will check mail occasionally.
  6. Use plain text or simple formatting; some clients render rich HTML poorly.
  7. Always end it. Forgotten replies that are still active months later are a common embarrassment.

Example internal: "I'm out of the office until 4 January with limited access to email. For urgent matters contact Alex Smith (asmith@contoso.com). Otherwise I will reply when I return."

Example external: "Thank you for your message. I am away from the office until 4 January. For urgent matters please contact support@contoso.com."

Internal, External, and Known Contacts

The external audience setting is the key security decision.

SettingWho receives the reply
NoneOnly internal senders get a reply
KnownExternal senders who are in the user's Contacts get a reply
AllEvery external sender gets a reply

Why it matters:

A sensible default is Known for staff, All for support and sales mailboxes, and None for executives and finance. Organizations can also manage which kinds of automatic messages may leave the organization by remote domain settings (see below).

What Admins Do (PowerShell)

# Set a scheduled reply for a user Set-MailboxAutoReplyConfiguration -Identity jsmith@contoso.com ` -AutoReplyState Scheduled ` -StartTime "2026-12-20 08:00" -EndTime "2027-01-04 08:00" ` -InternalMessage "I'm out of the office until 4 January. For urgent matters contact Alex Smith at asmith@contoso.com." ` -ExternalMessage "Thank you for your message. I'm away until 4 January and will reply when I return." ` -ExternalAudience Known # Turn it on immediately with no end date Set-MailboxAutoReplyConfiguration -Identity jsmith@contoso.com -AutoReplyState Enabled # Turn it off Set-MailboxAutoReplyConfiguration -Identity jsmith@contoso.com -AutoReplyState Disabled # Check the current state Get-MailboxAutoReplyConfiguration -Identity jsmith@contoso.com | Format-List AutoReplyState, StartTime, EndTime, ExternalAudience, InternalMessage, ExternalMessage

Notes:

Import-Csv .\ooo.csv | ForEach-Object { Set-MailboxAutoReplyConfiguration -Identity $_.Mailbox -AutoReplyState Scheduled ` -StartTime $_.Start -EndTime $_.End -InternalMessage $_.Internal -ExternalMessage $_.External -ExternalAudience Known }

An admin needs the right role, and should keep a record when setting a reply for someone else. Setting a reply is changing a user's communications.

Leavers and Shared Mailboxes

Automatic replies are a standard part of offboarding:

  1. Convert the leaver's mailbox to a shared mailbox if the mail must be kept and read (see shared mailboxes and leavers).
  2. Set an enabled reply with no end date: "Alex no longer works at Contoso. Please contact support@contoso.com."
  3. Set the external audience to All for the leaver's mailbox so customers learn who to contact.
  4. Review the message after 3 to 6 months and remove the mailbox or replace the reply with forwarding to a shared address.
  5. If the person's address was a public contact, consider an alias on a shared mailbox instead of a reply.

For team addresses, a reply that sets response-time expectations ("We reply within one business day") reduces repeat emails and complaints.

Organization-Wide Controls (Remote Domains)

Exchange Online controls what automatic messages are allowed to leave through remote domains: Exchange admin center, Mail flow, Remote domains. The default remote domain (*) decides, for all external domains:

Get-RemoteDomain | Format-Table Name, DomainName, AutoReplyEnabled, AutoForwardEnabled, DeliveryReportEnabled, NDREnabled, AllowedOOFType Set-RemoteDomain -Identity Default -AutoReplyEnabled $true -AllowedOOFType External

AllowedOOFType values include External (the normal choice), InternalLegacy, and ExternalLegacy. Use the default unless you have a reason. To stop automatic replies leaving the organization entirely, set AutoReplyEnabled to $false for the default remote domain. That is blunt: it stops all automatic replies to external senders, including useful ones. Use it only for organizations with a strict reason.

You can also create a remote domain entry for a partner to behave differently from the rest of the internet.

Loops, Lists, and Other Pitfalls

Replies, Rules, and Calendar Status

NeedUse
Tell senders you are awayAutomatic reply
Redirect mail while awayInbox rule or forwarding (mind external-forward blocks)
Show you are away to colleaguesCalendar status Out of office plus automatic reply
Keep a team informedShared calendar or team status
Respond differently to specific sendersInbox rule with *reply using a template* (use carefully)
Notify external senders after leaving the companyReply on the converted mailbox, then forwarding

See inbox rules for the details on rules that reply or forward and for the security caution about forwarding.

A Simple Standard for the Organization

Publish a one-page standard:

  1. Staff set an automatic reply for any absence over one working day.
  2. Include the return date and a named alternative contact.
  3. The external audience is Known unless the mailbox is a team or support address.
  4. Do not include travel details or personal information.
  5. Managers check that replies are turned off when staff return.
  6. IT sets replies on leaver mailboxes and keeps them for a defined period.
  7. IT keeps a template for leaver messages in one place.

How to Check It Worked

Troubleshooting

SymptomLikely cause
External senders get no replyExternal audience is None or Known and the sender is not a contact, or the remote domain disables automatic replies
Internal reply works, external does notThe "outside my organization" option is off, or AutoReplyEnabled is false on the remote domain
Sender gets the reply only onceBy design: one reply per sender per period
Reply still active after returnIt was set to Enabled with no end, not Scheduled
Wrong timesMailbox time zone is wrong, or start and end were entered without a time zone in mind
Reply text garbledRich formatting or special characters. Use simple HTML or plain text
Cannot set the reply for a userMissing role, or the mailbox is on-premises (set it on-premises)
Replies go to a mailing listA rule replies to everything, or a list setting is allowing it
Shared mailbox reply comes from the wrong nameDisplay name of the shared mailbox is not set as intended

A Short Decision Guide

Related guides: shared mailboxes and leavers, inbox rules, and distribution groups.

Remote domain defaults and cmdlet parameters change over time, and I have not tested these settings in your tenant. Check Microsoft's current documentation and test with a pilot mailbox. If you want help standardizing replies and offboarding, get in touch.

Exchange Online Automatic Replies Offboarding PowerShell Remote Domains