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
Default (Default)
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
Applicable: Skype for Business Server 2015, Skype for Business Server 2019
Prompts you for confirmation before executing the command.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | cf |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-Delegate
Applicable: Skype for Business Server 2015, Skype for Business Server 2019
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.
Parameter properties
Type: | Uri |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-Identity
Applicable: Skype for Business Server 2015, Skype for Business Server 2019
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
Parameter properties
Type: | UserIdParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | 1 |
Mandatory: | True |
Value from pipeline: | True |
Value from pipeline by property name: | True |
Value from remaining arguments: | False |
-PassThru
Applicable: Skype for Business Server 2015, Skype for Business Server 2019
The presence of the passthru switch causes the cmdlet to pass the current objects through the pipeline.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
-WhatIf
Applicable: Skype for Business Server 2015, Skype for Business Server 2019
Describes what would happen if you executed the command without actually executing the command.
Parameter properties
Type: | SwitchParameter |
Default value: | None |
Supports wildcards: | False |
DontShow: | False |
Aliases: | wi |
Parameter sets
(All)
Position: | Named |
Mandatory: | False |
Value from pipeline: | False |
Value from pipeline by property name: | False |
Value from remaining arguments: | False |
CommonParameters
This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.
Outputs
SlaConfiguration Object
The Add-CsSlaDelegates
cmdlet returns a Microsoft.Rtc.Management.SlaConfiguration object.