Skip to content

Commit 587eb05

Browse files
authored
Merge pull request MicrosoftDocs#9120 from JensTrier/JensUpdate1
Update Set-CsPhoneNumberAssignment.md
2 parents 76a331f + 83e5e07 commit 587eb05

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

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

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -78,19 +78,19 @@ This example assigns the Direct Routing phone number +1 (425) 555-1225 to the re
7878

7979
### Example 6
8080
```powershell
81-
Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber "+1425551000;ext=100" -PhoneNumberType DirectRouting
81+
Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber "+14255551000;ext=100" -PhoneNumberType DirectRouting
8282
```
8383
This example assigns the Direct Routing phone number +1 (425) 555-1000;ext=100 to the user [email protected].
8484

8585
### Example 7
8686
```powershell
87-
$pn=Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber "+1425551000;ext=100" -PhoneNumberType DirectRouting
87+
$pn=Set-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber "+14255551000;ext=100" -PhoneNumberType DirectRouting
8888
$pn
8989
Code Message
9090
---- -------
91-
BadRequest Telephone Number '+1425551000;ext=100' has already been assigned to another user
91+
BadRequest Telephone Number '+14255551000;ext=100' has already been assigned to another user
9292
```
93-
In this example the assignment cmdlet fails, because the phone number "+1425551000;ext=100" has already been assigned to another user.
93+
In this example the assignment cmdlet fails, because the phone number "+14255551000;ext=100" has already been assigned to another user.
9494

9595

9696
## PARAMETERS
@@ -146,7 +146,10 @@ Accept wildcard characters: False
146146
147147
### -PhoneNumber
148148
The phone number to assign to the user or resource account. Supports E.164 format like +12065551234 and non-E.164 format like 12065551234. The phone number can not have
149-
"tel:" prefixed. We support Direct Routing numbers with extensions using the formats +1206555000;ext=1234 or 1206555000;ext=1234.
149+
"tel:" prefixed.
150+
151+
We support Direct Routing numbers with extensions using the formats +1206555000;ext=1234 or 1206555000;ext=1234 assigned to a user, but such phone numbers are
152+
not supported to be assigned to a resource account.
150153
151154
Setting a phone number will automatically set EnterpriseVoiceEnabled to True.
152155

0 commit comments

Comments
 (0)