Commands › Microsoft Teams

Get-CsTenant

Microsoft Teams MicrosoftTeams Get-*

Returns information about the Microsoft Teams or Skype for Business Online tenants that have been configured for use in your organization. Tenants represent groups of online users.

Verified working executed read-only 20 Oct 2026 · module v8.0.0

Quick start script

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

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

Syntax

Get-CsTenant [-Filter <String>] [-DomainController <Fqdn>] [[-Identity] <OUIdParameter>] [-ResultSize <Int32>]
 [<CommonParameters>]

Parameters (4)

ParameterTypeRequiredWhat it controls
-DomainController Fqdn This parameter is not used with Skype for Business Online and will be deprecated in the near future.
-Filter String **Note:** This parameter has been deprecated from the Teams PowerShell Module version 3.0.0 or later.
-Identity OUIdParameter **Note:** This parameter has been deprecated from the Teams PowerShell Module version 3.0.0 or later.
-ResultSize Int32 **Note:** This parameter has been deprecated from the Teams PowerShell Module version 3.0.0 or later.

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