Skip to content

Commit 6b4714c

Browse files
authored
Merge pull request #13342 from JulienPerbalCastro/docs-editor/remove-csphonenumbersmsactivat-1769456369
Create article remove-csphonenumbersmsactivation
2 parents 933ff6b + 217d344 commit 6b4714c

2 files changed

Lines changed: 75 additions & 0 deletions

File tree

teams/teams-ps/MicrosoftTeams/MicrosoftTeams.md

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

1211+
### [Remove-CsPhoneNumberSmsActivation](Remove-CsPhonenumberSmsActivation.md)
1212+
This cmdlet allows the admin to deactivate SMS capabilities for a telephone number.
1213+
12111214
### [Remove-CsPhoneNumberTag](Remove-CsPhoneNumberTag.md)
12121215
This cmdlet allows admin to remove a tag from phone number.
12131216

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)

0 commit comments

Comments
 (0)