Commands › Microsoft Teams
Test-CsEffectiveTenantDialPlan
Test a tenant dial plan.
Quick start script
# Test-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
Test-CsEffectiveTenantDialPlan | Format-List
# 3. Export for evidence / drift tracking
Test-CsEffectiveTenantDialPlan | Export-Clixml .\CsEffectiveTenantDialPlan-$(Get-Date -Format yyyyMMdd).xml
Syntax — 2 parameter sets
Identity
Test-CsEffectiveTenantDialPlan [-DialedNumber <PhoneNumber>] [-CallerNumber <PhoneNumber>] [-Identity <UserIdParameter>] [-TenantScopeOnly]
[-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
EffectiveTDPName
Test-CsEffectiveTenantDialPlan -DialedNumber <PhoneNumber> [-CallerNumber <PhoneNumber>] [-EffectiveTenantDialPlanName <String>]
[-TenantScopeOnly] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]
Parameters (8)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.