Commands › Microsoft Teams

Set-CsPersonalAttendantSettings

Microsoft Teams MicrosoftTeams Set-*

**Limited Preview:** Functionality described in this document is currently in limited preview and only authorized organizations have access. This cmdlet will set personal attendant settings for the specified user.

Quick start script

# Set-CsPersonalAttendantSettings — 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-CsPersonalAttendantSettings
$before | Format-List

# 3. Make the change
Set-CsPersonalAttendantSettings -Identity <String> -IsPersonalAttendantEnabled <Boolean> -DefaultLanguage <String>

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

Syntax

Set-CsPersonalAttendantSettings -Identity <String> -IsPersonalAttendantEnabled <Boolean> -DefaultLanguage <String> [-DefaultVoice <String>]  [-CalleeName <String>] [-DefaultTone <String>] -IsBookingCalendarEnabled <Boolean> [-IsNonContactCallbackEnabled <Boolean>] -IsCallScreeningEnabled <Boolean> -AllowInboundInternalCalls <Boolean> -AllowInboundFederatedCalls <Boolean> -AllowInboundPSTNCalls <Boolean>  -IsAutomaticTranscriptionEnabled <Boolean> -IsAutomaticRecordingEnabled <Boolean> [<CommonParameters>]

Parameters (14)

ParameterTypeRequiredWhat it controls
-Identity String yes The Identity of the user to set personal attendant settings for. Can be specified using the ObjectId or the SIP address.
-IsPersonalAttendantEnabled Boolean yes This parameter controls whether personal attendant is enabled or not. If personal attendant is enabled, then at least one of: AllowInboundInternalCalls, AllowInboundFederatedCalls, AllowInboundPSTNCalls must be enabled.
-DefaultLanguage String yes Language to be used by personal attendant in communication. The preliminary list of supported languages is: en-US, fr-FR, ar-SA, zh-CN, zh-TW, cs-CZ, da-DK, nl-NL, en-AU, en-GB, fi-FI, fr-CA, de-DE, el-GR, hi-IN,...
-DefaultVoice String Voice to be used by personal attendant in communication. Supported values are Female and Male.
-CalleeName String Name that personal attendant uses when referring to its owner.
-DefaultTone String Tone to be used by personal attendant in communication. Supported values are Formal and Casual.
-IsBookingCalendarEnabled Boolean yes This parameter controls whether personal attendant can access personal bookings calendar to fetch the user's availability and schedule callbacks on behalf of the user. If access to personal calendar is enabled by...
-IsNonContactCallbackEnabled Boolean This parameter controls whether personal attendant calendar operations for callers not in the user contact list are enabled or not.
-IsCallScreeningEnabled Boolean yes This parameter controls whether personal attendant evaluates calls context and passes the info to the user.
-AllowInboundInternalCalls Boolean yes This parameter controls whether personal attendant for incoming domain calls is enabled or not.
-AllowInboundFederatedCalls Boolean yes This parameter controls whether personal attendant for incoming calls from other domains is enabled or not.
-AllowInboundPSTNCalls Boolean yes This parameter controls whether personal attendant for incoming PSTN calls is enabled or not.
-IsAutomaticTranscriptionEnabled Boolean yes This parameter controls whether automatic storing of transcriptions (of personal attendant calls) is enabled or not.
-IsAutomaticRecordingEnabled Boolean yes This parameter controls whether automatic storing of recordings (of personal attendant calls) is enabled or not.

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