編輯

共用方式為


Get-ALLM365TeamsApps

This cmdlet returns all Microsoft Teams apps in the app catalog, including Microsoft, custom, and non-Microsoft apps.

Syntax

Get-AllM365TeamsApps []

Description

Get-AllM365TeamsApps retrieves a complete list of all Teams apps in an organization, their statuses, and their availability information.

Examples

Example 1

PS C:\> Get-AllM365TeamsApps

Returns a complete list of all Teams apps in an organization, their statuses, and their availability information.

Example 2

PS C:\> Get-AllM365TeamsApps | Select-Object -Property Id, IsBlocked, AvailableTo -ExpandProperty AvailableTo

Returns a complete list of all Teams apps in an organization, their statuses, and their availability information in expanded format.

Example 3

PS C:\> Get-AllM365TeamsApps | Select-Object -Property Id, IsBlocked, AvailableTo, InstalledFor -ExpandProperty InstalledFor

Returns a complete list of all Teams apps in an organization, their statuses, their availability and their installation information in expanded format.

Inputs

None

Outputs

System.Object

Id Application ID of the Teams app.

IsBlocked The state of the app in the tenant. Values:

  • Blocked
  • Unblocked

AvailableTo Provides available to properties for the app. Properties:

  • AssignmentType: App availability type. Values:
    • Everyone
    • UsersandGroups
    • Noone
  • LastUpdatedTimestamp: Time and date when the app AvailableTo value was last updated.
  • AssignedBy: UserID of the last user who updated the app available to value.

InstalledFor Provides installation status for the app. Properties:

  • AppInstallType: App availability type. Values:
    • Everyone
    • UsersandGroups
    • Noone
  • LastUpdatedTimestamp: Time and date when the app AvailableTo value was last updated.
  • InstalledBy: UserID of the last user who installed the app available to value.
  • InstalledSource: Source of Installation
  • Version: Version of the app installed