Commands › Microsoft Teams
Complete-CsOnlineTelephoneNumberOrder
Complete a specific telephone number search order and confirm the purchase of the new telephone numbers. The telephone numbers can then be used to set up calling features for users and services in your organization.
Quick start script
# Complete-CsOnlineTelephoneNumberOrder — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId
# 2. Run and inspect
Complete-CsOnlineTelephoneNumberOrder | Format-List
# 3. Export for evidence / drift tracking
Complete-CsOnlineTelephoneNumberOrder | Export-Clixml .\CsOnlineTelephoneNumberOrder-$(Get-Date -Format yyyyMMdd).xml
Syntax
Complete-CsOnlineTelephoneNumberOrder [-OrderId] <OrderId> [<CommonParameters>]
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.