Edit

Share via


New-TeamsApp

Creates a new app in the Teams tenant app store.

Syntax

Default (Default)

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"

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

-Path

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

Parameter properties

Type:String
Default value:None
Supports wildcards:False
DontShow:False

Parameter sets

(All)
Position:Named
Mandatory:True
Value from pipeline:False
Value from pipeline by property name:False
Value from remaining arguments:False

CommonParameters

This cmdlet supports the common parameters: -Debug, -ErrorAction, -ErrorVariable, -InformationAction, -InformationVariable, -OutBuffer, -OutVariable, -PipelineVariable, -ProgressAction, -Verbose, -WarningAction, and -WarningVariable. For more information, see about_CommonParameters.

Inputs

None

Outputs

System.Object