Commands › Microsoft Teams

Get-CsAutoAttendant

Microsoft Teams MicrosoftTeams Get-*

Get information about your Auto Attendants (AA).

Quick start script

# Get-CsAutoAttendant — 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
Get-CsAutoAttendant | Format-List

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

Syntax

Get-CsAutoAttendant [-Identity <String>] [-First <UInt32>] [-Skip <UInt32>] [-NameFilter <String>] [-SortBy <String>] [-Descending] [-IncludeStatus] [-ExcludeContent] [-Tenant <Guid>] [<CommonParameters>]

Parameters (9)

ParameterTypeRequiredWhat it controls
-Descending SwitchParameter If specified, the retrieved auto attendants would be sorted in descending order.
-ExcludeContent SwitchParameter If specified, only auto attendants' names, identities and associated application instances will be retrieved.
-First UInt32 The First parameter gets the first N auto attendants, up to a maximum of 100 at a time. When not specified, the default behavior is to return the first 100 auto attendants. It is intended to be used in conjunction...
-Identity String The identity for the AA to be retrieved. If this parameter is not specified, then all created AAs in the organization are returned. If you specify this parameter, you can't specify the other parameters.
-IncludeStatus SwitchParameter If specified, the status records for each auto attendant in the result set are also retrieved.
-NameFilter String If specified, only auto attendants whose names match that value would be returned.
-Skip UInt32 The Skip parameter skips the first N auto attendants. It is intended to be used in conjunction with the `-First` parameter for pagination purposes.
-SortBy String If specified, the retrieved auto attendants would be sorted by the specified property.
-Tenant Guid This parameter is reserved for Microsoft internal use only.

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