Commands › Microsoft Teams

New-CsUserCallingDelegate

Microsoft Teams MicrosoftTeams New-*

This cmdlet will add a new delegate for calling in Microsoft Teams.

Quick start script

# New-CsUserCallingDelegate — 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-CsUserCallingDelegate
$before | Format-List

# 3. Make the change
New-CsUserCallingDelegate -Delegate <String> -Identity <String> -MakeCalls <Boolean>

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

Syntax

New-CsUserCallingDelegate -Identity <String> -Delegate <String> -MakeCalls <Boolean> -ManageSettings <Boolean>
 -ReceiveCalls <Boolean> -PickUpHeldCalls <Boolean> -JoinActiveCalls <Boolean> [<CommonParameters>]

Parameters (7)

ParameterTypeRequiredWhat it controls
-Delegate String yes The Identity of the delegate to add. Can be specified using the ObjectId or the SIP address.
-Identity String yes The Identity of the user to add a delegate for. Can be specified using the ObjectId or the SIP address.
-MakeCalls Boolean yes Specifies whether delegate is allowed to make calls on behalf of the specified user.
-ManageSettings Boolean yes Specifies whether delegate is allowed to change the delegate and calling settings for the specified user.
-ReceiveCalls Boolean yes Specifies whether delegate is allowed to receive calls on behalf of the specified user.
-PickUpHeldCalls Boolean yes Specifies whether delegate is allowed to pick up calls on behalf of the specified user.
-JoinActiveCalls Boolean yes Specifies whether delegate is allowed to join active calls on behalf of the specified user.

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