Commands › Microsoft Teams

Get-CsEffectiveTenantDialPlan

Microsoft Teams MicrosoftTeams Get-*

Retrieve an effective tenant dial plan.

Quick start script

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

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

Syntax

Get-CsEffectiveTenantDialPlan [-Identity] <UserIdParameter> [-CallerNumber] <PhoneNumber> [-OU <OUIdParameter>] [-ResultSize <Int32>] [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (6)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter The Confirm switch causes the command to pause processing, and requires confirmation to proceed.
-Identity UserIdParameter The Identity parameter is the unique identifier of the user for whom to retrieve the effective tenant dial plan.
-CallerNumber PhoneNumber The Caller Number parameter is the phone number assigned to the user for whom to retrieve the effective tenant dial plan.
-OU OUIdParameter **Note:** This parameter is not supported in Teams PowerShell Module version 3.0.0 or later.
-ResultSize Int32 **Note:** This parameter is not supported in Teams PowerShell Module version 3.0.0 or later.
-WhatIf SwitchParameter The WhatIf switch causes the command to simulate its results. By using this switch, you can view what changes would occur without having to commit those changes.

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