Commands › Microsoft Teams

Get-CsTenantFederationConfiguration

Microsoft Teams MicrosoftTeams Get-*

Returns information about the federation configuration settings for your Skype for Business Online tenants. Federation configuration settings are used to determine which domains (if any) your users are allowed to communicate with.

Quick start script

# Get-CsTenantFederationConfiguration — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Run and inspect
Get-CsTenantFederationConfiguration | Format-List

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

Syntax — 2 parameter sets

Identity (Default)

Get-CsTenantFederationConfiguration [-Tenant <Guid>] [[-Identity] <XdsIdentity>] [-LocalStore]
 [<CommonParameters>]

Filter

Get-CsTenantFederationConfiguration [-Tenant <Guid>] [-Filter <String>] [-LocalStore]
 [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-Filter String Enables you to use wildcard characters in order to return a collection of tenant federation configuration settings. Because each tenant is limited to a single, global collection of federation configuration settings...
-Identity XdsIdentity Specifies the collection of tenant federation configuration settings to be returned. Because each tenant is limited to a single, global collection of federation settings there is no need include this parameter when...
-LocalStore SwitchParameter This parameter is not used with Skype for Business Online.
-Tenant Guid Globally unique identifier (GUID) of the tenant account whose federation settings are being returned. For example:

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