Commands › Microsoft Teams

Get-M365TeamsApp

Microsoft Teams MicrosoftTeams Get-*

This cmdlet returns app availability and state for the Microsoft Teams app.

Quick start script

# Get-M365TeamsApp — 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-M365TeamsApp -Id <String> | Format-List

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

Syntax

Get-M365TeamsApp -Id <String> [<CommonParameters>]

Parameters (1)

ParameterTypeRequiredWhat it controls
-Id String yes Application ID of the Teams app.

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