Skip to content

Commit 6f719b5

Browse files
authored
Merge pull request #12061 from MicrosoftDocs/main
Publish main to live 08/09/2024, 3:30 PM
2 parents 971c7cc + a9bfe62 commit 6f719b5

9 files changed

+50
-7
lines changed

teams/teams-ps/teams/Get-CsPhoneNumberAssignment.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@ PstnAssignmentStatus : UserAssigned
6262
PstnPartnerId : 7fc2f2eb-89aa-41d7-93de-73d015d22ff0
6363
PstnPartnerName : Microsoft
6464
NumberSource : Online
65+
ReverseNumberLookup : {}
6566
```
6667
This example displays information about the Microsoft Calling Plan subscriber phone number +1 (402) 555-1234. You can see that it is assigned to a user.
6768

@@ -89,6 +90,7 @@ PstnAssignmentStatus : UserAssigned
8990
PstnPartnerId :
9091
PstnPartnerName :
9192
NumberSource : OnPremises
93+
ReverseNumberLookup : {}
9294
```
9395
This example displays information about the Direct Routing phone number +1 (206) 555-1000;ext=524. You can see that it is assigned to a user.
9496

@@ -146,6 +148,33 @@ Get-CsPhoneNumberAssignment -AssignedPstnTargetId 'TeamsSharedCallingRoutingPoli
146148
```
147149
This example returns all phone numbers assigned as emergency numbers in the Teams shared calling routing policy instance SC1.
148150

151+
### Example 12
152+
```powershell
153+
Get-CsPhoneNumberAssignment -TelephoneNumber "+12065551000;ext=524"
154+
```
155+
```output
156+
TelephoneNumber : +12065551000;ext=524
157+
OperatorId : 83d289bc-a4d3-41e6-8a3f-cff260a3f091
158+
NumberType : DirectRouting
159+
ActivationState : Activated
160+
AssignedPstnTargetId : 2713551e-ed63-415d-9175-fc4ff825a0be
161+
AssignmentCategory : Primary
162+
Capability : {ConferenceAssignment, VoiceApplicationAssignment, UserAssignment}
163+
City :
164+
CivicAddressId : 00000000-0000-0000-0000-000000000000
165+
IsoCountryCode :
166+
IsoSubdivision :
167+
LocationId : 00000000-0000-0000-0000-000000000000
168+
LocationUpdateSupported : True
169+
NetworkSiteId :
170+
PortInOrderStatus :
171+
PstnAssignmentStatus : UserAssigned
172+
PstnPartnerId :
173+
PstnPartnerName :
174+
NumberSource : OnPremises
175+
ReverseNumberLookup : {SkipInternalVoip}
176+
```
177+
This example displays when SkipInternalVoip option is turned on for a number.
149178

150179
## PARAMETERS
151180

@@ -482,6 +511,9 @@ The phone number. The number is always displayed with prefixed "+", even if it w
482511
483512
The object returned is of type SkypeTelephoneNumberMgmtCmdletAcquiredTelephoneNumber.
484513
514+
### ReverseNumberLookup
515+
Status of Reverse Number Lookup (RNL). When it is set to SkipInternalVoip, the calls are handled through external PSTN connection instead of internal VoIP lookup.
516+
485517
## NOTES
486518
The cmdlet is available in Teams PowerShell module 4.0.0 or later. The parameter AssignmentCategory was introduced in Teams PowerShell module 5.3.1-preview. The parameter NetworkSiteId was introduced in Teams PowerShell module 5.5.0. The output parameter NumberSource was introduced in Teams PowerShell module 5.7.0.
487519

teams/teams-ps/teams/Get-CsTeamsAcsFederationConfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Federation between Teams and Azure Communication Services (ACS) allows users of
2828

2929
This cmdlet is used retrieve the Teams and ACS federation configuration for a Teams tenant.
3030

31-
You must be a Teams service admin, a Teams communication admin, or Global Administrator for your organization to run the cmdlet.
31+
You must be a Teams service admin or a Teams communication admin for your organization to run the cmdlet.
3232

3333
## Examples
3434

teams/teams-ps/teams/Get-CsTeamsEducationConfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Get-CsTeamsEducationConfiguration
2424

2525
This cmdlet is used to retrieve the organization-wide education configuration for Teams which contains settings that are applicable to education organizations.
2626

27-
You must be a Teams Service Administrator or a Global Administrator for your organization to run the cmdlet.
27+
You must be a Teams Service Administrator for your organization to run the cmdlet.
2828

2929
## Examples
3030

teams/teams-ps/teams/Get-CsTeamsSipDevicesConfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ Get-CsTeamsSipDevicesConfiguration
2424

2525
This cmdlet is used to retrieve the organization-wide Teams SIP devices configuration which contains settings that are applicable to SIP devices connected to Teams using Teams Sip Gateway.
2626

27-
To execute the cmdlet, you need to hold a role within your organization such as Global Administrator, Global Reader, Teams Administrator, or Teams Communication Administrator.
27+
To execute the cmdlet, you need to hold a role within your organization such as Global Reader, Teams Administrator, or Teams Communication Administrator.
2828

2929
## Examples
3030

teams/teams-ps/teams/New-CsBatchPolicyAssignmentOperation.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ Users can be specified by their object ID (guid) or by their SIP address (user@c
3030

3131
A batch may contain up to 5,000 users. If a batch includes duplicate users, the duplicates will be removed from the batch before processing and status will only be provided for the unique users remaining in the batch. For best results, do not submit more than a few batches at a time. Allow batches to complete processing before submitting more batches.
3232

33-
You must be a Teams service admin, a Teams communication admin, or Global Administrator to run the cmdlet.
33+
You must be a Teams service admin or a Teams communication admin to run the cmdlet.
3434

3535
Batch policy assignment is currently limited to the following policy types:
3636
CallingLineIdentity, ExternalAccessPolicy, OnlineVoiceRoutingPolicy, TeamsAppSetupPolicy, TeamsAppPermissionPolicy, TeamsCallingPolicy, TeamsCallParkPolicy, TeamsChannelsPolicy, TeamsEducationAssignmentsAppPolicy, TeamsEmergencyCallingPolicy, TeamsMeetingBroadcastPolicy, TeamsEmergencyCallRoutingPolicy, TeamsMeetingPolicy, TeamsMessagingPolicy, TeamsTemplatePermissionPolicy, TeamsUpdateManagementPolicy, TeamsUpgradePolicy, TeamsVerticalPackagePolicy, TeamsVideoInteropServicePolicy, TenantDialPlan

teams/teams-ps/teams/Set-CsPhoneNumberAssignment.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,11 @@ Set-CsPhoneNumberAssignment -Identity <String> -PhoneNumber <String> -PhoneNumbe
3838
Set-CsPhoneNumberAssignment -Identity <String> -EnterpriseVoiceEnabled <Boolean> [<CommonParameters>]
3939
```
4040

41+
### ReverseNumberLookup
42+
```powershell
43+
Set-CsPhoneNumberAssignment -PhoneNumber <string> -ReverseNumberLookup <string> [<CommonParameters>]
44+
```
45+
4146
## DESCRIPTION
4247
This cmdlet assigns a phone number to a user or resource account. When you assign a phone number the EnterpriseVoiceEnabled flag is automatically set to True.
4348

@@ -132,6 +137,12 @@ Write-Host (Get-CsPhoneNumberAssignment -LocationId $NewLocationId).Count number
132137
```
133138
This Example shows how to update the LocationID from an old location to a new location for a set of phone numbers.
134139

140+
### Example 11
141+
```powershell
142+
Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber +12065551226 -ReverseNumberLookup 'SkipInternalVoip'
143+
```
144+
This example shows how to turn off reverse number lookup (RNL) on a phone number. When RNL is set to 'SkipInternalVoip', an internal call to this phone number will not attempt to pass through internal VoIP via reverse number lookup in Microsoft Teams. Instead the call will be established through external PSTN connectivity directly.
145+
135146

136147
## PARAMETERS
137148

teams/teams-ps/teams/Set-CsTeamsAcsFederationConfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ Federation between Teams and Azure Communication Services (ACS) allows external
3434

3535
This cmdlet is used to enable or disable Teams and ACS federation for a Teams tenant, and to specify which ACS resources can connect to Teams. Only listed ACS resources can be allowed.
3636

37-
You must be a Teams service admin, a Teams communication admin, or Global Administrator for your organization to run the cmdlet.
37+
You must be a Teams service admin or a Teams communication admin for your organization to run the cmdlet.
3838

3939
## EXAMPLES
4040

teams/teams-ps/teams/Set-CsTeamsEducationConfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Set-CsTeamsEducationConfiguration
2929

3030
This cmdlet is used to manage the organization-wide education configuration for Teams which contains settings that are applicable to education organizations.
3131

32-
You must be a Teams Service Administrator or a Global Administrator for your organization to run the cmdlet.
32+
You must be a Teams Service Administrator for your organization to run the cmdlet.
3333

3434
## EXAMPLES
3535

teams/teams-ps/teams/Set-CsTeamsSipDevicesConfiguration.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ Set-CsTeamsSipDevicesConfiguration
2828

2929
This cmdlet is used to manage the organization-wide Teams SIP devices configuration which contains settings that are applicable to SIP devices connected to Teams using Teams Sip Gateway.
3030

31-
To execute the cmdlet, you need to hold a role within your organization such as Global Administrator, Teams Administrator, or Teams Communication Administrator.
31+
To execute the cmdlet, you need to hold a role within your organization such as Teams Administrator or Teams Communication Administrator.
3232

3333
## EXAMPLES
3434

0 commit comments

Comments
 (0)