Set-CsTeamsCallingPolicy

Use this cmdlet to update values in existing Teams Calling Policies.

Syntax

Set-CsTeamsCallingPolicy
   [-Tenant <System.Guid>]
   [-AllowCalling <Boolean>]
   [-AllowPrivateCalling <Boolean>]
   [-AllowVoicemail <String>]
   [-AllowCallGroups <Boolean>]
   [-AllowDelegation <Boolean>]
    [-AllowCallForwardingToUser <Boolean>]
   [-AllowCallForwardingToPhone <Boolean>]
   [-PreventTollBypass <Boolean>]
   [-BusyOnBusyEnabledType <String>]
   [[-Identity] <XdsIdentity>]
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]
Set-CsTeamsCallingPolicy
   [-Tenant <System.Guid>]
   [-AllowCalling <Boolean>]
   [-AllowPrivateCalling <Boolean>]
   [-AllowVoicemail <String>]
   [-AllowCallGroups <Boolean>]
   [-AllowDelegation <Boolean>]
    [-AllowCallForwardingToUser <Boolean>]
   [-AllowCallForwardingToPhone <Boolean>]
   [-PreventTollBypass <Boolean>]
   [-BusyOnBusyEnabledType <String>]
   [-Instance <PSObject>]
   [-Force]
   [-WhatIf]
   [-Confirm]
   [<CommonParameters>]

Description

The Teams Calling Policies designate which users are able to use calling functionality within teams and determine the interopability state with Skype for Business. This cmdlet allows admins to set values in a given calling policy.

Examples

Example 1

PS C:\> Set-CsTeamsCallingPolicy -Identity Global -AllowPrivateCalling $true

Sets the value of the parameter AllowPrivateCalling, which controls whether or not users can leverage calling functionality in Microsoft Teams, in the global (default) tenant CallingPolicy.

Parameters

-AllowCallForwardingToPhone

Enables call forwarding or simultaneous ringing of inbound calls to any phone number.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AllowCallForwardingToUser

Enables call forwarding or simultaneous ringing of inbound calls to other users in your tenant.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AllowCallGroups

Enables inbound calls to be routed to call groups.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AllowCalling

Controls interop calling capabilities. Turning this on will allow Skype for Business users to have one-on-one calls with Teams users and vice-versa.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AllowDelegation

Enables inbound calls to be routed to delegates; allows delegates to make outbound calls on behalf of the users for whom they have delegated permissions.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AllowPrivateCalling

Controls all calling capabilities in Teams. Turning this off will turn off all calling functionality in Teams. If you use Skype for Business for calling, this policy will not affect calling functionality in Skype for Business.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-AllowVoicemail

Enables inbound calls to be routed to voice mail. Valid options are: AlwaysEnabled, AlwaysDisabled, UserOverride.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-BusyOnBusyEnabledType

Setting this parameter lets you configure how incoming calls are handled when a user is already in a call or conference or has a call placed on hold. New or incoming calls will be rejected with a busy signal. Valid options are: Enabled, Disabled.

Type:String
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Confirm

Prompts you for confirmation before running the cmdlet.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Force

Suppresses all non-fatal errors.

Type:SwitchParameter
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False
-Identity

Name of the policy being modified.

Type:XdsIdentity
Position:1
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Instance

Use this to pipe a specific calling policy to be set. You can only modify the global policy, so can only pass the global instance of the Calling Policy.

Type:PSObject
Position:Named
Default value:None
Accept pipeline input:True (ByValue)
Accept wildcard characters:False
-PreventTollBypass

Setting this parameter to True will send calls through PSTN and incur charges rather than going through the network and bypassing the tolls.

Type:Boolean
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Tenant

Internal Microsoft use.

Type:System.Guid
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-WhatIf

Shows what would happen if the cmdlet runs. The cmdlet is not run.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:False
Accept pipeline input:False
Accept wildcard characters:False

Inputs

System.Management.Automation.PSObject

Outputs

System.Object