Commands › Microsoft Teams

New-CsTeamsPersonalAttendantPolicy

Microsoft Teams MicrosoftTeams New-*

**Limited Preview:** Functionality described in this document is currently in limited preview and only authorized organizations have access. Use this cmdlet to create a new instance of a Teams Personal Attendant Policy. When policy modifications are temporarily blocked, new policy instances can be created successfully if the following parameters are kept at their default values (`EnabledUserOverride`): `PersonalAttendant`, `CallScreening`, `CalendarBookings`, `InboundInternalCalls`, `InboundFederatedCalls`, `InboundPSTNCalls`. The **AutomaticTranscription** and **AutomaticRecording** parameter

Quick start script

# New-CsTeamsPersonalAttendantPolicy — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Capture the current state first — you cannot roll back what you never recorded
$before = Get-CsTeamsPersonalAttendantPolicy
$before | Format-List

# 3. Make the change (dry run first)
New-CsTeamsPersonalAttendantPolicy  -WhatIf
New-CsTeamsPersonalAttendantPolicy

# 4. Verify and diff
$after = Get-CsTeamsPersonalAttendantPolicy
Compare-Object ($before | Out-String) ($after | Out-String)

Syntax

New-CsTeamsPersonalAttendantPolicy [-Identity <string>] [-PersonalAttendant <string>] [-CallScreening <string>] [-CalendarBookings <string>] [-InboundInternalCalls <string>] [-InboundFederatedCalls <string>] [-InboundPSTNCalls <string>] [-AutomaticTranscription <string>] [-AutomaticRecording <string>] [-Confirm] [-Force] [-WhatIf] [<CommonParameters>]

Parameters (12)

ParameterTypeRequiredWhat it controls
-Identity String Name of the policy instance being created.
-PersonalAttendant String Enables the user to use the personal attendant
-CallScreening String Enables the user to use the personal attendant call context evaluation features
-CalendarBookings String Enables the user to use the personal attendant calendar related features
-InboundInternalCalls String Enables the user to use the personal attendant for incoming domain calls
-InboundFederatedCalls String Enables the user to use the personal attendant for incoming calls from other domains
-InboundPSTNCalls String Enables the user to use the personal attendant for incoming PSTN calls
-AutomaticTranscription String Enables the user to use the automatic storing of personal attendant call transcriptions
-AutomaticRecording String Enables the user to use the automatic storing of personal attendant call recordings
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-Force SwitchParameter Suppresses any confirmation prompts that would otherwise be displayed before making changes.
-WhatIf SwitchParameter Shows what would happen if the cmdlet runs. The cmdlet is not run.

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