Commands › Microsoft Teams

New-CsOnlineApplicationInstanceAssociation

Microsoft Teams MicrosoftTeams New-*

Associate either a single or multiple application instances with an application configuration, like auto attendant or call queue.

Quick start script

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

# 3. Make the change
New-CsOnlineApplicationInstanceAssociation -ConfigurationId <String> -ConfigurationType <String> -Identities <String[]>

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

Syntax

New-CsOnlineApplicationInstanceAssociation -Identities <String[]> -ConfigurationId <String> -ConfigurationType <Object> [-CallPriority <Int16>] [-Tenant <Guid>] [<CommonParameters>]

Parameters (5)

ParameterTypeRequiredWhat it controls
-CallPriority Int16 The call priority assigned to calls arriving on this application instance if a priority has not already been assigned.
-ConfigurationId String yes The ConfigurationId parameter is the identity of the configuration that would be associated with the provided application instances.
-ConfigurationType String yes The ConfigurationType parameter denotes the type of the configuration that would be associated with the provided application instances.
-Identities String[] yes The Identities parameter is the identities of application instances to be associated with the provided configuration ID.
-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.