Skip to content

Commit c936c87

Browse files
authored
Merge pull request #13340 from JulienPerbalCastro/docs-editor/Get-CsOnlineTelephoneNumberOrd-1769306318
Update Get-CsOnlineTelephoneNumberOrder to support SMS order tracking
2 parents f566e99 + 9f43d0b commit c936c87

1 file changed

Lines changed: 27 additions & 4 deletions

File tree

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

Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ Get-CsOnlineTelephoneNumberOrder -OrderId <String> [-OrderType <String>]
2525

2626
## DESCRIPTION
2727

28-
This `Get-CsOnlineTelephoneNumberOrder` cmdlet can be used to get the status of specific telephone number orders. Currently supported orders for retrievals are: Search [New-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/microsoftteams/new-csonlinetelephonenumberorder), Direct Routing Number Upload [New-CsOnlineDirectRoutingTelephoneNumberUploadOrder](https://learn.microsoft.com/powershell/module/microsoftteams/new-csonlinedirectroutingtelephonenumberuploadorder), and Direct Routing Number Release [New-CsOnlineTelephoneNumberReleaseOrder](https://learn.microsoft.com/powershell/module/microsoftteams/New-csonlinetelephonenumberreleaseorder). When the OrderType is not indicated, the cmdlet will default to a Search order.
28+
This `Get-CsOnlineTelephoneNumberOrder` cmdlet can be used to get the status of specific telephone number orders. Currently supported orders for retrievals are: Search [New-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/microsoftteams/new-csonlinetelephonenumberorder), Direct Routing Number Upload [New-CsOnlineDirectRoutingTelephoneNumberUploadOrder](https://learn.microsoft.com/powershell/module/microsoftteams/new-csonlinedirectroutingtelephonenumberuploadorder), Direct Routing Number Release [New-CsOnlineTelephoneNumberReleaseOrder](https://learn.microsoft.com/powershell/module/microsoftteams/New-csonlinetelephonenumberreleaseorder), and SMS Activation/Deactivation. When the OrderType is not indicated, the cmdlet will default to a Search order.
2929

3030
## EXAMPLES
3131

@@ -183,12 +183,34 @@ PS C:\> $results.AdditionalDetails
183183
Key Value
184184
--- -----
185185
TelephoneNumber +100001
186-
Status Error
187-
Message The Number is not found.
186+
Status Error
187+
Message The Number is not found.
188188
```
189189

190190
This example returns the status of a partially successful NumberUpdate order for a telephone number tags.
191191

192+
### Example 7
193+
```powershell
194+
PS C:\> $results = Get-CsOnlineTelephoneNumberOrder -OrderId 0fba1633-81f0-435d-b0a8-81d073cc6f29 -OrderType SmsActivation
195+
196+
Key Value
197+
--- -----
198+
OrderId 0fba1633-81f0-435d-b0a8-81d073cc6f29
199+
Status PendingTelcoCallback
200+
OrderType SmsActivation
201+
CreatedAt 1/6/2026 7:28:09 PM +00:00
202+
CreatedBy UNATTRIBUTED
203+
TelephoneNumbers {System.Collections.Generic.Dictionary`2[System.String,System.Object]}
204+
205+
PS C:\> $results.TelephoneNumbers
206+
207+
Key Value
208+
--- -----
209+
TelephoneNumber +12065555555
210+
```
211+
212+
This example returns the status of an in progress SMS Activation order.
213+
192214
## PARAMETERS
193215

194216
### -OrderId
@@ -207,7 +229,7 @@ Accept wildcard characters: False
207229
```
208230
209231
### -OrderType
210-
Specifies the type of telephone number order to look up. Currently supported values are **Search**, **Release**, and **DirectRoutingNumberCreation**. If this value is unspecified, then it will default to a **Search** order.
232+
Specifies the type of telephone number order to look up. Currently supported values are **Search**, **Release**, **DirectRoutingNumberCreation**, and **SmsActivation/Deactivation**. If this value is unspecified, then it will default to a **Search** order.
211233
212234
```yaml
213235
Type: String
@@ -243,3 +265,4 @@ Updates in Teams PowerShell Module version 6.7.1 and later:
243265
[Clear-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/microsoftteams/clear-csonlinetelephonenumberorder)
244266
[New-CsOnlineDirectRoutingTelephoneNumberUploadOrder](https://learn.microsoft.com/powershell/module/microsoftteams/new-csonlinedirectroutingtelephonenumberuploadorder)
245267
[New-CsOnlineTelephoneNumberReleaseOrder](https://learn.microsoft.com/powershell/module/microsoftteams/New-csonlinetelephonenumberreleaseorder)
268+

0 commit comments

Comments
 (0)