Commands › Exchange Online

Get-FederatedOrganizationIdentifier

Exchange Online ExchangeOnlineManagement Get-*

Retrieve the Exchange organization's federated organization identifier and related details, such as federated domains, organization contact and status. For more information, see Federation.

Quick start script

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

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

Syntax

Get-FederatedOrganizationIdentifier [[-Identity] <OrganizationIdParameter>]
 [-DomainController <Fqdn>]
 [-IncludeExtendedDomainInfo]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Identity OrganizationIdParameter The Identity parameter specifies the organization ID.
-DomainController Fqdn This parameter is available only in on-premises Exchange.
-IncludeExtendedDomainInfo SwitchParameter The IncludeExtendedDomainInfo switch specifies that the command query Microsoft Federation Gateway for the status of each accepted domain that's federated. You don't need to specify a value with this switch.

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