Commands › Exchange Online
New-X400AuthoritativeDomain
Create and specify the X.400 authoritative domain for the 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
# New-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)
New-X400AuthoritativeDomain -Name <String> -X400DomainName <X400Domain> -WhatIf
New-X400AuthoritativeDomain -Name <String> -X400DomainName <X400Domain>
# 4. Verify and diff
$after = Get-X400AuthoritativeDomain
Compare-Object ($before | Out-String) ($after | Out-String)
Syntax
New-X400AuthoritativeDomain [-Name] <String> -X400DomainName <X400Domain>
[-Confirm]
[-DomainController <Fqdn>]
[-WhatIf]
[-X400ExternalRelay <Boolean>]
[<CommonParameters>]
Parameters (6)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.