Commands › Microsoft Teams

Export-CsAcquiredPhoneNumber

Microsoft Teams MicrosoftTeams Export-*

This cmdlet exports the list of phone numbers acquired by Teams Phone tenant.

Quick start script

# Export-CsAcquiredPhoneNumber — 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
Export-CsAcquiredPhoneNumber | Format-List

# 3. Export for evidence / drift tracking
Export-CsAcquiredPhoneNumber | Export-Clixml .\CsAcquiredPhoneNumber-$(Get-Date -Format yyyyMMdd).xml

Syntax

Export-CsAcquiredPhoneNumber [-Property <String>] [<CommonParameters>]

Parameters (1)

ParameterTypeRequiredWhat it controls
-Property String {{ Fill Property Description }}

Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.