Commands › Microsoft Teams

New-TeamsApp

Microsoft Teams MicrosoftTeams New-*

Creates a new app in the Teams tenant app store.

Quick start script

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

# 3. Make the change
New-TeamsApp -DistributionMethod <String> -Path <String>

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

Syntax

New-TeamsApp -DistributionMethod <String> -Path <String> [<CommonParameters>]

Parameters (2)

ParameterTypeRequiredWhat it controls
-DistributionMethod String yes The type of app in Teams: global or organization. For LOB apps, use "organization"
-Path String yes The local path of the app manifest zip file, for use in New and Set

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