Commands › Exchange Online
Set-EdgeSyncServiceConfig
Modify the configuration of edge synchronization service settings that control the general synchronization behavior shared by all EdgeSync services.
Quick start script
# Set-EdgeSyncServiceConfig — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-ExchangeOnline -CertificateThumbprint $thumb -AppId $appId -Organization $org
# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-EdgeSyncServiceConfig
$before | Format-List
# 3. Make the change (dry run first)
Set-EdgeSyncServiceConfig -Identity <EdgeSyncServiceConfigIdParameter> -WhatIf
Set-EdgeSyncServiceConfig -Identity <EdgeSyncServiceConfigIdParameter>
# 4. Verify and diff
$after = Get-EdgeSyncServiceConfig
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
Set-EdgeSyncServiceConfig [-Identity] <EdgeSyncServiceConfigIdParameter>
[-ConfigurationSyncInterval <EnhancedTimeSpan>]
[-Confirm]
[-CookieValidDuration <EnhancedTimeSpan>]
[-DomainController <Fqdn>]
[-FailoverDCInterval <EnhancedTimeSpan>]
[-LockDuration <EnhancedTimeSpan>]
[-LockRenewalDuration <EnhancedTimeSpan>]
[-LogEnabled <Boolean>]
[-LogLevel <EdgeSyncLoggingLevel>]
[-LogMaxAge <EnhancedTimeSpan>]
[-LogMaxDirectorySize <Unlimited>]
[-LogMaxFileSize <Unlimited>]
[-LogPath <String>]
[-Name <String>]
[-OptionDuration <EnhancedTimeSpan>]
[-RecipientSyncInterval <EnhancedTimeSpan>]
[-WhatIf]
[<CommonParameters>]
Parameters (18)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.