Set-CsOnlineApplicationInstance

Updates an application instance in Azure Active Directory.

Note: The use of this cmdlet for assigning phone numbers will be deprecated. Use the new Set-CsPhoneNumberAssignment and Remove-CsPhoneNumberAssignment cmdlets instead. The new cmdlets are currently not supported for customers and tenants that are or have been enabled for Regionally Hosted Meetings for Skype for Business Online. These customers should continue to use Set-CsOnlineApplicationInstance.

Syntax

Set-CsOnlineApplicationInstance
   [-Identity] <string>
   [[-OnpremPhoneNumber] <string>]
   [[-ApplicationId] <guid>]
      [[-DisplayName] <string>]
   [-Tenant <guid>]
   [-Force]
   [-WhatIf]
   [-Confirm] 
   [<CommonParameters>]

Description

This cmdlet is used to update an application instance in Azure Active Directory. This same cmdlet is also run when creating a new resource account using Teams Admin Center.

Examples

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

Set-CsOnlineApplicationInstance -Identity appinstance01@contoso.com -OnpremPhoneNumber +14250000000 -ApplicationId ce933385-9390-45d1-9512-c8d228074e07 -DisplayName "AppInstance01"

This example shows updating OnpremPhoneNumber, ApplicationId, DisplayName information for an existing Auto Attendant application instance with Identity "appinstance01@contoso.com".

The following are the application ID's for each type of application instance types:

Auto Attendant: ce933385-9390-45d1-9512-c8d228074e07 Call Queue: 11cd3e2e-fccb-42ad-ad00-878b93575e07

Parameters

-ApplicationId

The application ID.

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

The display name.

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

The URI or ID of the application instance to update.

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

Note: Using this parameter will be deprecated. Use the new Set-CsPhoneNumberAssignment cmdlet instead.

Assigns a hybrid (on-premise) telephone number to the application instance.

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