Commands › Microsoft Teams

New-CsAutoAttendantDialScope

Microsoft Teams MicrosoftTeams New-*

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

Quick start script

# New-CsAutoAttendantDialScope — 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-CsAutoAttendantDialScope
$before | Format-List

# 3. Make the change
New-CsAutoAttendantDialScope -GroupIds <List> -GroupScope <SwitchParameter>

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

Syntax

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

Parameters (3)

ParameterTypeRequiredWhat it controls
-GroupIds List yes Refers to the IDs of the groups that are to be included in the dial-scope.
-GroupScope SwitchParameter yes Indicates that a dial-scope based on groups (distribution lists, security groups) is to be created.
-Tenant Guid This parameter is reserved for Microsoft internal use only.

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