Commands › Microsoft Teams

Get-CsOnlineApplicationInstance

Microsoft Teams MicrosoftTeams Get-*

Get application instance for the tenant from Microsoft Entra ID.

Quick start script

# Get-CsOnlineApplicationInstance — quick start (serv365.ai)
# 1. Connect (app-only shown; interactive: omit the certificate parameters)
Connect-MicrosoftTeams -CertificateThumbprint $thumb -ApplicationId $appId -TenantId $tenantId

# 2. Run and inspect
Get-CsOnlineApplicationInstance | Format-List

# 3. Export for evidence / drift tracking
Get-CsOnlineApplicationInstance | Export-Clixml .\CsOnlineApplicationInstance-$(Get-Date -Format yyyyMMdd).xml

Syntax

Get-CsOnlineApplicationInstance [[-Identity] <string>] [[-Identities] <string>] [[-ResultSize] <int>] [[-Skip] <int>] [-Force] [-WhatIf] [-Confirm] [<CommonParameters>]

Parameters (7)

ParameterTypeRequiredWhat it controls
-Confirm SwitchParameter Prompts you for confirmation before running the cmdlet.
-Force SwitchParameter This switch specifies whether to suppress warning and confirmation messages. It can be useful in scripting to suppress interactive prompts. If it isn't provided in the command, you're prompted for administrative...
-Identities String The UPNs or the object IDs of the application instances to retrieve, separated with comma. If neither this parameter nor the Identity parameter is provided, all application instances in the tenant are retrieved.
-Identity String The UPN or the object ID of the application instance to retrieve. If neither this parameter nor the Identities parameter is provided, all application instances in the tenant are retrieved.
-ResultSize Int32 The result size for bulk get. This parameter is currently not working.
-Skip Int32 Skips the first specified number of returned results. The default value is 0. This parameter is currently not working.
-WhatIf SwitchParameter Shows what would happen if the cmdlet runs. The cmdlet is not run.

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