Commands › Exchange Online

Add-ResubmitRequest

Exchange Online ExchangeOnlineManagement Add-*

Add requests to replay redundant copies of messages from Safety Net after a mailbox database recovery.

Quick start script

# Add-ResubmitRequest — 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
Add-ResubmitRequest -EndTime <DateTime> -StartTime <DateTime> | Format-List

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

Syntax — 2 parameter sets

MDBResubmit

Add-ResubmitRequest -EndTime <DateTime> -StartTime <DateTime>
 [-Destination <Guid>]
 [-Confirm]
 [-CorrelationId <Guid>]
 [-Server <ServerIdParameter>]
 [-TestOnly <Boolean>]
 [-UnresponsivePrimaryServers <MultiValuedProperty>]
 [-WhatIf]
 [<CommonParameters>]

ConditionalResubmit

Add-ResubmitRequest -EndTime <DateTime> -StartTime <DateTime>
 [-MessageId <String>]
 [-Recipient <String>]
 [-ResubmitTo <String>]
 [-Sender <String>]
 [-Confirm]
 [-CorrelationId <Guid>]
 [-Server <ServerIdParameter>]
 [-TestOnly <Boolean>]
 [-UnresponsivePrimaryServers <MultiValuedProperty>]
 [-WhatIf]
 [<CommonParameters>]

Parameters (13)

ParameterTypeRequiredWhat it controls
-EndTime DateTime yes The EndTime parameter specifies the delivery time of the latest messages that need to be resubmitted from Safety Net.
-StartTime DateTime yes The StartTime parameter specifies the delivery time of the oldest messages that need to be resubmitted from Safety Net.
-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.
-CorrelationId Guid This parameter is reserved for internal Microsoft use.
-Destination Guid The Destination parameter specifies the GUID of the destination mailbox database. To find the GUID of the mailbox database, run the command: `Get-MailboxDatabase -Server <ServerName> | Format-List Name,GUID`.
-MessageId String The MessageId parameter filters the results by the Message-ID header field of the message. This value is also known as the Client ID. The format of the Message-ID depends on the messaging server that sent the...
-Recipient String The Recipient parameter filters the messages to resubmit from Safety Net by the specified recipient's email address.
-ResubmitTo String The ResubmitTo parameter specifies the recipient's email address for resubmitted messages that are identified by using the Recipient or Sender parameters.
-Sender String The Sender parameter filters the messages to resubmit from Safety Net by the specified sender's email address.
-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:
-TestOnly Boolean This parameter is reserved for internal Microsoft use.
-UnresponsivePrimaryServers MultiValuedProperty The UnresponsivePrimaryServers parameter identifies the primary servers that should resubmit the messages from Safety Net as being unavailable so other servers can resubmit the messages. If the primary servers are...
-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.