Commands › Microsoft Teams

Export-CsAutoAttendantHolidays

Microsoft Teams MicrosoftTeams Export-*

Use Export-CsAutoAttendantHolidays cmdlet to export holiday schedules of an existing Auto Attendant (AA).

Quick start script

# Export-CsAutoAttendantHolidays — 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-CsAutoAttendantHolidays -Identity <String> | Format-List

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

Syntax

Export-CsAutoAttendantHolidays -Identity <String> [-Tenant <Guid>] [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-Identity String yes The identity for the AA whose holiday schedules are to be exported.
-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.