This article applies to:
Exchange 2016, Exchange Online, Office 365
Let’s say you have a shared mailbox Marketing, used by the marketing department and you want to set an OOF message during holidays.
Setting an OOF message on a shared mailbox is actually possible, and you can achieve that by using PowerShell. Here is an command example:
Set-MailboxAutoReplyConfiguration -Identity Marketing -AutoReplyState Enabled -InternalMessage "OOF message for internal recipients" -ExternalMessage "OOF message for external recipients"
You can also set additional options, for example exact time when the on will be turned on and turned off, to automatically refuse meeting requests during the period.
To get full details on possible use the following command:
Get-Help Set-MailboxAutoReplyConfiguration -Full
In order to check what is actually set, use the Get- equivalent of the command
Get-MailboxAutoReplyConfiguration -Identity Marketing