Commands › Microsoft Teams

Remove-CsUserCallingDelegate

Microsoft Teams MicrosoftTeams Remove-*

This cmdlet will remove a delegate for calling in Microsoft Teams.

Quick start script

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

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

Syntax

Remove-CsUserCallingDelegate -Identity <String> -Delegate <String> [-HttpPipelinePrepend <SendAsyncStep[]>]
 [<CommonParameters>]

Parameters (3)

ParameterTypeRequiredWhat it controls
-Delegate String yes The Identity of the delegate to remove. Can be specified using the ObjectId or the SIP address.
-HttpPipelinePrepend SendAsyncStep[] {{ Fill HttpPipelinePrepend Description }}
-Identity String yes The Identity of the user to remove a delegate for. Can be specified using the ObjectId or the SIP address.

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