Commands › Exchange Online
Set-X400AuthoritativeDomain
Edit an existing X.400 authoritative domain for your organization. The X.400 authoritative domain defines the standard fields for the namespace appended to the recipient identity for all mailboxes assigned an X.400 address.
Quick start script
# Set-X400AuthoritativeDomain — 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-X400AuthoritativeDomain
$before | Format-List
# 3. Make the change (dry run first)
Set-X400AuthoritativeDomain -Identity <X400AuthoritativeDomainIdParameter> -WhatIf
Set-X400AuthoritativeDomain -Identity <X400AuthoritativeDomainIdParameter>
# 4. Verify and diff
$after = Get-X400AuthoritativeDomain
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
Set-X400AuthoritativeDomain [-Identity] <X400AuthoritativeDomainIdParameter>
[-Confirm]
[-DomainController <Fqdn>]
[-Name <String>]
[-WhatIf]
[-X400DomainName <X400Domain>]
[-X400ExternalRelay <Boolean>]
[<CommonParameters>]
Parameters (7)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.