Set Out Of Office
Enable or disable mailbox out-of-office notifications
Last updated
Was this helpful?
Enable or disable mailbox out-of-office notifications
Configures automatic replies for a mailbox and can optionally create an out-of-office calendar event. The runbook can either enable scheduled replies with internal and external messages or disable existing out-of-office settings.
User → Mail → Set Out Of Office
Full Runbook name
rjgit-user_mail_set-out-of-office
Type: Office 365 Exchange Online
Exchange.ManageAsApp
Exchange administrator
User principal name of the mailbox. This value is auto-filled by the portal.
Required
true
Default Value
Type
String
Select whether to enable out-of-office notifications or disable existing out-of-office settings.
Required
false
Default Value
False
Type
Boolean
Start time for scheduled out-of-office replies.
Required
false
Default Value
(Get-Date)
Type
DateTime
End time for scheduled out-of-office replies. If not specified, it defaults to 10 years from the current date.
Required
false
Default Value
((Get-Date) + (New-TimeSpan -Days 3650))
Type
DateTime
Internal automatic reply message.
Required
false
Default Value
Sorry, this person is currently not able to receive your message.
Type
String
External automatic reply message.
Required
false
Default Value
Sorry, this person is currently not able to receive your message.
Type
String
Controls who receives external automatic replies. Use None to send no external replies, Known to send replies only to known external contacts, or All to send replies to all external senders.
Required
false
Default Value
All
Type
String
If set to true, creates an out-of-office calendar event.
Required
false
Default Value
False
Type
Boolean
Subject for the optional out-of-office calendar event.
Required
false
Default Value
Out of Office
Type
String
Last updated
Was this helpful?
Was this helpful?