Remove-CsUserCallingDelegate

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

Note

Preview The use of this cmdlet is in Public Preview.

Syntax

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

Description

This cmdlet will remove a delegate for the specified user.

Examples

Example 1

Remove-CsUserCallingDelegate -Identity user1@contoso.com -Delegate user2@contoso.com

This example shows removing the delegate user2@contoso.com.

Parameters

-Delegate

The Identity of the delegate to remove. Can be specified using the ObjectId, the SIP address or the e-mail address.

Type:System.String
Position:named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
-Identity

The Identity of the user to remove a delegate for. Can be specified using the ObjectId, the SIP address or the e-mail address.

Type:System.String
Position:named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object

Notes

The cmdlet is available in Teams PowerShell module 3.0.1-preview.

The specified user need to have the Microsoft Phone System license assigned.

You can see the delegate of a user by using the Get-CsUserCallingSettings cmdlet.