Commands › Exchange Online

Retry-Queue

Exchange Online ExchangeOnlineManagement Retry-*

Force a connection attempt for a queue on a Mailbox server or an Edge Transport server.

Quick start script

# Retry-Queue — 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
Retry-Queue -Identity <QueueIdentity> -Filter <String> | Format-List

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

Syntax — 2 parameter sets

Filter

Retry-Queue -Filter <String>
 [-Server <ServerIdParameter>]
 [-Confirm]
 [-Resubmit <Boolean>]
 [-WhatIf]
 [<CommonParameters>]

Identity

Retry-Queue [-Identity] <QueueIdentity>
 [-Confirm]
 [-Resubmit <Boolean>]
 [-WhatIf]
 [<CommonParameters>]

Parameters (6)

ParameterTypeRequiredWhat it controls
-Identity QueueIdentity yes The Identity parameter specifies the queue. Valid input for this parameter uses the syntax Server\\Queue or Queue, for example, Mailbox01\\contoso.com or Unreachable. For details about queue identity, see [Queue...
-Filter String yes The Filter parameter specifies one or more queues by using OPATH filter syntax. The OPATH filter includes a queue property name followed by a comparison operator and value (for example, `"NextHopDomain -eq...
-Confirm SwitchParameter The Confirm switch specifies whether to show or hide the confirmation prompt. How this switch affects the cmdlet depends on whether the cmdlet requires confirmation before proceeding.
-Resubmit Boolean The Resubmit parameter specifies whether the queue contents should be resubmitted to the categorizer before a connection is established. Valid input for this parameter is $true or $false.
-Server ServerIdParameter The Server parameter specifies the Exchange server where you want to run this command. You can use any value that uniquely identifies the server. For example:
-WhatIf SwitchParameter The WhatIf switch shows what the command does without making any changes. 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.