Commands › Microsoft Teams

Set-CsTeamsPersonalAttendantPolicy

Microsoft Teams MicrosoftTeams Set-*

**Limited Preview:** Functionality described in this document is currently in limited preview and only authorized organizations have access. Use this cmdlet to update values in existing Teams Personal Attendant Policies. When policy modifications are temporarily blocked, only **AutomaticTranscription** and **AutomaticRecording** can be updated. The following parameters are not available for changes during this period: `PersonalAttendant`, `CallScreening`, `CalendarBookings`, `InboundInternalCalls`, `InboundFederatedCalls`, `InboundPSTNCalls`.

Quick start script

# Set-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)
Set-CsTeamsPersonalAttendantPolicy  -WhatIf
Set-CsTeamsPersonalAttendantPolicy

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

Syntax

Set-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.