Commands › Exchange Online
Validate-OutboundConnector
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)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.