Commands › Exchange Online

Validate-OutboundConnector

Exchange Online ExchangeOnlineManagement Validate-*

Test the settings of Outbound connectors in Microsoft 365. **Note**: This cmdlet does not set the validation status or timestamp on the connector. To set these values, run the following command: `Set-OutboundConnector -Identity "<ConnectorName>" -IsValidated $true -LastValidationTimestamp (Get-Date).ToUniversalTime()`.

Quick start script

# Validate-OutboundConnector — 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
Validate-OutboundConnector -Identity <OutboundConnectorIdParameter> -Recipients <MultiValuedProperty> | Format-List

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

Syntax

Validate-OutboundConnector -Identity <OutboundConnectorIdParameter> -Recipients <MultiValuedProperty>
 [-Confirm]
 [-WhatIf]
 [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-Identity OutboundConnectorIdParameter yes The Identity parameter specifies the Outbound connector that you want to test. You can use any value that uniquely identifies the connector. For example:
-Recipients MultiValuedProperty yes The Recipients parameter specifies one or more email addresses to send a test message to. The email addresses need to be in the domain that's configured on the connector.
-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.
-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.