Add-CsSlaDelegates

Use the Add-CsSlaDelegates cmdlet to add a delegate to a shared number in Shared Line Appearance (SLA). A shared number in SLA is an Enterprise Voice user that is capable of receiving multiple calls at a time and forwarding them to its delegates, who answer the call.

Syntax

Add-CsSlaDelegates
   [-Identity] <UserIdParameter>
   -Delegate <Uri>
   [-Confirm]
   [-PassThru]
   [-WhatIf]
   [<CommonParameters>]

Description

SLA is a feature in Skype for Business (SfB) for handling multiple calls on a specific number called a shared number. SLA can configure any enterprise voice enabled SfB user as a shared number with multiple lines to respond to multiple calls. The calls are not actually received on the shared number, instead they are forwarded to users that act as delegates for the shared number. Any one of the delegates can pick up the call while the rest of the delegates get a notification on their phone about who picked up the call and which line has become busy as a result. Both the number of lines and the delegates are configurable for a shared number in SLA. In addition, advanced options such as BusyOption (what happens in a situation when all lines are busy) and MissedCallOption (the case in which none of the delegates pick up a call) can also be configured for a shared number.

The Add-CsSlaDelegates cmdlet provides a way to retrieve a shared number configuration.

NOTE: Logging in with the account created for the SLA number is not supported. Using the SLA number account with any device or Desktop Client can result in unpredictable behavior. It is not necessary to use that account for the Shared Line Appearance feature to function.

By default, members of the RTCUniversalServerAdmins group are authorized to run the Add-CsSlaDelegates. To return a list of all the role-based access control (RBAC) roles this cmdlet has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell prompt:

Get-CsAdminRole | Where-Object {$_.Cmdlets -match "Add-CsSlaDelegates"}

Examples

-------------------------- Example 1 --------------------------

Add-CsSlaDelegates -Identity emergency -Delegate sip:delegate_1@contosohealth.com

This example adds a delegate "delegate_1@contosohealth.com" to an SLA configuration identified by "emergency".

Parameters

-Confirm

Prompts you for confirmation before executing the command.

Type:SwitchParameter
Aliases:cf
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-Delegate

Specifies a user that will respond to a call on the shared number specified by the Identity parameter. This parameter requires a valid sip address.

Type:Uri
Position:Named
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-Identity

Indicates the identity of the shared number to which the delegate will be added. User identities can be specified using one of five formats:

  • SIP address: Example. sip:kenmyer@litwareinc.com.
  • User principal name (UPN). Example: kenmyer@litwareinc.com.
  • Domain name and logon name in the form domain\logon. Example: litwareinc\kenmyer.
  • Active Directory display name (this form typically requires quotes). Example: "Ken Myer".
  • Active Directory distinguished name. Example: CN=KenMyer,CN=Users,DC=Atlanta,DC=Corp,DC=litware,DC=com
Type:UserIdParameter
Position:1
Default value:None
Required:True
Accept pipeline input:True
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-PassThru

The presence of the passthru switch causes the cmdlet to pass the current objects through the pipeline.

Type:SwitchParameter
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

-WhatIf

Describes what would happen if you executed the command without actually executing the command.

Type:SwitchParameter
Aliases:wi
Position:Named
Default value:None
Required:False
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Server 2015, Skype for Business Server 2019

Outputs

SlaConfiguration Object

The Add-CsSlaDelegates cmdlet returns a Microsoft.Rtc.Management.SlaConfiguration object.