From 7f7650da9f1c66c67e03d33bb924aaa67cd25d6d Mon Sep 17 00:00:00 2001 From: pavellatif <142821210+pavellatif@users.noreply.github.com> Date: Thu, 16 Apr 2026 00:08:04 -0400 Subject: [PATCH 1/2] Update Set-CsPhoneNumberPolicyAssignment.md updating example --- .../MicrosoftTeams/Set-CsPhoneNumberPolicyAssignment.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/teams/teams-ps/MicrosoftTeams/Set-CsPhoneNumberPolicyAssignment.md b/teams/teams-ps/MicrosoftTeams/Set-CsPhoneNumberPolicyAssignment.md index 0df66410e3..54292e6e1d 100644 --- a/teams/teams-ps/MicrosoftTeams/Set-CsPhoneNumberPolicyAssignment.md +++ b/teams/teams-ps/MicrosoftTeams/Set-CsPhoneNumberPolicyAssignment.md @@ -48,9 +48,9 @@ This example assigns a policy to the specified telephone number. ### Example 2 ```powershell -PS C:\> Set-CsPhoneNumberPolicyAssignment -TelephoneNumber 17789493766 -PolicyType TenantDialPlan +PS C:\> Set-CsPhoneNumberPolicyAssignment -TelephoneNumber +14255551234 -PolicyType OnlineVoiceRoutingPolicy -PolicyName "Redmond Office" ``` -This example removes an existing TenantDialPlan previously assigned to the specified telephone number. +This example assigns an existing OnlineVoiceRoutingPolicy to the specified telephone number. ## PARAMETERS From 55014e8c50bd65064bc24c076722829c5c14e47a Mon Sep 17 00:00:00 2001 From: pavellatif <142821210+pavellatif@users.noreply.github.com> Date: Thu, 16 Apr 2026 00:13:20 -0400 Subject: [PATCH 2/2] Update Get-CsPhoneNumberPolicyAssignment.md --- .../Get-CsPhoneNumberPolicyAssignment.md | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/teams/teams-ps/MicrosoftTeams/Get-CsPhoneNumberPolicyAssignment.md b/teams/teams-ps/MicrosoftTeams/Get-CsPhoneNumberPolicyAssignment.md index bebc13364f..edf83e2049 100644 --- a/teams/teams-ps/MicrosoftTeams/Get-CsPhoneNumberPolicyAssignment.md +++ b/teams/teams-ps/MicrosoftTeams/Get-CsPhoneNumberPolicyAssignment.md @@ -46,8 +46,8 @@ PS C:\> Get-CsPhoneNumberPolicyAssignment -TelephoneNumber 17789493766 ```output TelephoneNumber PolicyType PolicyName Authority AssignmentType Reference --------------- ---------- ---------- --------- -------------- --------- -17789493766 TenantDialPlan PolicyFoo Tenant Direct Direct -17789493766 CallingLineIdentity PolicyBar Tenant Direct Direct +14255551234 TenantDialPlan PolicyOne Tenant Direct Direct +14255551234 CallingLineIdentity PolicyTwo Tenant Direct Direct ``` This example returns all policy assigned for the specified telephone number. @@ -61,9 +61,9 @@ PS C:\> Get-CsPhoneNumberPolicyAssignment ```output TelephoneNumber PolicyType PolicyName Authority AssignmentType Reference --------------- ---------- ---------- --------- -------------- --------- -1234567 TenantDialPlan BenTestPolicy Tenant Direct Direct -17789493766 TenantDialPlan PolicyFoo Tenant Direct Direct -17789493766 CallingLineIdentity PolicyBar Tenant Direct Direct +1234567 TenantDialPlan TestPolicy Tenant Direct Direct +14255551234 TenantDialPlan PolicyOne Tenant Direct Direct +14255551234 CallingLineIdentity PolicyTwo Tenant Direct Direct ``` This example returns a list of all the telephone numbers in the tenant that have at least one policy assigned. @@ -76,8 +76,8 @@ PS C:\> Get-CsPhoneNumberPolicyAssignment -PolicyType TenantDialPlan ```output TelephoneNumber PolicyType PolicyName Reference --------------- ---------- ---------- --------- -1234567 TenantDialPlan BenTestPolicy Direct -17789493766 TenantDialPlan PolicyFoo Direct +1234567 TenantDialPlan TestPolicy Direct +14255551234 TenantDialPlan PolicyOne Direct ``` This example returns a list of all the telephone numbers in tenant that have TenantDialPlan assigned. @@ -90,7 +90,7 @@ PS C:\> Get-CsPhoneNumberPolicyAssignment -PolicyType TenantDialPlan -PolicyName ```output TelephoneNumber PolicyType PolicyName Reference --------------- ---------- ---------- --------- -17789493766 TenantDialPlan PolicyFoo Direct +14255551234 TenantDialPlan PolicyFoo Direct ``` This example returns the top 1 telephone number with policy assignment matching the specified type and name.