Skip to content

Commit 39ca28b

Browse files
Merge pull request #12981 from MicrosoftDocs/main
[AutoPublish] main to live - 08/05 15:34 PDT | 08/06 04:04 IST
2 parents 6fd0be9 + 415cca9 commit 39ca28b

File tree

3 files changed

+37
-7
lines changed

3 files changed

+37
-7
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -473,7 +473,7 @@ Accept wildcard characters: False
473473
474474
> Applicable: Microsoft Teams
475475
476-
This parameter is reserved for internal Microsoft use.
476+
ID of a network site. A network site represents a ___location where your organization has a physical venue, such as offices, a set of buildings, or a campus.
477477
478478
```yaml
479479
Type: System.String

teams/teams-ps/MicrosoftTeams/Remove-CsPhoneNumberAssignment.md

Lines changed: 19 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ This cmdlet will remove/unassign a phone number from a user or a resource accoun
2020
### RemoveSome (Default)
2121
```
2222
Remove-CsPhoneNumberAssignment -Identity <String> -PhoneNumber <String> -PhoneNumberType <String>
23-
[-HttpPipelinePrepend <SendAsyncStep[]>] [<CommonParameters>]
23+
[-HttpPipelinePrepend <SendAsyncStep[]>] [-Notify] [<CommonParameters>]
2424
```
2525

2626
### RemoveAll
2727
```
2828
Remove-CsPhoneNumberAssignment -Identity <String> [-HttpPipelinePrepend <SendAsyncStep[]>] [-RemoveAll]
29-
[<CommonParameters>]
29+
[-Notify] [<CommonParameters>]
3030
```
3131

3232
## DESCRIPTION
@@ -58,13 +58,13 @@ This example removes/unassigns all the telephone number from [email protected].
5858

5959
### Example 3
6060
```powershell
61-
Remove-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber +12065551234 -PhoneNumberType CallingPlan
61+
Remove-CsPhoneNumberAssignment -Identity [email protected] -PhoneNumber +12065551234 -PhoneNumberType CallingPlan -Notify
6262
```
6363
This example removes/unassigns the Microsoft Calling Plan phone number +1 (206) 555-1234 from the user [email protected] and also sends an email notification to the user about the removal of telephone number.
6464

6565
### Example 4
6666
```powershell
67-
Remove-CsPhoneNumberAssignment -Identity [email protected] -RemoveAll
67+
Remove-CsPhoneNumberAssignment -Identity [email protected] -RemoveAll -Notify
6868
```
6969
This example removes/unassigns all the telephone number from [email protected] and also sends an email notification to the user about the change.
7070

@@ -146,6 +146,21 @@ Accept pipeline input: False
146146
Accept wildcard characters: False
147147
```
148148
149+
### -Notify
150+
Sends a best-effort email notification when a phone number is removed. Failures to send email are not reported.
151+
152+
```yaml
153+
Type: System.Management.Automation.SwitchParameter
154+
Parameter Sets: (All)
155+
Aliases:
156+
157+
Required: False
158+
Position: Named
159+
Default value: None
160+
Accept pipeline input: False
161+
Accept wildcard characters: False
162+
```
163+
149164
### CommonParameters
150165
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](http://go.microsoft.com/fwlink/?LinkID=113216).
151166

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

Lines changed: 17 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Set-CsPhoneNumberAssignment -PhoneNumber <String> [-HttpPipelinePrepend <SendAsy
3939
```
4040
Set-CsPhoneNumberAssignment -PhoneNumber <String> [-LocationId <String>]
4141
[-HttpPipelinePrepend <SendAsyncStep[]>] -Identity <String> -PhoneNumberType <String>
42-
[-NetworkSiteId <String>] [-AssignmentCategory <String>] [-ReverseNumberLookup <String>] [<CommonParameters>]
42+
[-NetworkSiteId <String>] [-AssignmentCategory <String>] [-ReverseNumberLookup <String>] [-Notify] [<CommonParameters>]
4343
```
4444

4545
### Attribute
@@ -49,7 +49,7 @@ Set-CsPhoneNumberAssignment [-HttpPipelinePrepend <SendAsyncStep[]>] -Identity <
4949
```
5050

5151
## DESCRIPTION
52-
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.
52+
This cmdlet assigns a telephone number to a user or resource account. When you assign a phone number the EnterpriseVoiceEnabled flag is automatically set to True.
5353

5454
You can also assign a ___location to a phone number.
5555

@@ -284,6 +284,21 @@ Accept pipeline input: False
284284
Accept wildcard characters: False
285285
```
286286
287+
### -Notify
288+
Sends an email to Teams phone user about new telephone number assignment.
289+
290+
```yaml
291+
Type: System.Management.Automation.SwitchParameter
292+
Parameter Sets: Assignment
293+
Aliases:
294+
295+
Required: False
296+
Position: Named
297+
Default value: None
298+
Accept pipeline input: False
299+
Accept wildcard characters: False
300+
```
301+
287302
### -PhoneNumber
288303
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't have "tel:" prefixed.
289304

0 commit comments

Comments
 (0)