編輯

共用方式為


Get-TeamsApp

Returns app information from the Teams tenant app store.

Syntax

Get-TeamsApp
   [-Id <String>]
   [-ExternalId <String>]
   [-DisplayName <String>]
   [-DistributionMethod <String>]
   [<CommonParameters>]

Description

Use any optional parameter to retrieve app information from the Teams tenant app store.

Examples

Example 1

PS C:\> Get-TeamsApp -Id b9cc7986-dd56-4b57-ab7d-9c4e5288b775

Example 2

PS C:\> Get-TeamsApp -ExternalId b00080be-9b31-4927-9e3e-fa8024a7d98a -DisplayName <String>] [-DistributionMethod <String>]

Example 3

PS C:\> Get-TeamsApp -DisplayName SampleApp -DistributionMethod organization

Parameters

-DisplayName

Name of the app visible to users

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

-DistributionMethod

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

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

-ExternalId

The external ID of the app, provided by the app developer and used by Microsoft Entra ID

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

-Id

The app's ID generated by Teams (different from the external ID)

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

Inputs

None

Outputs

System.Object