Commands › Exchange Online
Set-SettingOverride
**Caution**: Incorrect usage of the setting override cmdlets can cause serious damage to your Exchange organization. This damage could require you to reinstall Exchange. Only use these cmdlets as instructed by product documentation or under the direction of Microsoft Customer Service and Support. Use the Set-SettingOverride cmdlet to modify setting overrides that store Exchange customizations in Active Directory instead of in text files on the server.
Quick start script
# Set-SettingOverride — 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-SettingOverride
$before | Format-List
# 3. Make the change (dry run first)
Set-SettingOverride -Identity <SettingOverrideIdParameter> -WhatIf
Set-SettingOverride -Identity <SettingOverrideIdParameter>
# 4. Verify and diff
$after = Get-SettingOverride
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
Set-SettingOverride [-Identity] <SettingOverrideIdParameter>
[-Confirm]
[-DomainController <Fqdn>]
[-Force]
[-MaxVersion <Version>]
[-MinVersion <Version>]
[-Parameters <MultiValuedProperty>]
[-Reason <String>]
[-Server <String[]>]
[-WhatIf]
[<CommonParameters>]
Parameters (10)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.