Commands › Exchange Online

Get-MailboxAutoReplyConfiguration

Exchange Online ExchangeOnlineManagement Get-*

Retrieve Automatic Replies settings for a specific mailbox.

Quick start script

# Get-MailboxAutoReplyConfiguration — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org

# 2. Run and inspect
Get-MailboxAutoReplyConfiguration -Identity <MailboxIdParameter> | Format-List

# 3. Export for evidence / drift tracking
Get-MailboxAutoReplyConfiguration | Export-Clixml .\MailboxAutoReplyConfiguration-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-MailboxAutoReplyConfiguration [-Identity] <MailboxIdParameter>
 [-Credential <PSCredential>]
 [-DomainController <Fqdn>]
 [-ReadFromDomainController]
 [-ResultSize <Unlimited>]
 [-UseCustomRouting]
 [<CommonParameters>]

Parameters (6)

ParameterTypeRequiredWhat it controls
-Identity MailboxIdParameter yes The Identity parameter specifies the mailbox that you want to view. You can use any value that uniquely identifies the mailbox. For example:
-Credential PSCredential The Credential parameter specifies the username and password that's used to run this command. Typically, you use this parameter in scripts or when you need to provide different credentials that have the required permissions.
-DomainController Fqdn This parameter is available only in on-premises Exchange.
-ReadFromDomainController SwitchParameter The ReadFromDomainController switch specifies that information should be read from a domain controller in the user's domain. You don't need to specify a value with this switch.
-ResultSize Unlimited The ResultSize parameter specifies the maximum number of settings to return. If you want to return all settings that match the command, use unlimited for the value of this parameter.
-UseCustomRouting SwitchParameter This parameter is available only in the cloud-based service.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.