Commands › Exchange Online

Get-AcceptedDomain

Exchange Online ExchangeOnlineManagement Get-*

View the configuration information for the accepted domains in your organization.

Quick start script

# Get-AcceptedDomain — 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
Get-AcceptedDomain | Format-List

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

Syntax

Get-AcceptedDomain [[-Identity] <AcceptedDomainIdParameter>]
 [-DomainController <Fqdn>]
 [-ResultSize <Unlimited>]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Identity AcceptedDomainIdParameter The Identity parameter specifies a string value for the accepted domain. Enter either the GUID or the name of the accepted domain.
-DomainController Fqdn This parameter is available only in on-premises Exchange.
-ResultSize Unlimited This parameter is available only in the cloud-based service.

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.