Commands › Exchange Online

Start-EdgeSynchronization

Exchange Online ExchangeOnlineManagement Start-*

Immediately start synchronization of configuration data from Active Directory to the subscribed Edge Transport servers.

Quick start script

# Start-EdgeSynchronization — 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
Start-EdgeSynchronization | Format-List

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

Syntax

Start-EdgeSynchronization [-Confirm]
 [-ForceFullSync]
 [-ForceUpdateCookie]
 [-Server <ServerIdParameter>]
 [-TargetServer <String>]
 [-WhatIf]
 [<CommonParameters>]

Parameters (6)

ParameterTypeRequiredWhat it controls
-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.
-ForceFullSync SwitchParameter The ForceFullSync switch specifies whether to initiate a full edge synchronization. You don't need to specify a value with this switch.
-ForceUpdateCookie SwitchParameter The ForceUpdateCookie switch specifies whether to force the Microsoft Exchange EdgeSync service to update the replication cookie even if it encounters an error. You don't need to specify a value with this switch.
-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:
-TargetServer String The TargetServer parameter specifies an Edge Transport server to initiate edge synchronization with. If omitted, all Edge Transport servers are synchronized.
-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.