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
Use the `Get-CsOnlineTelephoneNumberOrder` cmdlet to get the order report of a specific telephone number search order. The telephone numbers can then be used to set up calling features for users and services in your organization.
16
+
Use the `Get-CsOnlineTelephoneNumberOrder` cmdlet to get the order report of a specific telephone number order.
Use the `Get-CsOnlineTelephoneNumberOrder` cmdlet to get the order report of a specific telephone number search order. The telephone numbers can then be used to set up calling features for users and services in your organization.
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/teams/new-csonlinetelephonenumberorder), Direct Routing Number Upload [New-CsOnlineDirectRoutingTelephoneNumberUploadOrder](https://learn.microsoft.com/powershell/module/teams/New-CsOnlineDirectRoutingTelephoneNumberUploadOrder), and Direct Routing Number Release [New-CsOnlineTelephoneNumberReleaseOrder](https://learn.microsoft.com/powershell/module/teams/New-CsOnlineTelephoneNumberReleaseOrder). When the OrderType is not indicated, the cmdlet will default to a Search order.
29
+
27
30
28
31
## EXAMPLES
29
32
30
-
### -------------------------- Example 1 --------------------------
When the OrderType is not indicated, the cmdlet will default to a Search order. This example returns a successful telephone number search and the telephone numbers are reserved for purchase.
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.
183
+
184
+
```yaml
185
+
Type: String
186
+
Parameter Sets: (All)
187
+
Aliases:
188
+
189
+
Required: False
190
+
Position: Named
191
+
Default value: None
192
+
Accept pipeline input: False
193
+
Accept wildcard characters: False
194
+
```
195
+
105
196
### CommonParameters
106
-
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutVariable, -OutBuffer, -PipelineVariable, -Verbose, -WarningAction, and -WarningVariable. For more information, see [about_CommonParameters](https://go.microsoft.com/fwlink/?LinkID=113216).
197
+
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).
107
198
108
199
## INPUTS
109
200
110
201
## OUTPUTS
111
202
112
203
## NOTES
204
+
Updates in Teams PowerShell Module version 6.7.1 and later:
205
+
- A new optional parameter `OrderType` is introduced. If no OrderType is provided, it will default to a Search order.
206
+
- [BREAKING CHANGE] When a Search order is queried, the property name `TelephoneNumber` in the output will be changed to `TelephoneNumbers`. The structure of the `TelephoneNumbers` output will remain unchanged.
207
+
- Impact: Scripts and processes that reference the `TelephoneNumber` property will need to be updated to use `TelephoneNumbers`.
This cmdlet uploads Direct Routing telephone numbers to Microsoft Teams telephone number management inventory. Once uploaded the phone numbers will be visible in Teams PowerShell as acquired Direct Routing phone numbers. The cmdlet is an asynchronous operation and will return an OrderId as output. [Get-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder) cmdlet can be used to check the status of the OrderId including any error or warning message that may result from the operation.
In this example, a new Direct Routing telephone number "+123456789" is being uploaded to Microsoft Teams telephone number management inventory. The output of the cmdlet is the OrderId that can be used with [Get-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder) cmdlet to retrieve the status of the order.
In this example, a range of Direct Routing telephone numbers from "+12000000" to "+12000009" are being uploaded to Microsoft Teams telephone number management inventory. The output of the cmdlet is the OrderId that can be used with [Get-CsOnlineTelephoneNumberOrder](https://learn.microsoft.com/powershell/module/teams/get-csonlinetelephonenumberorder) cmdlet to retrieve the status of the order.
46
+
47
+
## PARAMETERS
48
+
49
+
### -TelephoneNumber
50
+
This is the Direct Routing telephone number you wish to upload to Microsoft Teams telephone number management inventory.
51
+
52
+
```yaml
53
+
Type: String
54
+
Parameter Sets: (All)
55
+
Aliases:
56
+
57
+
Required: False
58
+
Position: Named
59
+
Default value: None
60
+
Accept pipeline input: False
61
+
Accept wildcard characters: False
62
+
```
63
+
64
+
### -StartingNumber
65
+
This is the starting number of a range of Direct Routing telephone number you wish to upload to Microsoft Teams telephone number management inventory.
66
+
67
+
```yaml
68
+
Type: String
69
+
Parameter Sets: (All)
70
+
Aliases:
71
+
72
+
Required: False
73
+
Position: Named
74
+
Default value: None
75
+
Accept pipeline input: False
76
+
Accept wildcard characters: False
77
+
```
78
+
79
+
### -EndingNumber
80
+
This is the ending number of a range of Direct Routing telephone number you wish to upload to Microsoft Teams telephone number management inventory.
81
+
82
+
```yaml
83
+
Type: String
84
+
Parameter Sets: (All)
85
+
Aliases:
86
+
87
+
Required: False
88
+
Position: Named
89
+
Default value: None
90
+
Accept pipeline input: False
91
+
Accept wildcard characters: False
92
+
```
93
+
94
+
### -Description
95
+
Add a meaningful description that will help you identify the reason for this upload order.
96
+
97
+
```yaml
98
+
Type: String
99
+
Parameter Sets: (All)
100
+
Aliases:
101
+
102
+
Required: False
103
+
Position: Named
104
+
Default value: None
105
+
Accept pipeline input: False
106
+
Accept wildcard characters: False
107
+
```
108
+
109
+
### CommonParameters
110
+
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).
111
+
112
+
## INPUTS
113
+
114
+
### None
115
+
116
+
## OUTPUTS
117
+
118
+
### System.String
119
+
120
+
## NOTES
121
+
The cmdlet is available in Teams PowerShell module 6.7.1 or later.
122
+
123
+
The cmdlet is only available in commercial and GCC cloud instances.
0 commit comments