Commands › Microsoft Teams
Get-M365TeamsApp
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)
Reference facts derived from Microsoft documentation, © Microsoft, licensed CC BY 4.0; restructured with original guidance by serv365.ai.