You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
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.
211
233
212
234
```yaml
213
235
Type: String
@@ -243,3 +265,4 @@ Updates in Teams PowerShell Module version 6.7.1 and later:
Copy file name to clipboardExpand all lines: teams/teams-ps/MicrosoftTeams/Get-CsPhoneNumberAssignment.md
+79-1Lines changed: 79 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -87,6 +87,7 @@ ReverseNumberLookup : {}
87
87
Tag : {}
88
88
AssignmentBlockedState :
89
89
AssignmentBlockedUntil :
90
+
SmsActivationState : NotActivated
90
91
```
91
92
This example displays information about the Microsoft Calling Plan subscriber phone number +1 (402) 555-1234. You can see that it is assigned to a user.
92
93
@@ -118,6 +119,7 @@ ReverseNumberLookup : {}
118
119
Tag : {}
119
120
AssignmentBlockedState :
120
121
AssignmentBlockedUntil :
122
+
SmsActivationState : NotActivated
121
123
```
122
124
This example displays information about the Direct Routing phone number +1 (206) 555-1000;ext=524. You can see that it is assigned to a user.
This example displays when SkipInternalVoip option is turned on for a number.
197
200
@@ -223,6 +226,7 @@ ReverseNumberLookup : {}
223
226
Tag : {}
224
227
AssignmentBlockedState :
225
228
AssignmentBlockedUntil :
229
+
SmsActivationState : NotActivated
226
230
```
227
231
This example shows a way to use -Filter parameter to display information of a specific number.
228
232
@@ -254,6 +258,7 @@ ReverseNumberLookup : {}
254
258
Tag : {}
255
259
AssignmentBlockedState :
256
260
AssignmentBlockedUntil :
261
+
SmsActivationState : NotActivated
257
262
```
258
263
This example shows a way to get filtered results using multiple Filter parameters.
259
264
@@ -285,6 +290,7 @@ ReverseNumberLookup : {}
285
290
Tag : {Engineering}
286
291
AssignmentBlockedState :
287
292
AssignmentBlockedUntil :
293
+
SmsActivationState : NotActivated
288
294
```
289
295
This example shows a way to get filtered results using tags. Tags are not case sensitive.
290
296
@@ -316,6 +322,7 @@ ReverseNumberLookup : {}
316
322
Tag : {}
317
323
AssignmentBlockedState : BlockedForever
318
324
AssignmentBlockedUntil :
325
+
SmsActivationState : NotActivated
319
326
```
320
327
This example displays information about the telephone number +1 (402) 555-1234 which has a permanent assignment block. This block prevents the number from being assigned to any other user. Admin can remove the block using [Remove-CsPhoneNumberAssignmentBlock](./remove-csphonenumberassignmentblock.md).
This example displays information about the telephone number +1 (402) 555-1234 which has a temporary assignment block. This block prevents the number from being assigned to any other user. Once the period shown in AssignmentBlockUntil passes, the AssignmentBlock will be automatically removed and the number will become available to be assigned to any user. Admin can also remove the block manually using [Remove-CsPhoneNumberAssignmentBlock](./remove-csphonenumberassignmentblock.md).
This example displays information about the telephone number +1 (360) 322-7351 where SMS activation is pending.
424
+
353
425
354
426
## PARAMETERS
355
427
@@ -785,7 +857,7 @@ The activation state of the telephone number.
785
857
The ID of the object the phone number is assigned to, either the ObjectId of a user or resource account or the policy instance ID of a Teams shared calling routing policy instance.
786
858
787
859
### AssignmentBlockedState
788
-
The state of the number in terms of blocked assignment: NotBlocked if there is no assignment block on the number, BlockedForever if assignment is blocked indefinitely for the number, BlockedUntil if assignment is blocked for a specific amount of days.
860
+
The state of the number in terms of blocked assignment: NotBlocked if there is no assignment block on the number, BlockedForever if assignment is blocked indefinitely for the number, BlockedUntil if assignment is blocked for a specific amount of days (limited time assignment block currently not available).
789
861
790
862
### AssignmentBlockedUntil
791
863
The date until which assignment is blocked for the phone number. Null if the number is blocked for assignment indefinitely.
@@ -838,6 +910,12 @@ The ID of the PSTN partner providing the phone number.
838
910
### PstnPartnerName
839
911
The name of the PSTN partner.
840
912
913
+
### SmsActivationState
914
+
The SMS activation state of the number.
915
+
916
+
### SmsProfileId
917
+
The Id of the SMS partner.
918
+
841
919
### TelephoneNumber
842
920
The phone number. The number is always displayed with prefixed "+", even if it was not assigned using prefixed "+".
0 commit comments