Skip to content

Commit 8396fc6

Browse files
authored
Merge pull request #13359 from MicrosoftDocs/teams-chrisda
Teams-chrisda to Main
2 parents 1f812f7 + 00eff7f commit 8396fc6

3 files changed

Lines changed: 150 additions & 0 deletions

File tree

teams/teams-ps/MicrosoftTeams/MicrosoftTeams.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1211,6 +1211,9 @@ This cmdlet will remove/unassign a phone number from a user or a resource accoun
12111211
### [Remove-CsPhoneNumberAssignmentBlock](Remove-CsPhoneNumberAssignmentBlock.md)
12121212
This cmdlet allows the admin to remove an assignment block on a telephone number.
12131213

1214+
### [Remove-CsPhoneNumberSmsActivation](Remove-CsPhonenumberSmsActivation.md)
1215+
This cmdlet allows the admin to deactivate SMS capabilities for a telephone number.
1216+
12141217
### [Remove-CsPhoneNumberTag](Remove-CsPhoneNumberTag.md)
12151218
This cmdlet allows admin to remove a tag from phone number.
12161219

@@ -1532,6 +1535,9 @@ This cmdlet allows the admin to create and assign a temporary block on telephone
15321535
### [Set-CsPhoneNumberPolicyAssignment](Set-CsPhoneNumberPolicyAssignment.md)
15331536
This cmdlet assigns a policy to a specific telephone number in Microsoft Teams.
15341537

1538+
### [Set-CsPhoneNumberSmsActivation](Set-CsPhoneNumberSmsActivation.md)
1539+
This cmdlet allows the admin to activate SMS capabilities for a telephone number.
1540+
15351541
### [Set-CsPhoneNumberTag](Set-CsPhoneNumberTag.md)
15361542
This cmdlet allows the admin to create and assign a tag to a phone number.
15371543

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
applicable: Microsoft Teams
3+
author: JulienPerbalCastro
4+
external help file:
5+
Locale: en-US
6+
Module Name: MicrosoftTeams
7+
ms.author: julienp
8+
ms.topic: article
9+
ms.date: 01/26/2026
10+
online version: https://learn.microsoft.com/powershell/module/microsoftteams/remove-csphonenumbersmsactivation
11+
schema: 2.0.0
12+
title: Remove-CsPhoneNumberSmsActivation
13+
---
14+
15+
# Remove-CsPhoneNumberSmsActivation
16+
17+
## SYNOPSIS
18+
This cmdlet allows the admin to deactivate SMS capabilities for a telephone number.
19+
20+
## SYNTAX
21+
22+
```
23+
Remove-CsPhoneNumberSmsActivation -TelephoneNumber <String> [<CommonParameters>]
24+
```
25+
26+
## DESCRIPTION
27+
This cmdlet deactivates SMS capabilities for a telephone number. The output of the cmdlet is the OrderId of the asynchronous SMS Deactivation operation.
28+
29+
To activate SMS capabilities for a number, use the Set-CsPhoneNumberSmsActivation (Set-CsPhoneNumberSmsActivation.md) cmdlet.
30+
31+
## EXAMPLES
32+
33+
### Example 1
34+
```powershell
35+
PS C:\> Remove-CsPhoneNumberSmsActivation -TelephoneNumber +123456789
36+
```
37+
38+
The above example shows how to deactivate SMS for a +123456789 number.
39+
40+
## PARAMETERS
41+
42+
### -TelephoneNumber
43+
Indicates the phone number to deactivate SMS from.
44+
45+
```yaml
46+
Type: System.String
47+
Parameter Sets: (All)
48+
Aliases:
49+
50+
Required: True
51+
Position: Named
52+
Default value: None
53+
Accept pipeline input: False
54+
Accept wildcard characters: False
55+
```
56+
57+
### CommonParameters
58+
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).
59+
60+
## INPUTS
61+
62+
### None
63+
64+
## OUTPUTS
65+
66+
### System.Object
67+
68+
## NOTES
69+
70+
## RELATED LINKS
71+
72+
[Set-CsPhoneNumberSmsActivation](https://learn.microsoft.com/powershell/module/microsoftteams)
Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,72 @@
1+
---
2+
applicable: Microsoft Teams
3+
author: JulienPerbalCastro
4+
external help file:
5+
Locale: en-US
6+
Module Name: MicrosoftTeams
7+
ms.author: julienp
8+
ms.topic: article
9+
ms.date: 01/26/2026
10+
online version: https://learn.microsoft.com/powershell/module/microsoftteams/set-csphonenumbersmsactivation
11+
schema: 2.0.0
12+
title: Set-CsPhoneNumberSmsActivation
13+
---
14+
15+
# Set-CsPhoneNumberSmsActivation
16+
17+
## SYNOPSIS
18+
This cmdlet allows the admin to activate SMS capabilities for a telephone number.
19+
20+
## SYNTAX
21+
22+
```
23+
Set-CsPhoneNumberSmsActivation -TelephoneNumber <String> [<CommonParameters>]
24+
```
25+
26+
## DESCRIPTION
27+
This cmdlet enables SMS capabilities for a telephone number. The output of the cmdlet is the OrderId of the asynchronous SMS Activation operation.
28+
29+
To deactivate SMS capabilities for a number, use the Remove-CsPhoneNumberSmsActivation (Remove-CsPhoneNumberSmsActivation.md) cmdlet.
30+
31+
## EXAMPLES
32+
33+
### Example 1
34+
```powershell
35+
PS C:\> Set-CsPhoneNumberSmsActivation -TelephoneNumber +123456789
36+
```
37+
38+
The above example shows how to enable SMS for a +123456789 number.
39+
40+
## PARAMETERS
41+
42+
### -TelephoneNumber
43+
Indicates the phone number for SMS to be enabled on.
44+
45+
```yaml
46+
Type: System.String
47+
Parameter Sets: (All)
48+
Aliases:
49+
50+
Required: True
51+
Position: Named
52+
Default value: None
53+
Accept pipeline input: False
54+
Accept wildcard characters: False
55+
```
56+
57+
### CommonParameters
58+
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).
59+
60+
## INPUTS
61+
62+
### None
63+
64+
## OUTPUTS
65+
66+
### System.Object
67+
68+
## NOTES
69+
70+
## RELATED LINKS
71+
72+
[Remove-CsPhoneNumberSmsActivation](https://learn.microsoft.com/powershell/module/microsoftteams/)

0 commit comments

Comments
 (0)