Commands › Exchange Online

Get-MailboxImportRequestStatistics

Exchange Online ExchangeOnlineManagement Get-*

View detailed information about import requests. To use this cmdlet, you need to add the Mailbox Import Export role to a role group (for example, to the Organization Management role group). For more information, see Add a role to a role group.

Quick start script

# Get-MailboxImportRequestStatistics — 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-MailboxImportRequestStatistics -Identity <MailboxImportRequestIdParameter> -MRSInstance <Fqdn> -RequestQueue <DatabaseIdParameter> | Format-List

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

Syntax — 4 parameter sets

IdentityOnPremises

Get-MailboxImportRequestStatistics [-Identity] <MailboxImportRequestIdParameter>
 [-Diagnostic]
 [-DiagnosticArgument <String>]
 [-DomainController <Fqdn>]
 [-IncludeReport]
 [-ReportOnly]
 [<CommonParameters>]

IdentityCloud

Get-MailboxImportRequestStatistics [-Identity] <MailboxImportRequestIdParameter>
 [-DiagnosticInfo <String>]
 [-IncludeReport]
 [-IncludeSkippedItems]
 [-ReportOnly]
 [<CommonParameters>]

MigrationMRSInstance

Get-MailboxImportRequestStatistics -MRSInstance <Fqdn>
 [-DomainController <Fqdn>]
 [-RequestGuid <Guid>]
 [<CommonParameters>]

MigrationRequestQueue

Get-MailboxImportRequestStatistics -RequestQueue <DatabaseIdParameter>
 [-Diagnostic]
 [-DiagnosticArgument <String>]
 [-DomainController <Fqdn>]
 [-IncludeReport]
 [-ReportOnly]
 [-RequestGuid <Guid>]
 [<CommonParameters>]

Parameters (11)

ParameterTypeRequiredWhat it controls
-Identity MailboxImportRequestIdParameter yes The Identity parameter specifies the identity of the import request. By default, import requests are named `<alias>\MailboxImportX` (where X = 0-9). If you specified a name when you created the import request, use...
-MRSInstance Fqdn yes The MRSInstance parameter specifies the fully qualified domain name (FQDN) of the Client Access server on which the Microsoft Exchange Mailbox Replication service (MRS) resides. When using this parameter, all records...
-RequestQueue DatabaseIdParameter yes This parameter is available only in on-premises Exchange.
-Diagnostic SwitchParameter This parameter is available only in on-premises Exchange.
-DiagnosticArgument String This parameter is available only in on-premises Exchange.
-DiagnosticInfo String This parameter is available only in the cloud-based service.
-DomainController Fqdn This parameter is available only in on-premises Exchange.
-IncludeReport SwitchParameter The IncludeReport switch specifies whether to return additional details, which can be used for troubleshooting. You don't need to specify a value with this switch.
-IncludeSkippedItems SwitchParameter This parameter is available only in the cloud-based service.
-RequestGuid Guid This parameter is available only in on-premises Exchange.
-ReportOnly SwitchParameter The ReportOnly switch returns the results as an array of report entries (encoded strings). You don't need to specify a value with this switch.

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