Commands › Exchange Online

Get-MailboxRepairRequest

Exchange Online ExchangeOnlineManagement Get-*

Display information about current mailbox repair requests. Mailbox repair requests are created using the New-MailboxRepairRequest cmdlet to detect and fix mailbox corruptions.

Quick start script

# Get-MailboxRepairRequest — 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-MailboxRepairRequest -Identity <StoreIntegrityCheckJobIdParameter> -Database <DatabaseIdParameter> -Mailbox <MailboxIdParameter> | Format-List

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

Syntax — 3 parameter sets

Database

Get-MailboxRepairRequest [-Database] <DatabaseIdParameter> [[-StoreMailbox] <StoreMailboxIdParameter>]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Identity

Get-MailboxRepairRequest [-Identity] <StoreIntegrityCheckJobIdParameter> [-Detailed]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Mailbox

Get-MailboxRepairRequest [-Mailbox] <MailboxIdParameter> [-Archive]
 [-DomainController <Fqdn>]
 [<CommonParameters>]

Parameters (7)

ParameterTypeRequiredWhat it controls
-Identity StoreIntegrityCheckJobIdParameter yes The Identity parameter specifies the mailbox repair request to display information about. Mailbox repair requests are identified by a complex GUID that is created when a new mailbox repair request is created. This...
-Database DatabaseIdParameter yes The Database parameter returns mailbox repair requests for all mailboxes on the specified database. You can use any value that uniquely identifies the database. For example:
-Mailbox MailboxIdParameter yes The Mailbox parameter specifies the mailbox that you want to get mailbox repair request information about. You can use any value that uniquely identifies the mailbox. For example:
-StoreMailbox StoreMailboxIdParameter The StoreMailbox parameter specifies the mailbox GUID of the mailbox that you want to get mailbox repair request information about. Use this parameter with the Database parameter.
-Archive SwitchParameter The Archive switch displays information about the associated archive mailbox if the archive mailbox was included when the mailbox repair request was created. You don't need to specify a value with this switch.
-Detailed SwitchParameter Use the Detailed parameter to display mailbox-level repair tasks associated with the repair request. You don't need to specify a value with this switch.
-DomainController Fqdn The DomainController parameter specifies the domain controller that's used by this cmdlet to read data from or write data to Active Directory. You identify the domain controller by its fully qualified domain name...

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