Commands › Microsoft Teams

Set-CsUserCallingDelegate

Microsoft Teams MicrosoftTeams Set-*

This cmdlet will change permissions for a delegate for calling in Microsoft Teams.

Quick start script

# Set-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
Set-CsUserCallingDelegate -Delegate <String> -Identity <String>

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

Syntax

Set-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 Specifies whether delegate is allowed to make calls on behalf of the specified user.
-ManageSettings Boolean Specifies whether delegate is allowed to change the delegate and calling settings for the specified user.
-ReceiveCalls Boolean Specifies whether delegate is allowed to receive calls on behalf of the specified user.
-PickUpHeldCalls Boolean Specifies whether delegate is allowed to pick up calls on behalf of the specified user.
-JoinActiveCalls Boolean 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.