편집

다음을 통해 공유


New-TeamsApp

Creates a new app in the Teams tenant app store.

Syntax

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

Description

Use a Teams app manifest zip file to upload an app to the tenant app store. DistributionMethod specifies that the app should be added to the organization.

Examples

Example 1

PS C:\> New-TeamsApp -DistributionMethod organization -Path c:\Path\SampleApp.zip

Parameters

-DistributionMethod

The type of app in Teams: global or organization. For LOB apps, use "organization"

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

-Path

The local path of the app manifest zip file, for use in New and Set

Type:String
Position:Named
Default value:None
Required:True
Accept pipeline input:False
Accept wildcard characters:False

Inputs

None

Outputs

System.Object