Skip to content

Commit 822125e

Browse files
authored
Update New-CsTeamsUnassignedNumberTreatment.md
1 parent e42b49a commit 822125e

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

teams/teams-ps/teams/New-CsTeamsUnassignedNumberTreatment.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ where the audio file MainAnnouncement.wav will be played to the caller.
4848

4949
### Example 3
5050
```powershell
51-
$UserObjectId = (Get-CsOnlineUser -Identity [email protected]).ObjectId
51+
$UserObjectId = (Get-CsOnlineUser -Identity [email protected]).Identity
5252
New-CsTeamsUnassignedNumberTreatment -Identity TR2 -Pattern "^\+15552224444$" -TargetType User -Target $UserObjectId -TreatmentPriority 3
5353
```
5454
This example creates a treatment that will route all calls to the number +1 (555) 222-4444 to the user [email protected].
@@ -179,7 +179,7 @@ the appropriate target and not routed to the specified unassigned number treatme
179179
a valid external phone number, outbound calls from Microsoft Teams to that phone number will be routed according to the treatment.
180180
181181
## RELATED LINKS
182-
[Import-CSOnlineAudioFile](https://docs.microsoft.com/powershell/module/skype/import-csonlineaudiofile)
182+
[Import-CsOnlineAudioFile](https://docs.microsoft.com/powershell/module/skype/import-csonlineaudiofile)
183183
184184
[Get-CsTeamsUnassignedNumberTreatment](Get-CsTeamsUnassignedNumberTreatment.md)
185185

0 commit comments

Comments
 (0)