Commands › Microsoft Teams

Test-CsVoiceNormalizationRule

Microsoft Teams MicrosoftTeams Test-*

Tests a telephone number against a voice normalization rule and returns the number after the normalization rule has been applied.

Quick start script

# Test-CsVoiceNormalizationRule — 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-CsVoiceNormalizationRule -DialedNumber <PhoneNumber> -NormalizationRule <NormalizationRule> | Format-List

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

Syntax

Test-CsVoiceNormalizationRule -DialedNumber <PhoneNumber> -NormalizationRule <NormalizationRule>
 [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-DialedNumber PhoneNumber yes The phone number against which you want to test the normalization rule specified in the NormalizationRule parameter.
-NormalizationRule NormalizationRule yes An object containing a reference to the normalization rule against which you want to test the number specified in the DialedNumber parameter.

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