New-CsOrganizationalAutoAttendantDialScope

Use New-CsOrganizationalAutoAttendantDialScope cmdlet to create dial-scopes for use with Auto Attendant (AA) service.

Syntax

New-CsOrganizationalAutoAttendantDialScope
   -GroupScope
   -GroupIds <List>
   [-Tenant <Guid>]
   [<CommonParameters>]

Description

This cmdlet creates a new dial-scope to be used with Auto Attendant (AA) service. OAAs use dial-scopes to restrict the scope of call transfers that can be made through directory lookup feature.

NOTE

  • The returned dial-scope model composes a member for the underlying type/implementation, e.g. in case of the group-based dial scope, in order to modify its Group IDs, you can access them through DialScope.GroupScope.GroupIds.

Examples

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

$groupIds = @("00000000-0000-0000-0000-000000000000")
$dialScope = New-CsOrganizationalAutoAttendantDialScope -GroupScope -GroupIds $groupIds

In Example 1, the New-CsOrganizationalAutoAttendantDialScope cmdlet is used to create a dial-scope with a group whose id is 00000000-0000-0000-0000-000000000000.

Required Parameters

-GroupIds

Refers to the IDs of the groups that are to be included in the dial-scope.

Group IDs can be obtained by using the Find-CsGroup cmdlet.

Type:System.Collections.Generic.List
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online
-GroupScope

Indicates that a dial-scope based on groups (distribution lists, security groups) is to be created.

Type:SwitchParameter
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

Optional Parameters

-Tenant
Type:System.Guid
Position:Named
Default value:None
Accept pipeline input:False
Accept wildcard characters:False
Applies to:Skype for Business Online

Inputs

None

Outputs

Microsoft.Rtc.Management.OAA.Models.DialScope