Commands › Microsoft Teams

New-CsTeamsCallParkPolicy

Microsoft Teams MicrosoftTeams New-*

The New-CsTeamsCallParkPolicy cmdlet lets you create a new custom policy that can then be assigned to one or more specific users.

Quick start script

# New-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)
New-CsTeamsCallParkPolicy  -WhatIf
New-CsTeamsCallParkPolicy

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

Syntax

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

Parameters (10)

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 Enables administrators to provide explanatory text about the policy. For example, the Description might indicate the users the policy should be assigned to.
-Force SwitchParameter Suppress all non-fatal errors.
-Identity XdsIdentity A unique identifier for the policy - this will be used to retrieve the policy later on to assign it to specific users.
-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.