From 6671d19d0ac9ad0916a1278e79ff1430969e75e9 Mon Sep 17 00:00:00 2001 From: raul8a07 <69866032+raul8a07@users.noreply.github.com> Date: Tue, 8 Apr 2025 16:32:55 -0500 Subject: [PATCH] Update Set-CsPhoneNumberAssignment.md The Set-CsPhoneNumberAssignment cmdlet just went live in the DoD around April 6th, 2025. The Set-CsUser cmdlet has been depracated. I included GCC-H and DoD since these are the tenants that usually receive updates at the same time. --- teams/teams-ps/teams/Set-CsPhoneNumberAssignment.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/teams/teams-ps/teams/Set-CsPhoneNumberAssignment.md b/teams/teams-ps/teams/Set-CsPhoneNumberAssignment.md index 618ec4d542..ff4bef9400 100644 --- a/teams/teams-ps/teams/Set-CsPhoneNumberAssignment.md +++ b/teams/teams-ps/teams/Set-CsPhoneNumberAssignment.md @@ -148,13 +148,15 @@ This example shows how to turn off reverse number lookup (RNL) on a phone number ```powershell Set-CsPhoneNumberAssignment -Identity user1@contoso.com -PhoneNumber '+14255551234' -PhoneNumberType CallingPlan -AssignmentCategory Private ``` -This example shows how to assign a private phone number (incoming calls only) to a user. +This example shows how to assign a private phone number (incoming calls only) to a user. + ## PARAMETERS ### -AssignmentCategory -This parameter indicates the phone number assignment category if it isn't the primary phone number. For example, a Private line can be assigned to a user using '-AssignmentCategory Private'. +This parameter indicates the phone number assignment category if it isn't the primary phone number. For example, a Private line can be assigned to a user using '-AssignmentCategory Private'. + ```yaml Type: System.String @@ -294,7 +296,7 @@ This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable ## NOTES The cmdlet is available in Teams PowerShell module 3.0.0 or later. The parameter set LocationUpdate was introduced in Teams PowerShell module 5.3.1-preview. The parameter NetworkSiteId was introduced in Teams PowerShell module 5.5.0. The parameter set NetworkSiteUpdate was introduced in Teams PowerShell module 5.5.1-preview. -The cmdlet is only available in commercial and GCC cloud instances. +The cmdlet is available in Commercial, GCC, GCC-H, and DoD cloud instances. If a user or resource account has a phone number set in Active Directory on-premises and synched into Microsoft 365, you can't use Set-CsPhoneNumberAssignment to set the phone number. You will have to clear the phone number from the on-premises Active Directory and let that change sync into Microsoft 365 first.