Enable Out of Office external replies on migrated mailbox

Mike Elias1 5 Reputation points
2023-06-22T13:23:47.35+00:00

We recently began migrating users from Exchange 2016 to Online. One of our mailboxes had external out of Office messages disabled when it was migrated. Now that mailbox is unable to send external oof messages. I have tried several of the consoles and powershell commands, all to no avail. When mailboxes are on-prem I can use the set-mailbox -<mailbox> -externaloofoptions external command. There is no corresponding command online.

Our remote domain has been set to both external and external/legacy.

I have used Set-MailboxAutoReplyConfiguration -Identity <UserPrincipalName> -ExternalAudience All and other commands to turn on autoreplies, as well as a console to do the same, but I have not found a console or command that enables external auto replies.

I am about to the point of migrating the mailbox back to on-premise, modifying it and then migrating it back to the cloud.

Any assistance with this would be greatly appreciated.

Thank you,

Microsoft Exchange Online Management
Microsoft Exchange Online Management
Microsoft Exchange Online: A Microsoft email and calendaring hosted service.Management: The act or process of organizing, handling, directing or controlling something.
4,494 questions
Microsoft Exchange Hybrid Management
Microsoft Exchange Hybrid Management
Microsoft Exchange: Microsoft messaging and collaboration software.Hybrid Management: Organizing, handling, directing or controlling hybrid deployments.
2,076 questions
{count} vote

5 answers

Sort by: Most helpful
  1. Deleted

    This answer has been deleted due to a violation of our Code of Conduct. The answer was manually reported or identified through automated detection before action was taken. Please refer to our Code of Conduct for more information.


    Comments have been turned off. Learn more

  2. Jarvis Sun-MSFT 10,191 Reputation points Microsoft Vendor
    2023-06-23T02:38:55.4333333+00:00

    Hi @Mike Elias1 , thanks for posting in our Q&A forum.

    Have you tried the Parameters option -AutoReplyState Enabled? Example as follows:

    Set-MailboxAutoReplyConfiguration -Identity tony@contoso.com -AutoReplyState Enabled  -ExternalMessage "External auto-reply message." -ExternalAudience All
    

    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.

    0 comments No comments

  3. Mike Elias1 5 Reputation points
    2023-06-23T12:16:00.76+00:00

    Hi @Jarvis Sun-MSFT , yes we have tried that. We are able to turn on internal notifications using this, but after running the command, externalaudience goes back to none.

    Thank you for the reply.


  4. Mike Elias1 5 Reputation points
    2023-06-27T14:17:08.7333333+00:00

    @Jarvis Sun-MSFT

    Ok, I tried to add a comment to your response, but I don't see it here, so I will post it again. Apologies if it shows up twice.

    I ran the command to turn on autoreplies with external audience set to all. I then ran the get-autoreply command, and external audience was set back to none again. See the text below.

    Thank you for your assistance.

    -Mike

    PS C:\Program Files\PowerShell\7> set-mailboxautoreplyconfiguration -id xxxxxxxxx -Externalaudience all -autoreplystate enabled
    PS C:\Program Files\PowerShell\7> Get-MailboxAutoReplyConfiguration -id xxxxxxxxx
    
    AutoDeclineFutureRequestsWhenOOF : False
    AutoReplyState                   : Enabled
    CreateOOFEvent                   : False
    DeclineAllEventsForScheduledOOF  : False
    DeclineEventsForScheduledOOF     : False
    EventsToDeleteIDs                :
    EndTime                          : 6/28/2023 10:00:00 AM
    ExternalAudience                 : None
    ExternalMessage                  : <html>
                                       <body>
                                       I will be out of the office with limited access to email. If you need immediate assistance, contact xxx-xxx-xxxx. Thank you
                                       </body>
                                       </html>
    
    InternalMessage                  : <html>
                                       <body>
                                       &#65279; I will be out of the office with limited access to email. If you need immediate assistance, contact xxx-xxx-xxxx. Thank you!
                                       </body>
                                       </html>
    
    DeclineMeetingMessage            :
    OOFEventSubject                  :
    StartTime                        : 6/27/2023 10:00:00 AM
    Recipients                       :
    ReminderMinutesBeforeStart       : 0
    ReminderMessage                  :
    MailboxOwnerId                   : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    Identity                         : xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx
    IsValid                          : True
    ObjectState                      : Unchanged
    
    
    

  5. Elias, Mike 0 Reputation points
    2024-08-21T17:53:58.01+00:00

    Posting under a different account than the original.

    Sometimes, doing nothing will fix the issue. The person who could not auto-reply outside the organization took a position in a different area of the organization. That person received a new account and mailbox. Problem solved. (sort of)

    Mike Elias.

    0 comments No comments

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.