TeamsInstalledApps
Tracks which apps are installed in each Microsoft Team, detailing installation context such as user, group, or channel level.
テーブル固有の情報
Select
チームからすべてを取得するか、TeamId を'=' とIN 演算子で指定することでTeamsInstalledApps テーブルをクエリします。デフォルトでは、自身がメンバーであるグループのチームのインストール済みアプリのみ返されます。組織の全グループのチームからインストール済みアプリを取得するには、IncludeAllGroups プロパティをtrue に設定してください。 本製品 は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドで本製品 内部で処理されます。
- TeamId は、'=' およびIN 演算子をサポートします。
- AppId は、'=' 演算子をサポート。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM TeamsInstalledApps Where TeamId IN ('f7985bee-7fb4-404d-a954-5ba68ae7c8db', 'da838338-4e77-4c05-82a6-79d9f0274511') AND AppId = '14d6962d-6eeb-4f48-8890-de55454bb136'
Insert
最低でもTeamId およびAppId は、チームに新しいアプリを追加するために必須です。
INSERT INTO TeamsInstalledApps (TeamId, AppId) Values ('4729c5e5-f923-4435-8a41-44423d42ea79', '0fd925a0-357f-4d25-8456-b3022aaa41a9')
Delete
インストール済みアプリのレコードを削除するには、WHERE 句にId とTeamId を指定してください。
Delete from TeamsInstalledApps Where TeamId='f7985bee-7fb4-404d-a954-5ba68ae7c8db' AND Id='Zjc5ODViZWUtN2ZiNC00MDRkLWE5NTQtNWJhNjhhZTdjOGRiIyMyMGMzNDQwZC1jNjdlLTQ0MjAtOWY4MC0wZTUwYzM5NjkzZGY='
Columns
| Name | Type | ReadOnly | Description |
| TeamId | String | False |
The unique identifier of the Microsoft Team where the app is installed. |
| TeamsAppId | String | False |
The identifier of the Teams app instance installed in the Team. |
| TeamsAppDefinitionDescription | String | False |
A detailed description of the app as defined in the app's manifest or Teams App Catalog. |
| TeamsAppDefinitionDisplayName | String | False |
The name of the Teams app as shown to users in the Microsoft Teams client. |
| TeamsAppDefinitionLastModifiedDateTime | Datetime | False |
The timestamp indicating when the app definition was last updated in the Teams App Catalog. |
| TeamsAppDefinitionPublishingState | String | False |
The current publishing state of the app definition, such as submitted, published, or rejected. |
| TeamsAppDefinitionShortDescription | String | False |
A brief summary of the app's functionality or purpose, taken from the app manifest. |
| TeamsAppDefinitionVersion | String | False |
The version number of the app definition currently installed in the Team. |