How to send automatic replies to only external contacts?

emk 0 Reputation points
2025-07-22T23:13:43.0533333+00:00

I am trying to set up automatic replies for a shared email address. We do not want auto replies to go to people inside our org, but need to have an auto-responder on for inquiries we get from outside contacts. I have read several threads on this and tried leaving the inside organization message blank and resetting, but it keeps sending blank auto-responses. Is there a work-around for this?

Thank you,

Elise

Outlook | MacOS | Legacy Outlook for Mac | For education
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Kudos-Ng 3,610 Reputation points Microsoft External Staff Moderator
    2025-07-23T09:33:44.7833333+00:00

    Hi emk

    Thank you for posting your question in the Microsoft Q&A forum. 

    I understand that you're trying to configure automatic replies for a shared mailbox so that only external senders receive the auto-response, while internal users do not. You've attempted to leave the internal message blank via the client UI, but it still sends out blank auto-replies internally. 

    Unfortunately, after spending time testing and researching, I’ve found that when you enable automatic replies through the client UI, the internal message field always defaults to a whitespace character. As a result, it’s not possible to completely suppress internal auto-replies using the UI alone. 

    However, I tested a PowerShell-based approach, and it does achieve the desired outcome. Please note that you’ll need an account with Exchange Online admin privileges to run the following steps: 

    Step 1: Install and connect to Exchange Online PowerShell 

    Install-Module -Name ExchangeOnlineManagement 
    Import-Module ExchangeOnlineManagement 
    Connect-ExchangeOnline 
    

    Step 2: Run the script to enable external-only auto-replies 

    Set-MailboxAutoReplyConfiguration -Identity yourshareemail@example.com -AutoReplyState Enabled -InternalMessage "" -ExternalMessage "External auto-reply message." -ExternalAudience All
    

    I hope this solution aligns with what you were looking for. Let me know if you have any further questions or need assistance running the script. 


    If the answer is helpful, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".         

    Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.


Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.