Commands › Microsoft Teams

Set-CsTeamsCallParkPolicy

Microsoft Teams MicrosoftTeams Set-*

The Set-CsTeamsCallParkPolicy cmdlet lets you update a policy that has already been created for your organization.

Quick start script

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

# 3. Make the change (dry run first)
Set-CsTeamsCallParkPolicy  -WhatIf
Set-CsTeamsCallParkPolicy

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

Syntax — 3 parameter sets

Default

Set-CsTeamsCallParkPolicy [-AllowCallPark <Boolean>] [-Description <String>] [[-Identity] <String>]
 [-ParkTimeoutSeconds <Int64>] [-PickupRangeEnd <Int64>] [-PickupRangeStart <Int64>]
 [-MsftInternalProcessingMode <String>] [-WhatIf] [-Confirm] [<CommonParameters>]

Identity (Default)

Set-CsTeamsCallParkPolicy [-Tenant <System.Guid>] [-AllowCallPark <Boolean>] [-PickupRangeStart <Integer>] [-PickupRangeEnd <Integer>] [-ParkTimeoutSeconds <Integer>] [[-Identity] <XdsIdentity>]
 [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Instance

Set-CsTeamsCallParkPolicy [-Tenant <System.Guid>] [-AllowCallPark <Boolean>] [-Instance <PSObject>] [-Force]
 [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (12)

ParameterTypeRequiredWhat it controls
-AllowCallPark Boolean If set to true, customers will be able to leverage the call park feature to place calls on hold and then decide how the call should be handled - transferred to another department, retrieved using the same phone, or...
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-Description String Description of the policy.
-Force SwitchParameter Suppress all non-fatal errors
-Identity XdsIdentity The unique identifier of the policy being updated.
-Instance PSObject This parameter is used when piping a specific policy retrieved from Get-CsTeamsCallParkPolicy that you then want to update.
-MsftInternalProcessingMode String For Internal use only.
-ParkTimeoutSeconds Integer Specify the number of seconds to wait before ringing the parker when the parked call hasn't been picked up. Value can be from 120 to 1800 (seconds).
-PickupRangeEnd Integer Specify the maximum value that a rendered pickup code can take. Value can be from 10 to 9999.
-PickupRangeStart Integer Specify the minimum value that a rendered pickup code can take. Value can be from 10 to 9999.
-Tenant Guid Internal Microsoft use only.
-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.