CData Sync App は、Microsoft Teams データをデータベース、データレイク、またはデータウェアハウスに継続的にパイプライン化する簡単な方法を提供し、分析、レポート、AI、および機械学習で簡単に利用できるようにします。
Microsoft Teams コネクタはCData Sync アプリケーションから使用可能で、Microsoft Teams からデータを取得して、サポートされている任意の同期先に移動できます。
Microsoft Graph API v1.0 経由でMicrosoft Teams データに連携します。
必須プロパティについては、設定タブを参照してください。
通常必須ではない接続プロパティについては、高度な設定タブを参照してください。
Note:Microsoft はAzure AD をEntra ID にリブランドしました。ユーザーがEntra ID 管理サイトを操作する必要があるトピックでは、Microsoft が使用している名称と同じものを使用します。ただし、名前または値が"Azure AD" を参照しているCData 接続プロパティは、依然として存在します。
Microsoft Entra ID は、マルチテナント型のクラウドベースのID およびアクセス管理プラットフォームです。 OAuth ベースの認証フローに対応しており、ドライバーによるMicrosoft Teams エンドポイントへのセキュアなアクセスを実現します。
Web アプリケーションを介したEntra ID への認証には、必ずはじめにカスタムOAuth アプリケーションを作成して登録する必要があります。 これにより、アプリケーションは独自のリダイレクトURI を定義し、クレデンシャルのスコープを管理し、組織固有のセキュリティポリシーに準拠することができるようになります。
カスタムOAuth アプリケーションの作成および登録方法の詳細については、Entra ID(Azure AD)アプリケーションの作成 を参照してください。
AuthScheme をAzureAD に設定した後の認証手順は、環境によって異なります。 デスクトップアプリケーション、Web ベースのワークフロー、またはヘッドレスシステムから接続する方法の詳細については、以下のセクションを参照してください。
Note:Microsoft はAzure AD をEntra ID にリブランドしました。ユーザーがEntra ID 管理サイトを操作する必要があるトピックでは、Microsoft が使用している名称と同じものを使用します。ただし、名前または値が"Azure AD" を参照しているCData 接続プロパティは、依然として存在します。
Azure サービスプリンシパルは、ロールに基づいたアプリケーションベースの認証です。これは、認証がユーザーごとではなく、アプリケーションごとに行われることを意味します。
アプリケーションで実行されるすべてのタスクは、デフォルトユーザーコンテキストなしで、割り当てられたロールに基づいて実行されます。
リソースへのアプリケーションのアクセスは、割り当てられたロールの権限によって制御されます。
Azure サービスプリンシパル認証の設定方法については、Entra ID(Azure AD)でのサービスプリンシパルアプリの作成 を参照してください。
Azure VM 上でMicrosoft Teams を実行しており、マネージドID(MSI)認証情報を自動的に取得して接続したい場合は、AuthScheme を AzureMSI に設定します。
VM に複数のユーザーが割り当てられたマネージドID がある場合は、OAuthClientId も指定する必要があります。
Note:Microsoft はAzure AD をEntra ID にリブランドしました。ユーザーがEntra ID 管理サイトを操作する必要があるトピックでは、Microsoft が使用している名称と同じものを使用します。ただし、名前または値が"Azure AD" を参照しているCData 接続プロパティは、依然として存在します。
Microsoft Teams は、Microsoft Entra ID を使用したOAuth ベースの認証をサポートします。 Web アプリケーション経由で接続してEntra ID で認証したい場合は、以下に説明するように、まずEntra 管理センターでカスタムOAuth アプリケーションを登録する必要があります。
デスクトップアプリケーションまたはヘッドレスマシン経由で接続する場合は、CData ブランドを使用したMicrosoft Teams の組み込みアプリケーション認証情報を使用して認証できます。 ただし、カスタムOAuth アプリケーションもデスクトップおよびヘッドレス認証フローに対応しており、本番環境への導入や厳格なポリシー制御が求められる環境では、こちらの方が望ましい場合があります。
Microsoft Entra ID でOAuth アプリケーションを登録するには、次の手順に従います。
Note:この組織ディレクトリ内のアカウントのみを選択する場合は、 CData Sync App への接続の際にAzureTenant をテナントのId(GUID または検証済みドメイン)に設定する必要があります。 そうでない場合、認証は失敗します。
Select Required Permissions and then click Add. Under Select an API, select the Microsoft Graph and specifically select the following permissions:
Note:Microsoft はAzure AD をEntra ID にリブランドしました。ユーザーがEntra ID 管理サイトを操作する必要があるトピックでは、Microsoft が使用している名称と同じものを使用します。ただし、名前または値が"Azure AD" を参照しているCData 接続プロパティは、依然として存在します。
Microsoft Teams は、Microsoft Entra ID を使用したOAuth ベースの認証をサポートします。 Web アプリケーション経由で接続してEntra ID で認証したい場合は、以下に説明するように、まずEntra 管理センターでカスタムOAuth アプリケーションを登録する必要があります。
デスクトップアプリケーションまたはヘッドレスマシン経由で接続する場合は、CData ブランドを使用したMicrosoft Teams の組み込みアプリケーション認証情報を使用して認証できます。 ただし、カスタムOAuth アプリケーションもデスクトップおよびヘッドレス認証フローに対応しており、本番環境への導入や厳格なポリシー制御が求められる環境では、こちらの方が望ましい場合があります。
Microsoft Entra ID でOAuth アプリケーションを登録するには、次の手順に従います。
Note:この組織ディレクトリ内のアカウントのみを選択する場合は、 CData Sync App への接続の際にAzureTenant をテナントのId(GUID または検証済みドメイン)に設定する必要があります。 そうでない場合、認証は失敗します。
Select Required Permissions and then click Add. Under Select an API, select the Microsoft Graph and specifically select the following permissions:
Note:Microsoft はAzure AD をEntra ID にリブランドしました。ユーザーがEntra ID 管理サイトを操作する必要があるトピックでは、Microsoft が使用している名称と同じものを使用します。ただし、名前または値が"Azure AD" を参照しているCData 接続プロパティは、依然として存在します。
Microsoft Teams はサービスプリンシパルベースの認証をサポートしており、これはロールベースです。 つまり、サービスプリンシパルの権限は、割り当てられたロールによって決まります。 ロールは、サービスプリンシパルがアクセスできるリソースと実行可能な操作を指定します。
Microsoft Teams に対してサービスプリンシパルを使用して認証を行いたい場合は、Microsoft Entra ID でカスタムアプリケーションを作成する必要があります。
サービスプリンシパル認証を有効にするには:
Select Required Permissions and then click Add. Under Select an API, select the Microsoft Graph and specifically select the following permissions:
Note: 埋め込まれたOAuth 資格情報はユーザーごとに認証されるため、 クライアント認証フローで使用することはできません。クライアント資格情報を使用するには、必ずカスタムOAuth アプリケーションを作成する必要があります。
Note:Microsoft はAzure AD をEntra ID にリブランドしました。ユーザーがEntra ID 管理サイトを操作する必要があるトピックでは、Microsoft が使用している名称と同じものを使用します。ただし、名前または値が"Azure AD" を参照しているCData 接続プロパティは、依然として存在します。
Microsoft Teams はサービスプリンシパルベースの認証をサポートしており、これはロールベースです。 つまり、サービスプリンシパルの権限は、割り当てられたロールによって決まります。 ロールは、サービスプリンシパルがアクセスできるリソースと実行可能な操作を指定します。
Microsoft Teams に対してサービスプリンシパルを使用して認証を行いたい場合は、Microsoft Entra ID でカスタムアプリケーションを作成する必要があります。
サービスプリンシパル認証を有効にするには:
Select Required Permissions and then click Add. Under Select an API, select the Microsoft Graph and specifically select the following permissions:
Note: 埋め込まれたOAuth 資格情報はユーザーごとに認証されるため、 クライアント認証フローで使用することはできません。クライアント資格情報を使用するには、必ずカスタムOAuth アプリケーションを作成する必要があります。
このセクションでは、Microsoft Teams Sync App の高度な機能を厳選して説明します。
Sync App はユーザー定義ビューの使用をサポートします。これは事前設定されたユーザー定義クエリによって内容が決定される仮想テーブルです。 このビューは、ドライバーに発行されるクエリを直接制御できない場合に有効です。 カスタムビューの作成と設定の概要については、ユーザー定義ビュー を参照してください。
SSL の設定 を使用して、Sync App が証明書のネゴシエーションをどのように扱うかを調整します。さまざまな証明書形式を選択できます。詳しくは、「接続文字列オプション」にあるSSLServerCert プロパティを参照してください。
Windows プロキシとHTTP プロキシを含むファイアウォールとプロキシ に合致するようSync App を設定します。トンネル接続を設定することもできます。
詳しくは、クエリ処理 を参照してください。
デフォルトでは、Sync App はサーバーとのTLS のネゴシエーションを試みます。サーバー証明書は、デフォルトのシステム信頼済み証明書ストアで検証されます。SSLServerCert 接続プロパティを使用して、証明書の検証方法をオーバーライドできます。
別の証明書を指定するには、SSLServerCert 接続プロパティを参照してください。
HTTP プロキシへの認証には、以下のように設定します。
次のプロパティを設定します。
CData Sync App は、テーブル、ビュー、ストアドプロシージャを使用してMicrosoft Teams オブジェクトを使いやすいSQL データベースとしてモデル化します。これらは、スキーマファイルで定義されます。スキーマファイルは、データの構造と構成を定義する、シンプルで読みやすいテキストファイルです。
Microsoft Teams オブジェクトは、テーブル内の他のオブジェクトとリレーションを持ちます。これらのリレーションは外部キーを使用して表されます。
テーブル セクションには標準SQL テーブルの詳細が、ビュー セクションには読み取り専用SQL テーブルの一覧が記載されています。これらには、Microsoft Teams アカウントでのアクセスを想定したサンプルが含まれています。
一般的なテーブルには以下のものが含まれます。
| テーブル | 説明 |
| Teams | Maintains records of Microsoft Teams instances, including team names, visibility settings, and associated group metadata. |
| Channels | Tracks Microsoft Teams channel instances, capturing names, privacy settings, types (standard, private), and team associations. |
| Users | Contains detailed profile, organizational, and directory synchronization information for users in Microsoft Teams, including contact details, licensing, job roles, and Active Directory mappings. |
| Groups | Holds core metadata about Microsoft 365 Groups, including properties required for provisioning and maintaining Teams. |
| GroupMembers | Represents the relationship between Microsoft 365 Groups and their members, including user identifiers and membership roles. |
| GroupOwners | Identifies users assigned as owners of Microsoft 365 Groups that support Teams functionality, enabling management actions. |
| TeamMembers | Retrieves the list of users who are members of a specific Microsoft Teams team. |
| ChannelMembers | Retrieves a list of members belonging to a specific Microsoft Teams channel. |
| Chats | Provides a list of chat threads within Microsoft Teams, including group and one-on-one chats. |
| ChatMessages | Returns messages sent and received in Microsoft Teams chat threads. |
| ChannelMessages | Returns messages and replies exchanged within a Microsoft Teams channel. |
| ChatMembers | Retrieves details of participants in Microsoft Teams chat conversations. |
| TeamsInstalledApps | Maintains records of Microsoft Teams instances, including team names, visibility settings, and associated group metadata. |
| Apps | Contains metadata for third-party and internal apps integrated into Microsoft Teams, including installation details, permissions, and usage metrics. |
| TeamTabs | Documents tabs added to Teams channels, including tab type (Planner, Website, custom app) and configuration data. |
| Schedules | Defines the overarching containers used in Teams Shifts for organizing shifts, time-off requests, and schedule groups. |
| Shifts | Captures detailed shift assignments, including assigned user, start and end times, and optional shift notes. |
| OpenShifts | Stores reusable shift templates created by managers in the Teams Shifts app, used to build individual shift schedules. |
| TimesOff | Logs time-off entries requested by users through the Microsoft Teams Shifts interface, with reason codes and date ranges. |
| TimeOffReasons | Contains predefined labels for time-off requests in Teams Shifts, such as vacation, sick leave, or training. |
ストアドプロシージャ は、標準的なCRUD 操作を超える機能を持つSQL スクリプトです。パラメータを受け取り、関数を実行し、OAuth 認証トークンを管理し、サービスからデータを返すことで、処理の成功または失敗を示します。
Sync App はMicrosoft Teams のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。
| Name | Description |
| Apps | Contains metadata for third-party and internal apps integrated into Microsoft Teams, including installation details, permissions, and usage metrics. |
| Channels | Tracks Microsoft Teams channel instances, capturing names, privacy settings, types (standard, private), and team associations. |
| GroupMembers | Represents the relationship between Microsoft 365 Groups and their members, including user identifiers and membership roles. |
| GroupOwners | Identifies users assigned as owners of Microsoft 365 Groups that support Teams functionality, enabling management actions. |
| Groups | Holds core metadata about Microsoft 365 Groups, including properties required for provisioning and maintaining Teams. |
| OnlineMeetings | Usage information for the operation OnlineMeetings.rsd. |
| OpenShifts | Stores reusable shift templates created by managers in the Teams Shifts app, used to build individual shift schedules. |
| Schedules | Defines the overarching containers used in Teams Shifts for organizing shifts, time-off requests, and schedule groups. |
| SchedulingGroups | Segments users into groups within a Teams schedule to streamline shift assignments and reporting. |
| Shifts | Captures detailed shift assignments, including assigned user, start and end times, and optional shift notes. |
| Teams | Maintains records of Microsoft Teams instances, including team names, visibility settings, and associated group metadata. |
| TeamsInstalledApps | Tracks which apps are installed in each Microsoft Team, detailing installation context such as user, group, or channel level. |
| TeamTabs | Documents tabs added to Teams channels, including tab type (Planner, Website, custom app) and configuration data. |
| TimeOffReasons | Contains predefined labels for time-off requests in Teams Shifts, such as vacation, sick leave, or training. |
| TimesOff | Logs time-off entries requested by users through the Microsoft Teams Shifts interface, with reason codes and date ranges. |
Contains metadata for third-party and internal apps integrated into Microsoft Teams, including installation details, permissions, and usage metrics.
この操作は、Microsoft Teams ストアと組織のアプリカタログ(テナントアプリカタログ)のアプリを両方含みます。組織のアプリカタログのみからアプリを取得する場合は、distributionMethod にOrganization を指定してください。 Sync App はMicrosoft Teams API を使って、次のカラムと演算子で作成したWHERE 句の条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM Apps WHERE DisplayName = 'MailChimp'
SELECT * FROM Apps WHERE DisplayName IN ('OneNote', 'Teams')
SELECT * FROM Apps WHERE Id LIKE '%-3b58-%'
SELECT * FROM Apps WHERE externalId IN (123, 156)
アプリは自身の組織のアプリカタログ(テナントアプリカタログ)からのみ削除できます。アプリレコードを削除するには、WHERE 句にId を指定する必要があります。
DELETE FROM Apps WHERE Id = 'ffdb7239-3b58-46ba-b108-7f90a6d8799b'
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
A unique identifier automatically assigned to the app when it is added to the Teams app catalog. |
| displayName | String | False |
The human-readable name of the app as defined by the app developer for display in Microsoft Teams. |
| distributionMethod | String | False |
Specifies how the app is made available to users, such as via store listing, side-loading, or organization-wide deployment. |
| externalId | String | False |
The custom identifier defined by the app developer within the Teams app package, used for linking or internal tracking. |
Tracks Microsoft Teams channel instances, capturing names, privacy settings, types (standard, private), and team associations.
すべてのチーム内のすべてのチャネルを取得するかTeamId を指定することで、Channels テーブルをクエリします。 Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。
その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM Channels WHERE TeamId IN ('da838338-4e77-4c05-82a6-79d9f0274511', 'da838338-4e77-4c05-82a6-79d9f0274555')
SELECT * FROM Channels WHERE TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511' AND Id = '19:[email protected]'
SELECT * FROM Channels WHERE description != 'desc'
Note:テーブルがId カラムでフィルタリングされた場合にのみ、summary カラムに値が入力されます。また、このテーブルのsummary カラムではフィルタリングはできません。
最低でもTeamId およびDisplayName は、チームに新しいチャネルを追加するために必須です。他のフィールドもすべて指定できます。
INSERT INTO Channels (displayName, description, TeamId) VALUES ('a new channel', 'top tasks channel', 'da838338-4e77-4c05-82a6-79d9f0274511')
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
The unique identifier assigned to the channel by Microsoft Teams. |
| TeamId | String | False |
The identifier of the Team to which this channel belongs, used to associate the channel with its parent Team. |
| CreatedDateTime | Datetime | False |
The date and time when the channel was initially created, in UTC format. |
| Description | String | False |
An optional user-defined description that provides context or purpose for the channel. |
| DisplayName | String | False |
The name of the channel as shown in the Microsoft Teams interface to users. |
| String | False |
The email address assigned to the channel for message forwarding, available in channels with email integration. Read-only. | |
| IsArchived | Bool | False |
Indicates whether the channel is currently in a read-only, archived state. |
| IsFavoriteByDefault | Bool | False |
Specifies whether the channel is automatically pinned as a favorite for all team members upon creation. Only configurable via API during team creation. |
| MembershipType | String | False |
Defines the access type of the channel, such as standard, private, or shared. Set at creation time and cannot be changed later. |
| WebUrl | String | False |
The deep link URL to access the channel in Microsoft Teams. This link is generated via the 'Get link to channel' option and should be treated as an opaque identifier. |
Represents the relationship between Microsoft 365 Groups and their members, including user identifiers and membership roles.
チームからすべてを取得するか、GroupId を'=' とIN 演算子で指定することでGroupMembers テーブルをクエリします。デフォルトでは、自身がメンバーであるグループのメンバーのみ返されます。組織の全グループのメンバーを取得するには、IncludeAllGroups プロパティをtrue に設定してください。 Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM GroupMembers WHERE GroupId IN ('4729c5e5-f923-4435-8a41-44423d42ea79', 'acabe397-8370-4c31-aeb7-2d7ae6b8cda1')
SELECT * FROM GroupMembers WHERE GroupId = '4729c5e5-f923-4435-8a41-44423d42ea79'
GroupId およびMemberId フィールドは新しいメンバーをグループに挿入する際には必須です。MemberId はユーザーのId に対応し、Users テーブルをクエリすることでメンバーとして追加したいユーザーのId を取得できます。
INSERT INTO GroupMembers (GroupId, MemberId) VALUES ('acabe397-8370-4c31-aeb7-2d7ae6b8cda1', 'ad9de185-a7af-4ae5-946e-17fc1bf596f0')
GroupId およびMemberId を指定することでグループメンバーを削除できます。
DELETE FROM GroupMembers WHERE GroupId = 'e557c6d9-3d9a-4658-b51a-4f242c2f8ec8' AND MemberId = 'ba074a2a-69be-45d2-8519-2cc5688bca1e'
| Name | Type | ReadOnly | Description |
| GroupId [KEY] | String | False |
The unique identifier of the Microsoft 365 Group to which the member belongs. Used to link the member to a specific group. |
| MemberId [KEY] | String | False |
The unique identifier of the user who is a member of the specified group. Represents the user's presence in the group membership list. |
Identifies users assigned as owners of Microsoft 365 Groups that support Teams functionality, enabling management actions.
チームからすべてを取得するか、GroupId を'=' とIN 演算子で指定することでGroupOwners テーブルをクエリします。デフォルトでは、自身がメンバーであるグループの所有者のみ返されます。組織の全グループの所有者を取得するには、IncludeAllGroups プロパティをtrue に設定してください。 Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM GroupOwners WHERE GroupId IN ('4729c5e5-f923-4435-8a41-44423d42ea79', 'acabe397-8370-4c31-aeb7-2d7ae6b8cda1')
SELECT * FROM GroupOwners WHERE GroupId = '4729c5e5-f923-4435-8a41-44423d42ea79'
ユーザーをグループの所有者に追加できます。所有者とは、グループオブジェクトを変更できる管理者ではないユーザーのことです。GroupId およびOwnerId フィールドは、新しいメンバーをグループに挿入するために必須です。OwnerId はユーザーのId に対応し、Users テーブルをクエリすることで所有者として追加したいユーザーのId を取得できます。
INSERT INTO GroupOwners (GroupId, OwnerId) VALUES ('acabe397-8370-4c31-aeb7-2d7ae6b8cda1', 'ad9de185-a7af-4ae5-946e-17fc1bf596f0')
GroupId およびOwnerId を指定することでグループメンバーを削除できます。
DELETE FROM GroupOwners WHERE GroupId = 'e557c6d9-3d9a-4658-b51a-4f242c2f8ec8' AND OwnerId = 'ba074a2a-69be-45d2-8519-2cc5688bca1e'
| Name | Type | ReadOnly | Description |
| GroupId [KEY] | String | False |
The unique identifier of the Microsoft 365 Group for which the user has ownership responsibilities. |
| OwnerId [KEY] | String | False |
The unique identifier of the user who is designated as an owner of the specified group. Owners have elevated permissions such as managing membership and settings. |
Holds core metadata about Microsoft 365 Groups, including properties required for provisioning and maintaining Teams.
デフォルトでは、自身がメンバーであるグループのみ返されます。組織の全グループを取得するには、IncludeAllGroups プロパティをtrue に設定してください。Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM Groups WHERE Id = 'aee54826-eedb-4145-8e6b-4ec1ac4d82c6'
最低でもDisplayName、MailEnabled、MailNickname、SecurityEnabled が新しいグループを挿入するには必須です。他のフィールドもすべて指定できます。
INSERT INTO Groups (DisplayName, Description, MailEnabled, MailNickname, SecurityEnabled) VALUES ('Test Group', 'Group created from Api', false, 'test123', true)
グループのレコードを更新するには、WHERE 句にId を指定してください。
UPDATE Groups SET Description = 'updated description from api' WHERE Id = 'bc48eaf7-0dc6-45d1-b17a-5b5397466ee1'
グループのレコードを削除するには、WHERE 句にId を指定してください。
DELETE FROM Groups WHERE Id = 'bc48eaf7-0dc6-45d1-b17a-5b5397466ee1'
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
A globally unique identifier for the Microsoft 365 group. |
| DeletedDateTime | Datetime | False |
The date and time when the group was deleted, if applicable. |
| AllowExternalSenders | Bool | False |
Indicates whether users outside the organization are allowed to send emails to the group. Default is false. |
| AssignedLabels | String | False |
A list of sensitivity labels assigned to the group, shown as pairs of label ID and label name. |
| AssignedLicenses | String | False |
The licenses that are currently assigned to the group, used for managing feature availability. |
| AutoSubscribeNewMembers | Bool | False |
Specifies whether newly added members will automatically receive email notifications for group conversations. Settable only via PATCH requests. Default is false. |
| Classification | String | False |
A business impact level label such as low, medium, or high, used to describe the group's sensitivity classification. |
| CreatedDateTime | Datetime | False |
The timestamp representing when the group was originally created. |
| Description | String | False |
A text field to describe the group's purpose or usage within the organization. |
| DisplayName | String | False |
The user-friendly name shown in interfaces like Outlook and Teams for the group. |
| ExpirationDateTime | Datetime | False |
The date and time when the group is scheduled to expire, if expiration policies are applied. |
| GroupTypes | String | False |
Indicates the type of group (such as unified or dynamic) and how its membership is managed. |
| HideFromAddressLists | Bool | False |
If true, hides the group from address books, recipient pickers, and search dialogs in Outlook. |
| HideFromOutlookClients | Bool | False |
If true, hides the group from appearing in Outlook clients like Outlook for Windows and Outlook on the web. |
| IsSubscribedByMail | Bool | False |
Indicates whether the currently signed-in user is subscribed to receive group emails. |
| LicenseProcessingState_state | String | False |
The current state of license processing for group members. Reflects how licensing is being applied. |
| String | False |
The primary SMTP email address associated with the group's shared mailbox. | |
| MailEnabled | Bool | False |
Indicates whether the group supports mail functionality and has an associated mailbox. |
| MailNickname | String | False |
The email alias for the group, unique within the organization's namespace. |
| MembershipRule | String | False |
For dynamic groups, this contains the rule used to determine membership automatically. |
| MembershipRuleProcessingState | String | False |
Shows whether the membership rule engine is actively processing (On) or paused (Paused). |
| OnPremisesDomainName | String | False |
The fully qualified domain name (FQDN) from on-premises directory, if synchronized via Azure AD Connect. |
| OnPremisesLastSyncDateTime | Datetime | False |
The timestamp of the last successful synchronization of the group from on-premises to Azure Active Directory. |
| OnPremisesNetBiosName | String | False |
The NetBIOS name for the group, synchronized from the on-premises directory. |
| OnPremisesProvisioningErrors | String | False |
Describes any synchronization errors that occurred during on-premises provisioning. |
| OnPremisesSamAccountName | String | False |
The SAM account name from on-premises directory. Available only when directory sync is configured. |
| OnPremisesSecurityIdentifier | String | False |
The security identifier (SID) from on-premises directory, used to represent the group in Windows security models. |
| OnPremisesSyncEnabled | Bool | False |
Indicates whether the group is currently being synchronized from on-premises Active Directory. Null means it has never been synced. |
| PreferredDataLocation | String | False |
Specifies the desired Microsoft data center region for storing this group's content. |
| PreferredLanguage | String | False |
The default language preference for the group's communications and user interface. |
| ProxyAddresses | String | False |
A list of proxy email addresses that route messages to the group mailbox. |
| RenewedDateTime | Datetime | False |
The last time the group's expiration policy was renewed, either manually or automatically. |
| SecurityEnabled | Bool | False |
Indicates whether the group functions as a security group for controlling access to resources. |
| SecurityIdentifier | String | False |
The Windows security identifier for the group, used in authorization checks. |
| Theme | String | False |
The color theme assigned to the group in Microsoft 365. Possible values include Teal, Purple, Green, Blue, Pink, Orange, or Red. |
| UnseenCount | Int | False |
The number of group conversations with new posts since the user last viewed the group. |
| UniqueName | String | False |
An alternate, organization-wide unique name used to reference the group. |
| Visibility | String | False |
Defines whether the group is public, private, or hidden, affecting how users can discover and join it. |
| Members | String | False |
A list of unique identifiers representing the users who are members of the group. |
| Owners | String | False |
A list of user IDs representing the individuals who manage the group and have administrative permissions. |
| UserId | String | False |
The unique identifier of a user related to this group record, typically for context-specific queries. |
Usage information for the operation OnlineMeetings.rsd.
The Sync App uses the Microsoft Teams API to process WHERE clause conditions built with the columns and operator shown below. The rest of the filter is executed client-side within the Sync App.
Note: UserId and Id are required columns to get results from this table, and must both be specified in the WHERE clause. The data cannot be retrieved by the Sync App using UserId alone.
Example Queries
This query uses the Id from Microsoft Teams API to obtain the UserId:
SELECT * FROM OnlineMeetings WHERE Id = 'MSphMjIxNGQwZS0zMDlkLTQ4YTAtYjRiMi1kMzI3MmNkNmZjMjQqMCoqMTk6bWVldGluZ19aREZqTXpjNFpERXRObUkyTWkwME9EYzVMVGxqWkRVdFlqY3lNVEF5WkRjMFlXTTFAdGhyZWFkLnYy'
SELECT * FROM OnlineMeetings WHERE UserId = '4729c5e5-f923-4435-8a41-44423d42ea79' AND Id = 'MSphMjIxNGQwZS0zMDlkLTQ4YTAtYjRiMi1kMzI3MmNkNmZjMjQqMCoqMTk6bWVldGluZ19aREZqTXpjNFpERXRObUkyTWkwME9EYzVMVGxqWkRVdFlqY3lNVEF5WkRjMFlXTTFAdGhyZWFkLnYy'
| Name | Type | ReadOnly | Description |
| id [KEY] | String | False | |
| allowAttendeeToEnableCamera | Bool | False | |
| allowAttendeeToEnableMic | Bool | False | |
| allowBreakoutRooms | Bool | False | |
| allowCopyingAndSharingMeetingContent | Bool | False | |
| allowedLobbyAdmitters | String | False | |
| allowedPresenters | String | False | |
| allowLiveShare | String | False | |
| allowMeetingChat | String | False | |
| allowParticipantsToChangeName | Bool | False | |
| allowPowerPointSharing | Bool | False | |
| allowRecording | Bool | False | |
| allowTeamworkReactions | Bool | False | |
| allowTranscription | Bool | False | |
| allowWhiteboard | Bool | False | |
| audioConferencing_conferenceId | String | False | |
| audioConferencing_dialinUrl | String | False | |
| audioConferencing_tollFreeNumber | String | False | |
| audioConferencing_tollFreeNumbers | String | False | |
| audioConferencing_tollNumber | String | False | |
| audioConferencing_tollNumbers | String | False | |
| chatInfo_messageId | String | False | |
| chatInfo_replyChainMessageId | String | False | |
| chatInfo_threadId | String | False | |
| chatRestrictions_allowTextOnly | Bool | False | |
| isEndToEndEncryptionEnabled | Bool | False | |
| isEntryExitAnnounced | Bool | False | |
| joinInformation_content | String | False | |
| joinInformation_contentType | String | False | |
| joinMeetingIdSettings_isPasscodeRequired | Bool | False | |
| joinMeetingIdSettings_joinMeetingId | String | False | |
| joinMeetingIdSettings_passcode | String | False | |
| joinWebUrl | String | False | |
| lobbyBypassSettings_isDialInBypassEnabled | Bool | False | |
| lobbyBypassSettings_scope | String | False | |
| recordAutomatically | Bool | False | |
| shareMeetingChatHistoryDefault | String | False | |
| subject | String | False | |
| videoTeleconferenceId | String | False | |
| watermarkProtection_isEnabledForContentSharing | Bool | False | |
| watermarkProtection_isEnabledForVideo | Bool | False | |
| attendeeReport | String | False |
This field can not be updated directly. |
| broadcastSettings_allowedAudience | String | False | |
| broadcastSettings_captions_isCaptionEnabled | Bool | False | |
| broadcastSettings_captions_spokenLanguage | String | False | |
| broadcastSettings_captions_translationLanguages | String | False | |
| broadcastSettings_isAttendeeReportEnabled | Bool | False | |
| broadcastSettings_isQuestionAndAnswerEnabled | Bool | False | |
| broadcastSettings_isRecordingEnabled | Bool | False | |
| broadcastSettings_isVideoOnDemandEnabled | Bool | False | |
| creationDateTime | Datetime | False | |
| endDateTime | Datetime | False | |
| externalId | String | False | |
| isBroadcast | Bool | False | |
| meetingTemplateId | String | False | |
| participants_attendees | String | False | |
| participants_organizer_identity_application_displayName | String | False | |
| participants_organizer_identity_application_id | String | False | |
| participants_organizer_role | String | False | |
| participants_organizer_upn | String | False | |
| startDateTime | Datetime | False | |
| UserId | String | False |
Stores reusable shift templates created by managers in the Teams Shifts app, used to build individual shift schedules.
チームからすべてを取得するか、GroupId を'=' とIN 演算子で指定することでOpenShifts テーブルをクエリします。デフォルトでは、自身がメンバーであるグループのチームの空のシフトのみ返されます。組織の全グループのチームの空のシフトアイテムを取得するには、IncludeAllGroups プロパティをtrue に設定してください。 Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM OpenShifts WHERE TeamId IN ('da838338-4e77-4c05-82a6-79d9f0274511', 'da834568-4df7-4c05-82a6-79d9f0274515')
SELECT * FROM OpenShifts WHERE Id = 'OPNSHFT_2d49e6dd-d965-4ea2-a399-37f2a082852c' AND TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511'
チームスケジュールに空のシフトを挿入するにはTeamId と、startDateTime およびendDateTime を含むDraftOpenShift またはSharedOpenShift の情報の、どちらか1つを含む必要があります。
INSERT INTO OpenShifts (TeamId, draftopenshift_openslotcount, draftopenshift_startDateTime, draftopenshift_endDateTime) VALUES ('da838338-4e77-4c05-82a6-79d9f0274511', 4, '2020-09-16T10:00:00.000Z', '2020-09-16T18:00:00.000Z')
空のシフトを更新するには、WHERE 句にレコードId とTeamId が必要です。TeamId、Id、CreatedDateTime 以外のすべてのフィールドを更新できます。
UPDATE OpenShifts SET draftOpenShift_theme = 'blue' WHERE Id = 'OPNSHFT_2d49e6dd-d965-4ea2-a399-37f2a082852c' AND TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511'
シフトレコードを削除するには、WHERE 句にId とTeamId が必要です。
DELETE FROM OpenShifts WHERE TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511' AND Id = 'OPNSHFT_2d49e6dd-d965-4ea2-a399-37f2a082852c'
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
The unique identifier for the scheduling group that this open shift is associated with. |
| CreatedDateTime | Datetime | False |
The date and time when the open shift was initially created. |
| IsStagedForDeletion | Bool | False |
Indicates whether the open shift is marked for future deletion but has not yet been removed. |
| LastModifiedBy_application_displayName | String | False |
The name of the application that most recently modified the open shift record. |
| LastModifiedBy_application_id | String | False |
The unique application ID of the system or app that last updated the open shift. |
| LastModifiedDateTime | Datetime | False |
The timestamp of the most recent update to the open shift. |
| DraftOpenShift_openSlotCount | Int | False |
The number of available slots for the draft version of the open shift, which has not yet been shared with the team. |
| SchedulingGroupId | String | False |
The unique identifier for the scheduling group under which this open shift is organized. |
| SharedOpenShift_openSlotCount | Int | False |
The number of available slots in the shared version of the open shift, visible to team members. |
| TeamId | String | False |
The identifier of the Microsoft Team where the open shift is being managed. |
| DraftOpenShift_displayName | String | False |
The label or title assigned to the draft version of the open shift for display purposes. |
| DraftOpenShift_notes | String | False |
Optional notes associated with the draft open shift, such as instructions or shift context. |
| DraftOpenShift_StartDateTime | Datetime | False |
The start time of the draft open shift, before it has been published. |
| DraftOpenShift_EndDateTime | Datetime | False |
The end time of the draft open shift, before it has been published. |
| SharedOpenShift_displayName | String | False |
The label or title assigned to the shared version of the open shift for display to users. |
| SharedOpenShift_notes | String | False |
Optional notes for the shared open shift, visible to team members when selecting shifts. |
| SharedOpenShift_StartDateTime | Datetime | False |
The start time of the shared open shift, which is published and available for team use. |
| SharedOpenShift_EndDateTime | Datetime | False |
The end time of the shared open shift, which is published and available for team use. |
Defines the overarching containers used in Teams Shifts for organizing shifts, time-off requests, and schedule groups.
チームからすべてを取得するか、TeamId を'=' とIN 演算子で指定することでSchedules テーブルをクエリします。デフォルトでは、自身がメンバーであるグループのチームのスケジュールアイテムのみ返されます。組織の全グループのチームからスケジュールを取得するには、IncludeAllGroups プロパティをtrue に設定してください。 Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM Schedules WHERE TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511'
スケジュールのレコードを更新するには、WHERE 句にId とTeamId が必要です。
UPDATE Schedules SET timeZone = 'Africa/Casablanca', enabled = true WHERE Id = '4729c5e5-f923-4435-8a41-44423d42ea79' AND TeamId = '4729c5e5-f923-4435-8a41-44423d42ea79'
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
A unique identifier representing the schedule instance within Microsoft Teams. |
| TeamId [KEY] | String | False |
The identifier of the Microsoft Team that this schedule is associated with. |
| Enabled | Bool | False |
Specifies whether the schedule is currently active and usable by the associated team. |
| OfferShiftRequestsEnabled | Bool | False |
Indicates whether team members are allowed to offer their scheduled shifts to others. |
| OpenShiftsEnabled | Bool | False |
Indicates whether open shifts are supported, allowing managers to post available shifts for pickup. |
| ProvisionStatus | String | False |
Shows the current state of schedule provisioning. Valid values include notStarted, running, completed, and failed. |
| ProvisionStatusCode | String | False |
Provides additional details explaining why the schedule provisioning could have failed. |
| SwapShiftsRequestsEnabled | Bool | False |
Indicates whether team members are permitted to request a shift swap with another member. |
| TimeClockEnabled | Bool | False |
Specifies whether the time clock feature is enabled, allowing users to clock in and out through Teams. |
| TimeOffRequestsEnabled | Bool | False |
Indicates whether team members are allowed to submit time off requests through the schedule. |
| TimeZone | String | False |
Defines the time zone for the schedule, using IANA tz database format (for example, America/New_York). |
| WorkforceIntegrationIds | String | False |
A comma-separated list of integration identifiers linked to external workforce systems that sync with this schedule. |
Segments users into groups within a Teams schedule to streamline shift assignments and reporting.
チームからすべてを取得するか、TeamId を'=' とIN 演算子で指定することでSchedulingGroups テーブルをクエリします。デフォルトでは、自身がメンバーであるグループのチームのスケジュールグループのみ返されます。組織の全グループのチームからスケジュールグループを取得するには、IncludeAllGroups プロパティをtrue に設定してください。 Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM SchedulingGroups WHERE TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511' AND Id = 'TAG_357350ce-2fa2-498d-9967-494296509c32'
チームにスケジュールグループを挿入するには、TeamId と最低でもDisplayName、IsActive、iconType の内1つのフィールドを指定する必要があります。
INSERT INTO SchedulingGroups (TeamId, DisplayName, IsActive) VALUES ('da838338-4e77-4c05-82a6-79d9f0274511', 'Cashiers', 'true')
スケジュールグループを更新するには、WHERE 句にId とTeamId が必要です。DisplayName およびIsActive フィールドは更新できます。
UPDATE SchedulingGroups SET DisplayName = 'Supervisors' WHERE Id = 'TAG_357350ce-2fa2-498d-9967-494296509c32' AND TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511'
スケジュールグループを削除するには、WHERE 句にId とTeamId が必要です。
DELETE FROM SchedulingGroups WHERE TeamId = 'acabe397-8370-4c31-aeb7-2d7ae6b8cda1' AND Id = 'TAG_101f11df-e7c0-49f2-8d5c-a9ad085c97aa'
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
The unique identifier for the scheduling group within the team. |
| TeamId | String | False |
The identifier of the Microsoft Team to which this scheduling group belongs. |
| CreatedDateTime | Datetime | False |
The date and time when the scheduling group was initially created. |
| LastModifiedBy_application_displayName | String | False |
The display name of the application that most recently modified the scheduling group. |
| LastModifiedBy_application_id | String | False |
The application ID of the app that last updated the scheduling group. |
| LastModifiedDateTime | Datetime | False |
The date and time when the scheduling group was last modified. |
| DisplayName | String | False |
The name displayed for the scheduling group in Microsoft Teams. |
| IsActive | Bool | False |
Indicates whether the scheduling group is currently active and available for use when creating or modifying shifts and schedules. |
| UserIds | String | False |
A comma-separated list of user IDs who are members of this scheduling group. Each ID represents a user assigned to this group. |
Captures detailed shift assignments, including assigned user, start and end times, and optional shift notes.
チームからすべてを取得するか、TeamId を'=' とIN 演算子で指定することでShifts テーブルをクエリします。デフォルトでは、自身がメンバーであるグループのチームのシフトのみ返されます。組織の全グループのチームのシフトアイテムを取得するには、IncludeAllGroups プロパティをtrue に設定してください。 Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM Shifts WHERE TeamId IN ('da838338-4e77-4c05-82a6-79d9f0274511', 'da834568-4df7-4c05-82a6-79d9f0274515')
SELECT * FROM Shifts WHERE Id = 'SHFT_aac21ce9-82b3-4ad1-a841-dadb570c8ebf' AND TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511'
チームスケジュールにシフトを挿入するには、TeamId とこの休暇が付与される人のUserId に加えて、休暇のstartDateTime およびendDateTime を含むDraftShift またはSharedShift の情報の、どちらか1つを含む必要があります。
INSERT INTO Shifts (TeamId, UserId, draftShift_startDateTime, draftShift_endDateTime) VALUES ('da838338-4e77-4c05-82a6-79d9f0274511', '0409f710-2aa9-4f05-8944-ef382160f1d1', '2019-07-17T07:00:00Z', '2019-07-17T15:00:00Z')
INSERT INTO Shifts (TeamId, UserId, sharedShift_startDateTime, sharedShift_endDateTime) VALUES ('da838338-4e77-4c05-82a6-79d9f0274511', '0409f710-2aa9-4f05-8944-ef382160f1d1', '2019-07-17T07:00:00Z', '2019-07-17T15:00:00Z')
シフトのレコードを更新するには、WHERE 句にId とTeamId が必要です。TeamId、Id、CreatedDateTime 以外のすべてのフィールドを更新できます。
UPDATE Shifts SET draftShift_theme = 'blue', draftShift_displayname = 'somename' WHERE Id = 'SHFT_aac21ce9-82b3-4ad1-a841-dadb570c8ebf' AND TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511'
シフトのレコードを削除するには、WHERE 句にId とTeamId が必要です。
DELETE FROM Shifts WHERE TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511' AND Id = 'SHFT_aac21ce9-82b3-4ad1-a841-dadb570c8ebf'
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
A unique identifier for the shift record. |
| TeamId | String | False |
The identifier of the Microsoft Team to which this shift belongs. |
| UserId | String | False |
The unique identifier of the user assigned to this shift. |
| CreatedDateTime | Datetime | False |
The date and time when the shift was first created. |
| IsStagedForDeletion | Bool | False |
Indicates whether the shift is marked for deletion but has not yet been removed. |
| LastModifiedBy_application_displayName | String | False |
The name of the application that most recently modified the shift. |
| LastModifiedBy_application_id | String | False |
The unique application ID of the system or app that last updated the shift. |
| LastModifiedDateTime | Datetime | False |
The date and time of the last update to the shift. |
| DraftShift_activities | String | False |
A list of segments in the draft version of the shift, such as work assignments, breaks, or lunches, specifying what the employee is doing and when. |
| DraftShift_displayName | String | False |
A label assigned to the draft version of the shift for easier identification in the schedule. |
| DraftShift_notes | String | False |
Optional notes added to the draft shift, such as instructions or important reminders. |
| DraftShift_startDateTime | Datetime | False |
The scheduled start time of the draft shift. |
| DraftShift_endDateTime | Datetime | False |
The scheduled end time of the draft shift. |
| SchedulingGroupId | String | False |
The identifier of the scheduling group to which this shift is assigned. |
| SharedShift_activities | String | False |
A list of activities in the published (shared) version of the shift, such as assignments, breaks, or other scheduled duties. |
| SharedShift_displayName | String | False |
A label assigned to the shared version of the shift for users to see on the calendar. |
| SharedShift_notes | String | False |
Optional notes attached to the shared version of the shift for team member reference. |
| SharedShift_startDateTime | Datetime | False |
The published start time of the shift that is visible to the user. |
| SharedShift_endDateTime | Datetime | False |
The published end time of the shift that is visible to the user. |
Maintains records of Microsoft Teams instances, including team names, visibility settings, and associated group metadata.
チームからすべてを取得するか、GroupId を'=' とIN 演算子で指定することでTeams テーブルをクエリします。デフォルトでは、自身がメンバーであるグループのチームのみ返されます。組織の全グループのチームを取得するには、IncludeAllGroups プロパティをtrue に設定してください。 Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM Teams WHERE GroupId IN ('4729c5e5-f923-4435-8a41-44423d42ea79', 'acabe397-8370-4c31-aeb7-2d7ae6b8cda1')
SELECT * FROM Teams WHERE GroupId = '4729c5e5-f923-4435-8a41-44423d42ea79'
最低でもGroupId およびDisplayName は、グループに新しいチームを追加するために必須です。他のフィールドもすべて指定できます。
INSERT INTO Teams (DisplayName, GroupId, funSettings_allowGiphy) VALUES ('Cool team', 'acabe397-8370-4c31-aeb7-2d7ae6b8cda1', false)
チームのレコードを更新するには、WHERE 句にId を指定してください。アーカイブされていないチームのみ更新できます。
UPDATE Teams SET DisplayName = 'My Team', funSettings_allowGiphy = false, funSettings_allowGiphy = true, funSettings_allowStickersAndMemes = true, funSettings_allowCustomMemes = false, guestSettings_allowCreateUpdateChannels = true, guestSettings_allowDeleteChannels = false, memberSettings_allowCreateUpdateChannels = false, memberSettings_allowDeleteChannels = true, Description = 'some desc' WHERE Id = '4729c5e5-f923-4435-8a41-44423d42ea79'
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
The unique identifier for the Microsoft Team. |
| GroupId | String | False |
The unique identifier for the Microsoft 365 Group backing the Team. |
| DisplayName | String | False |
The user-friendly name of the Team as shown in Microsoft Teams. |
| Description | String | False |
An optional description providing context or purpose for the Team. |
| Classification | String | False |
An optional label that describes the data or business sensitivity level of the Team, based on predefined classifications in the organization's directory. |
| CreatedDateTime | Datetime | False |
The date and time when the Team was created. |
| FunSettings_allowCustomMemes | Bool | False |
Indicates whether users are allowed to upload and use custom memes in the Team chat. |
| FunSettings_allowGiphy | Bool | False |
Indicates whether users are allowed to search and share Giphy images within the Team. |
| FunSettings_allowStickersAndMemes | Bool | False |
Indicates whether users can use pre-built stickers and memes in the Team. |
| FunSettings_giphyContentRating | String | False |
Specifies the Giphy content rating for the Team. Acceptable values include moderate and strict. |
| GuestSettings_allowCreateUpdateChannels | Bool | False |
Indicates whether guest users are allowed to create and update channels within the Team. |
| GuestSettings_allowDeleteChannels | Bool | False |
Indicates whether guest users are allowed to delete channels within the Team. |
| InternalId | String | False |
A system-level internal identifier used for auditing and integrations such as Office 365 Management Activity API. |
| IsArchived | Bool | False |
Indicates whether the Team is archived, meaning it is in read-only mode and no changes can be made. |
| MemberSettings_allowAddRemoveApps | Bool | False |
If true, Team members are allowed to install or remove apps within the Team. |
| MemberSettings_allowCreatePrivateChannels | Bool | False |
If true, Team members can create and manage private channels. |
| MemberSettings_allowCreateUpdateChannels | Bool | False |
If true, Team members are permitted to create new channels or update existing ones. |
| MemberSettings_allowCreateUpdateRemoveConnectors | Bool | False |
If true, Team members can configure connectors, including creating, updating, or removing them. |
| MemberSettings_allowCreateUpdateRemoveTabs | Bool | False |
If true, Team members can add, update, or remove tabs in Team channels. |
| MemberSettings_allowDeleteChannels | Bool | False |
If true, Team members have permission to delete channels. |
| MessagingSettings_allowChannelMentions | Bool | False |
If true, allows users to use @channel mentions to notify all members of a channel. |
| MessagingSettings_allowOwnerDeleteMessages | Bool | False |
If true, allows Team owners to delete any message posted in the Team. |
| MessagingSettings_allowTeamMentions | Bool | False |
If true, allows users to use @team mentions to notify all members of the Team. |
| MessagingSettings_allowUserDeleteMessages | Bool | False |
If true, allows users to delete their own messages. |
| MessagingSettings_allowUserEditMessages | Bool | False |
If true, allows users to edit their own messages after sending. |
| Specialization | String | False |
Indicates whether the Team is configured for a special use case (such as education or healthcare), which affects available features. |
| Visibility | String | False |
Specifies whether the Team is public or private. Public teams can be discovered and joined by anyone in the organization. |
| WebUrl | String | False |
A deep link to open the Team directly in the Microsoft Teams client. This link should not be parsed or altered. |
| summary_guestsCount | Integer | True |
The number of guest users who are part of the Team. |
| summary_membersCount | Integer | True |
The number of members in the Team, excluding guests and owners. |
| summary_ownersCount | Integer | True |
The number of users who have owner-level permissions in the Team. |
Tracks which apps are installed in each Microsoft Team, detailing installation context such as user, group, or channel level.
| 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. |
Documents tabs added to Teams channels, including tab type (Planner, Website, custom app) and configuration data.
TeamTabs テーブルをクエリするには、特定のチームに属する特定のチャネルのタブを取得するために、TeamId およびChannelId フィルタを指定する必要があります。 Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM TeamTabs WHERE TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511' AND ChannelId = '19:[email protected]' SELECT * FROM TeamTabs WHERE TeamId = '12d95e4d-f90f-434c-b280-dd7f8b8615e5' AND ChannelId IN (SELECT Id FROM Channels WHERE TeamId = '12d95e4d-f90f-434c-b280-dd7f8b8615e5') AND Id LIKE '%-ade1-400a-a82b-e7a435199b7a' SELECT * FROM TeamTabs WHERE TeamId = '12d95e4d-f90f-434c-b280-dd7f8b8615e5' AND ChannelId IN (SELECT Id FROM Channels WHERE TeamId = '12d95e4d-f90f-434c-b280-dd7f8b8615e5') AND configuration_entityId IS NOT NULL
最低でもTeamId、ChannelId、およびAppId は、チームに新しいタブを追加するために必須です。他のフィールドもすべて指定できます。
INSERT INTO TeamTabs (TeamId, ChannelId, DisplayName, AppID) VALUES ('4729c5e5-f923-4435-8a41-44423d42ea79', '19:[email protected]', 'new tab for test', '0d820ecd-def2-4297-adad-78056cde7c78')
タブのレコードを更新するには、WHERE 句にId、ChannelId、TeamId を指定してください。
UPDATE TeamTabs SET DisplayName = 'updatetabname' WHERE Id = 'c41cbfe0-7713-44d6-96dd-b692569f1766' AND ChannelId = '19:[email protected]' AND TeamId = '4729c5e5-f923-4435-8a41-44423d42ea79'
タブのレコードを削除するには、WHERE 句にId、ChannelId、TeamId を指定してください。
DELETE FROM TeamTabs WHERE TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511' AND ChannelId = '19:[email protected]' AND Id = '16ba49df-d7e1-4dc7-b6c3-ea721d327d38'
| Name | Type | ReadOnly | Description |
| id [KEY] | String | False |
A unique identifier for the specific tab instance within a channel. |
| AppId | String | False |
The identifier of the app associated with the tab. |
| ChannelId | String | False |
The identifier of the channel where the tab is located. |
| Configuration_contentUrl | String | False |
The URL used by Teams to render the tab content inside the Teams client. This is required for the tab to function. |
| Configuration_entityId | String | False |
A custom identifier for the entity represented by the tab, used by the app to load specific data or context. |
| Configuration_removeUrl | String | False |
The callback URL invoked by the Teams client when a tab is removed. Used for cleanup or telemetry. |
| Configuration_websiteUrl | String | False |
A publicly accessible URL used to view the tab's contents outside of Microsoft Teams. |
| DisplayName | String | False |
The display name of the tab, shown in the channel tab navigation. |
| WebUrl | String | False |
A deep link URL that opens the tab instance directly in the Teams client. |
| TeamsApp_id | String | True |
The unique identifier for the Teams app definition used by the tab. |
| TeamId | String | False |
The identifier of the Team that contains the tab and its associated channel. |
Contains predefined labels for time-off requests in Teams Shifts, such as vacation, sick leave, or training.
チームからすべてを取得するか、TeamId を指定することでTimeOffReasons テーブルをクエリします。デフォルトでは、自身がメンバーであるグループのチームの休暇理由のみ返されます。組織の全グループのチームから休暇理由を取得するには、IncludeAllGroups プロパティをtrue に設定してください。 Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM TimeOffReasons WHERE TeamId IN ('da838338-4e77-4c05-82a6-79d9f0274511', 'da834568-4df7-4c05-82a6-79d9f0274515')
SELECT * FROM TimeOffReasons WHERE TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511' AND Id = 'SHFT_0aee55c3-2bac-4ede-9792-26838fc8bb01'
チームに休暇理由を挿入するには、TeamId と最低でもDisplayName、IsActive、iconType の内1つのフィールドを指定する必要があります。
INSERT INTO TimeOffReasons (TeamId, DisplayName, IsActive) VALUES ('acabe397-8370-4c31-aeb7-2d7ae6b8cda1', 'a new reason', 'true')
休暇理由のレコードを削除するには、WHERE 句にId とTeamId が必要です。
DELETE FROM TimeOffReasons WHERE Id = 'SHFT_dd50b99a-e2d8-44ad-a445-53ad58bfc37b' AND TeamId = 'acabe397-8370-4c31-aeb7-2d7ae6b8cda1'
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
The unique identifier for the time off reason entry. |
| TeamId | String | False |
The identifier of the Microsoft Team that this time off reason is associated with. |
| CreatedDateTime | Datetime | False |
The date and time when the time off reason was initially created. |
| LastModifiedBy_application_displayName | String | False |
The name of the application that most recently modified this time off reason. |
| LastModifiedBy_application_id | String | False |
The application ID of the service or app that last updated this time off reason. |
| LastModifiedDateTime | Datetime | False |
The timestamp of the most recent update to the time off reason entry. |
| DisplayName | String | False |
The display name for the time off reason, such as Vacation, Sick Leave, or Jury Duty. Required field. |
| IconType | String | False |
The icon representing the time off reason. Supported values: none, car, calendar, running, plane, firstAid, doctor, notWorking, clock, juryDuty, globe, cup, phone, weather, umbrella, piggyBank, dog, cake, trafficCone, pin, sunny. |
| IsActive | Bool | False |
Indicates whether this time off reason is currently active and available for use in new or updated time off requests. |
Logs time-off entries requested by users through the Microsoft Teams Shifts interface, with reason codes and date ranges.
チームからすべてを取得するか、TeamId を指定することでTimesOff テーブルをクエリします。デフォルトでは、自身がメンバーであるグループのチームの休暇のみ返されます。組織の全グループのチームから休暇を取得するには、IncludeAllGroups プロパティをtrue に設定してください。 Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM TimesOff WHERE TeamId IN ('da838338-4e77-4c05-82a6-79d9f0274511', 'da834568-4df7-4c05-82a6-79d9f0274515')
SELECT * FROM TimesOff WHERE TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511'
チームスケジュールに休暇を挿入するには、TeamId とこの休暇が付与される人のUserId に加えて、休暇のstartDateTime、endDateTime およびtimeOff_ReasonId を含むDraftTimeOff またはSharedTimeOff の情報の、どちらかを含む必要があります。
INSERT INTO TimesOff (TeamId, UserId, sharedTimeOff_startDateTime, sharedTimeOff_endDateTime, SharedTimeOff_TimeOffReasonId) VALUES ('da838338-4e77-4c05-82a6-79d9f0274511', '0409f710-2aa9-4f05-8944-ef382160f1d1', '2019-03-11T07:00:00Z', '2019-03-12T07:00:00Z', 'TOR_97de5f58-462b-4bde-8a95-038b4073bffb')
休暇のレコードを更新するには、WHERE 句にId とTeamId が必要です。TeamId、Id、CreatedDateTime 以外のすべてのフィールドを更新できます。
UPDATE Timesoff SET draftTimeOff_timeOffReasonId = 'TOR_97de5f58-462b-4bde-8a95-038b4073bffb' WHERE Id = 'SHFT_dd50b99a-e2d8-44ad-a445-53ad58bfc37b' AND TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511'
休暇のレコードを削除するには、WHERE 句にId とTeamId が必要です。
DELETE FROM TimesOff WHERE Id = 'SHFT_dd50b99a-e2d8-44ad-a445-53ad58bfc37b' AND TeamId = 'da838338-4e77-4c05-82a6-79d9f0274511'
| Name | Type | ReadOnly | Description |
| Id [KEY] | String | False |
A unique identifier for the time off entry. |
| UserId | String | False |
The unique identifier of the user who submitted or was assigned this time off request. |
| TeamId | String | False |
The identifier of the Microsoft Team associated with the time off request. |
| CreatedDateTime | Datetime | False |
The date and time when the time off request was first created. |
| IsStagedForDeletion | Bool | False |
Indicates whether the time off entry is marked for deletion but has not yet been removed. |
| LastModifiedBy_application_displayName | String | False |
The name of the application that most recently modified the time off entry. |
| LastModifiedBy_application_id | String | False |
The unique application ID of the system or service that last modified the entry. |
| LastModifiedDateTime | Datetime | False |
The date and time when the time off entry was last updated. |
| DraftTimeOff_timeOffReasonId | String | False |
The identifier for the reason associated with the draft version of the time off request. |
| SharedTimeOff_timeOffReasonId | String | False |
The identifier for the reason associated with the shared (published) version of the time off request. |
| DraftTimeOff_StartDateTime | Datetime | False |
The scheduled start date and time for the draft version of the time off. |
| DraftTimeOff_EndDateTime | Datetime | False |
The scheduled end date and time for the draft version of the time off. |
| SharedTimeOff_StartDateTime | Datetime | False |
The scheduled start date and time for the published version of the time off. |
| SharedTimeOfft_EndDateTime | Datetime | False |
The scheduled end date and time for the published version of the time off. |
ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。
クエリは、ビューに対して通常のテーブルと同様に実行することができます。
| Name | Description |
| CallRecordParticipants | Details of call sessions on MS Teams. |
| CallRecords | Provides an overview of call activity in Microsoft Teams, including metadata such as call duration and type. |
| CallRecordSessions | Lists sessions within Microsoft Teams calls, with details on session start and end times. |
| CallRecordSessionSegments | Breaks down call sessions in Microsoft Teams into smaller segments for granular tracking of media streams. |
| ChannelMembers | Retrieves a list of members belonging to a specific Microsoft Teams channel. |
| ChannelMessages | Returns messages and replies exchanged within a Microsoft Teams channel. |
| ChatMembers | Retrieves details of participants in Microsoft Teams chat conversations. |
| ChatMessageAttachments | Get Chat Message Attachments. |
| ChatMessageMentions | Get Chat Message Mentions. |
| ChatMessages | Returns messages sent and received in Microsoft Teams chat threads. |
| Chats | Provides a list of chat threads within Microsoft Teams, including group and one-on-one chats. |
| DirectRoutingCalls | Displays direct routing call records in Microsoft Teams for telephony integration analysis. |
| PstnCalls | Displays Public Switched Telephone Network (PSTN) call records in Microsoft Teams. |
| TeamMembers | Retrieves the list of users who are members of a specific Microsoft Teams team. |
| UserPresence | Stores real-time presence information for Microsoft Teams users. |
| Users | Contains detailed profile, organizational, and directory synchronization information for users in Microsoft Teams, including contact details, licensing, job roles, and Active Directory mappings. |
Details of call sessions on MS Teams.
Query the CallRecordParticipants table to get details of PeerToPeer and Group Call session information on Teams. The CallRecordsId should be acquired by following instructions in Get callRecord. Custom App and Client Credentials should be used. See Entra ID(Azure AD)アプリケーションの作成
The following is an example query:
SELECT * FROM CallRecordParticipants WHERE CallRecordsId = 'b6ee7caa-f730-451f-b6bd-24592a3429a7'
| Name | Type | Description |
| Id [KEY] | String | Call record Id |
| CallRecordsId | String | Call record Id. Mandatory internal column to be used in WHERE clause |
| displayName | String | |
| userId | String | |
| tenantId | String | |
| userPrincipalName | String |
Provides an overview of call activity in Microsoft Teams, including metadata such as call duration and type.
CallRecord テーブルをクエリして、Teams のピアツーピアおよびグループ通話セッションセグメントの詳細を取得します。 CallRecordsId は、callRecord の取得の説明に従って取得してください。 カスタムアプリおよびクライアントクレデンシャルを使用する必要があります。Entra ID(Azure AD)アプリケーションの作成 を参照してください。
次にクエリの例を示します。
SELECT * FROM CallRecords WHERE CallRecordsId = 'b6ee7caa-f730-451f-b6bd-24592a3429a7'
| Name | Type | Description |
| Id [KEY] | String | Unique identifier for the call record in Microsoft Teams. |
| EndDateTime | Datetime | Timestamp indicating when the call ended. |
| JoinWebUrl | String | Web URL that participants used to join the meeting. |
| LastModifiedDateTime | Datetime | Timestamp of the most recent modification to this call record. |
| Modalities | String | Communication modes used during the call, which can include audio, video, videoBasedScreenSharing, data, and screenSharing. |
| StartDateTime | Datetime | Timestamp indicating when the call or meeting started. |
| Type | String | Specifies whether the call was peerToPeer or groupCall. |
| Version | Long | Version number of the call record for internal tracking. |
| organizer_v2_id | String | Unique identifier for the meeting organizer in Microsoft Teams. |
| organizer_v2_displayName | String | Full display name of the user who organized the meeting. |
| organizer_v2_userId | String | User ID of the meeting organizer within Microsoft Teams. |
| organizer_v2_tenantId | String | Tenant ID associated with the meeting organizer's Microsoft 365 account. |
| organizer_v2_userPrincipalName | String | User Principal Name (UPN) of the meeting organizer. |
| CallRecordsId | String | Mandatory internal column representing the call record ID, used in WHERE clauses to filter records. |
Lists sessions within Microsoft Teams calls, with details on session start and end times.
CallRecordSessions テーブルをクエリして、Teams のピアツーピアおよびグループ通話セッションセグメントの情報を取得します。 CallRecordsId は、callRecord の取得の説明に従って取得してください。 カスタムアプリおよびクライアントクレデンシャルを使用する必要があります。Entra ID(Azure AD)アプリケーションの作成 を参照してください。
次にクエリの例を示します。
SELECT * FROM CallRecordSessions WHERE CallRecordsId = 'b6ee7caa-f730-451f-b6bd-24592a3429a7'
| Name | Type | Description |
| Id [KEY] | String | Unique identifier for the call record session in Microsoft Teams. |
| Callee_UserAgent_ApplicationVersion | String | Version of the application used by the callee's user agent during the session. |
| Callee_UserAgent_HeaderValue | String | Header value from the callee's user agent during the session. |
| Caller_UserAgent_ApplicationVersion | String | Version of the application used by the caller's user agent during the session. |
| Caller_UserAgent_HeaderValue | String | Header value from the caller's user agent during the session. |
| EndDateTime | Datetime | Timestamp indicating when the call session ended. |
| FailureInfo_Reason | String | Reason for the call session failure, if applicable. |
| FailureInfo_Stage | String | Stage at which the call session failure occurred, if applicable. |
| Modalities | String | Communication modes used in the session, which can include audio, video, videoBasedScreenSharing, data, and screenSharing. |
| StartDateTime | Datetime | Timestamp indicating when the call session started. |
| CallRecordsId | String | Mandatory internal column representing the call record ID, used in WHERE clauses to filter records. |
Breaks down call sessions in Microsoft Teams into smaller segments for granular tracking of media streams.
CallRecordSessionSegments テーブルをクエリして、Teams のピアツーピアおよびグループ通話セッションセグメントの詳細を取得します。 CallRecordsId は、callRecord の取得の説明に従って取得してください。 カスタムアプリおよびクライアントクレデンシャルを使用する必要があります。Entra ID(Azure AD)アプリケーションの作成 を参照してください。
次にクエリの例を示します。
SELECT * FROM CallRecordSessionSegments WHERE CallRecordsId = 'b6ee7caa-f730-451f-b6bd-24592a3429a7'
| Name | Type | Description |
| Id [KEY] | String | Unique identifier for the call record session segment in Microsoft Teams. |
| Callee_UserAgent_ApplicationVersion | String | Version of the application used by the callee's user agent during this session segment. |
| Callee_UserAgent_HeaderValue | String | Header value from the callee's user agent during this session segment. |
| Caller_UserAgent_ApplicationVersion | String | Version of the application used by the caller's user agent during this session segment. |
| Caller_UserAgent_HeaderValue | String | Header value from the caller's user agent during this session segment. |
| EndDateTime | Datetime | Timestamp indicating when the session segment ended. |
| FailureInfo_Reason | String | Reason for failure during the session segment, if applicable. |
| FailureInfo_Stage | String | Stage of the call session where the failure occurred, if applicable. |
| Media | String | Details about media streams used during the session segment, such as audio or video. |
| StartDateTime | Datetime | Timestamp indicating when the session segment started. |
| CallRecordsId | String | Mandatory internal column representing the call record ID, used in WHERE clauses to filter records. |
Retrieves a list of members belonging to a specific Microsoft Teams channel.
The Sync App uses the Microsoft Teams API to process WHERE clause conditions built with the following columns and operators:
Note: ChannelId and TeamId must be included in the WHERE clause to retrieve any data from the ChannelMembers view. These filters are required by the API and are evaluated server-side.
The rest of the filter is executed client-side within the Sync App.
For example, the following queries are processed server-side:
SELECT * FROM ChannelMembers WHERE ChannelId = '19:[email protected]' AND TeamId = 'f7985bee-7fb4-404d-a954-5ba68ae7c8db' SELECT * FROM ChannelMembers WHERE ChannelId = '19:[email protected]' AND TeamId IN ('f7985bee-7fb4-404d-a954-5ba68ae7c8db', 'da838338-4e77-4c05-82a6-79d9f0274511')
| Name | Type | Description |
| Id [KEY] | String | Unique identifier for the channel member in Microsoft Teams. |
| TeamId | String | Identifier of the team to which the channel belongs. |
| DisplayName | String | Full display name of the channel member. |
| String | Email address of the channel member. | |
| Roles | String | Roles assigned to the channel member, such as owner or member. |
| TenantId | String | Identifier of the Microsoft 365 tenant associated with the member. |
| UserId | String | Unique user identifier for the channel member. |
| StartDateTime | Datetime | Timestamp indicating when the membership history for the channel started. |
| ChannelId | String | Identifier of the Microsoft Teams channel where the member is assigned. |
Returns messages and replies exchanged within a Microsoft Teams channel.
The Sync App uses the Microsoft Teams API to process WHERE clause conditions built with the columns and operator shown below. The rest of the filter is executed client-side within the Sync App.
Note: ChannelId and TeamId are required columns to get results from this view, and must both be specified in the WHERE clause. The data cannot be retrieved by the Sync App using ChannelId alone.
Example Queries
The Sync App executes this by fetching ChannelID and TeamId from Microsoft Teams API:
SELECT * FROM ChannelMessages
This query uses the TeamID from Microsoft Teams API to obtain the ChannelID:
SELECT * FROM ChannelMessages WHERE TeamId = '4729c5e5-f923-4435-8a41-44423d42ea79'
SELECT * FROM ChannelMessages WHERE TeamId = '4729c5e5-f923-4435-8a41-44423d42ea79' AND ChannelId = '19:[email protected]'
SELECT * FROM ChannelMessages WHERE TeamId = '4729c5e5-f923-4435-8a41-44423d42ea79' AND ChannelId = '19:[email protected]' AND Id='1688061957561'
To get all the replies in a message:
SELECT * FROM ChannelMessages WHERE TeamId = '4729c5e5-f923-4435-8a41-44423d42ea79' AND ChannelId = '19:[email protected]' AND ReplyToId='1688061957561'
SELECT * FROM ChannelMessages WHERE TeamId = '4729c5e5-f923-4435-8a41-44423d42ea79' AND ChannelId = '19:[email protected]' AND Id='1688061957562' AND ReplyToId='1688061957561'
| Name | Type | Description |
| Id [KEY] | String | Unique identifier for the channel message in Microsoft Teams. |
| BodyContent | String | Plaintext or rich text content of the message body. |
| BodyContentType | String | Specifies the format of the message body content, such as text or HTML. |
| ChannelId | String | Identifier of the Microsoft Teams channel where the message was posted. |
| TeamId | String | Identifier of the team associated with the channel. |
| Mentions | String | List of entities mentioned in the message. Supported entities include user, bot, team, and channel. |
| Reactions | String | List of reactions applied to the channel message, such as like or heart. |
| Attachments | String | References to objects attached to the message, such as files, tabs, or meetings. |
| Importance | String | Priority level of the message, such as normal, high, or urgent. |
| CreatedDateTime | Datetime | Timestamp indicating when the message was created. |
| LastEditedDateTime | Datetime | Timestamp indicating when the message was last edited. |
| LastModifiedDateTime | Datetime | Timestamp indicating when the message was last updated. |
| DeletedDateTime | Datetime | Timestamp indicating when the message was deleted, or null if it has not been deleted. |
| MessageType | String | Type of message, such as standard or system notification. |
| ChatId | String | Identifier of the chat thread when the message is part of a threaded conversation. |
| Etag | String | Version identifier for the message used for concurrency control. |
| FromUserDisplayName | String | Display name of the user who sent the message. |
| FromUserId | String | Unique identifier of the user who sent the message. |
| FromUserUserIdentityType | String | Specifies the identity type of the user who sent the message. |
| FromApplication | String | Name of the application that sent the message, if applicable. |
| FromDevice | String | Name of the device used to send the message, if available. |
| Locale | String | Locale setting of the message as defined by the client application, typically en-us. |
| PolicyViolation | String | Details about any policy violations associated with the message. |
| ReplyToId | String | Identifier of the parent message when the current message is part of a reply thread. |
| Subject | String | Subject line of the message in plaintext, if provided. |
| Summary | String | Summary text of the message for use in notifications, previews, or fallback views. Applies only to channel messages. |
| WebUrl | String | Direct link to view the message in Microsoft Teams. |
| EventDetail | String | Details about the event associated with the message, if applicable. |
Retrieves details of participants in Microsoft Teams chat conversations.
The Sync App use the Microsoft Teams API to process WHERE clause conditions built with the following columns and operators:
Note: UserId and ChatId must be included in the WHERE clause to retrieve any data from the ChatMembers view. These filters are required by the API and are evaluated server-side.
The rest of the filter is executed client-side within the Sync App.
For example, the following queries are processed server-side:
SELECT * FROM ChatMembers WHERE UserId = 'e4ea490e-b30c-4b1e-92b0-337117920315' AND ChatId = '19:92dfdfc6-f1d4-4965-9f71-30e4da4fa7fe_90a27c51-5c74-453b-944a-134ba86da790@unq.gbl.spaces'
SELECT * FROM ChatMembers WHERE UserId = 'e4ea490e-b30c-4b1e-92b0-337117920315' AND ChatId IN ('19:92dfdfc6-f1d4-4965-9f71-30e4da4fa7fe_90a27c51-5c74-453b-944a-134ba86da790@unq.gbl.spaces', '19:92dfdfc6-f1d4-4965-9f71-30e4da4fa7fe_b62067c0-8314-42f8-9d02-d1c2051dfcdc@unq.gbl.spaces')
| Name | Type | Description |
| Id [KEY] | String | Unique identifier for the chat member in Microsoft Teams. |
| ChatId | String | Identifier of the chat to which the member belongs. |
| DisplayName | String | Full display name of the chat member. |
| String | Email address of the chat member. | |
| Roles | String | Roles assigned to the chat member, such as owner or participant. |
| TenantId | String | Identifier of the Microsoft 365 tenant associated with the chat member. |
| UserId | String | Unique user identifier for the chat member. |
| StartDateTime | Datetime | Timestamp indicating when the membership history for the chat started. |
Get Chat Message Attachments.
The Sync App uses the Microsoft Teams API to process WHERE clause conditions built with the following column and operator:
The rest of the filter is executed client side within the Sync App.
The following is an example query:
SELECT * FROM ChatMessageAttachments WHERE ChatId = '19:92dfdfc6-f1d4-4965-9f71-30e4da4fa7fe_e4ea490e-b30c-4b1e-92b0-337117920315@unq.gbl.spaces'
| Name | Type | Description |
| Id | String | The Chat Messages Id. |
| ChatId | String | The Chat Id. |
| Attachments_Id | String | The Id of the attachment. |
| Content | String | The Content of the attachment. |
| ContentType | String | The ContentType of the attachment. |
| ContentUrl | String | The ContentUrl of the attachment. |
| Name | String | The Name of the attachment. |
| TeamsAppId | String | The TeamsAppId of the attachment. |
| ThumbnailUrl | String | The ThumbnailUrl of the attachment. |
Get Chat Message Mentions.
The Sync App uses the Microsoft Teams API to process WHERE clause conditions built with the following column and operator:
The rest of the filter is executed client side within the Sync App.
The following is an example query:
SELECT * FROM ChatMessageMentions WHERE ChatId = '19:92dfdfc6-f1d4-4965-9f71-30e4da4fa7fe_e4ea490e-b30c-4b1e-92b0-337117920315@unq.gbl.spaces'
| Name | Type | Description |
| Id | String | The Chat Messages Id. |
| ChatId | String | The Chat Id. |
| Mentions_Id | Int | The Id of the mention. |
| MentionText | String | The MentionText of the mention. |
| User_Id | String | The User_Id of the mention. |
| User_DisplayName | String | The User_DisplayName of the mention. |
| User_TenantId | String | The User_TenantId of the mention. |
| Application_Id | String | The Application_Id of the mention. |
| Application_DisplayName | String | The Application_DisplayName of the mention. |
| Application_TenantId | String | The Application_TenantId of the mention. |
| Device_Id | String | The Device_Id of the mention. |
| Device_DisplayName | String | The Device_DisplayName of the mention. |
| Device_TenantId | String | The Device_TenantId of the mention. |
| Conversation_Id | String | The Conversation_Id of the mention. |
| Conversation_DisplayName | String | The Conversation_DisplayName of the mention. |
| Conversation_ConversationIdentityType | String | The Conversation_ConversationIdentityType of the mention. |
Returns messages sent and received in Microsoft Teams chat threads.
The Sync App uses the Microsoft Teams API to process WHERE clause conditions built with the following column and operator:
The rest of the filter is executed client side within the Sync App.
The following is an example query:
SELECT * FROM ChatMessages WHERE ChatId = '19:92dfdfc6-f1d4-4965-9f71-30e4da4fa7fe_e4ea490e-b30c-4b1e-92b0-337117920315@unq.gbl.spaces'
| Name | Type | Description |
| Id [KEY] | String | Unique identifier for the chat message in Microsoft Teams. |
| ChatId | String | Identifier of the chat thread containing the message. |
| BodyContent | String | Plaintext or rich text content of the chat message body. |
| BodyContentType | String | Specifies the format of the message body content, such as text or HTML. |
| MessageType | String | Type of chat message, such as standard or system notification. |
| CreatedDateTime | Datetime | Timestamp indicating when the chat message was created. |
| LastEditedDateTime | Datetime | Timestamp indicating when the chat message was last edited. |
| LastModifiedDateTime | Datetime | Timestamp indicating when the chat message was last updated. |
| DeletedDateTime | Datetime | Timestamp indicating when the chat message was deleted, or null if it has not been deleted. |
| Reactions | String | List of reactions applied to the chat message, such as like or heart. |
| Mentions | String | List of entities mentioned in the chat message. Supported entities include user, bot, team, and channel. |
| Attachments | String | References to objects attached to the message, such as files, tabs, or meetings. |
| Importance | String | Priority level of the chat message, such as normal, high, or urgent. |
| FromUserDisplayName | String | Display name of the user who sent the message. |
| FromUserId | String | Unique identifier of the user who sent the message. |
| FromUserIdentityType | String | Specifies the identity type of the user who sent the message. |
| ChannelIdentity | String | Identifier of the Microsoft Teams channel associated with the message, if applicable. |
| Locale | String | Locale setting of the message as defined by the client application, typically en-us. |
| ReplyToId | String | Identifier of the parent chat message if this message is part of a reply thread. |
| Subject | String | Subject line of the chat message, in plaintext. |
| Summary | String | Summary text of the chat message for use in notifications, previews, or fallback views. Applies only to channel chat messages. |
| PolicyViolation | String | Details about any policy violations associated with the chat message. |
| Etag | String | Version identifier for the chat message used for concurrency control. |
| FromApplication | String | Name of the application that sent the message, if applicable. |
| FromDevice | String | Name of the device used to send the message, if available. |
| WebUrl | String | Direct link to view the message in Microsoft Teams. |
| EventDetail | String | Details about the event associated with the chat message, if applicable. |
Provides a list of chat threads within Microsoft Teams, including group and one-on-one chats.
The Sync App use the Microsoft Teams API to process WHERE clause conditions built with the following column and operator:
The rest of the filter is executed client side within the Sync App.
The following is an example query:
SELECT * FROM Chats WHERE Id = '19:32caef50-395c-425a-a994-e3fa4569b23b_92dfdfc6-f1d4-4965-9f71-30e4da4fa7fe@unq.gbl.spaces'
| Name | Type | Description |
| Id [KEY] | String | Unique identifier for the chat in Microsoft Teams. |
| ChatType | String | Specifies the type of chat, such as one-on-one, group, or meeting chat. |
| UserId | String | Identifier of the user associated with the chat. |
| CreatedDateTime | Datetime | Timestamp indicating when the chat was created. |
| LastUpdatedDateTime | Datetime | Timestamp indicating when the chat was last updated. |
| Topic | String | Subject or topic of the chat, if specified. |
| IsHiddenForAllMembers | Bool | Indicates whether the chat is hidden for all members. |
Displays direct routing call records in Microsoft Teams for telephony integration analysis.
カスタムアプリおよびクライアントクレデンシャルを使用する必要があります。Entra ID(Azure AD)アプリケーションの作成 を参照してください。 Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
次にクエリの例を示します。
SELECT * FROM DirectRoutingCalls WHERE FromDate = '2021-01-01' SELECT * FROM DirectRoutingCalls WHERE FromDate = '2021-01-01' AND ToDate = '2021-02-09'
Note:FromDate とToDate は必須パラメータであり、指定されていない場合はデフォルトの日付を日付範囲90日で使用します。
| Name | Type | Description |
| Id | String | Unique identifier for the direct routing call in Microsoft Teams. |
| CorrelationId | String | Correlation identifier used to track related call and session data. |
| UserId | String | Unique identifier of the user associated with the call. |
| UserPrincipalName | String | User Principal Name (UPN) of the user who participated in the call. |
| UserDisplayName | String | Display name of the user who participated in the call. |
| StartDateTime | Edm.DateTimeOffset | Timestamp indicating when the call started. |
| InviteDateTime | Edm.DateTimeOffset | Timestamp indicating when the call invitation was sent. |
| FailureDateTime | Edm.DateTimeOffset | Timestamp indicating when the call failed, if applicable. |
| EndDateTime | Edm.DateTimeOffset | Timestamp indicating when the call ended. |
| Duration | Integer | Duration of the call in seconds. |
| CallType | String | Type of call, such as inbound or outbound. |
| SuccessfulCall | String | Indicates whether the call was successfully completed. |
| CallerNumber | String | Phone number of the caller. |
| CalleeNumber | String | Phone number of the callee. |
| MediaPathLocation | String | Location of the media path used during the call. |
| SignalingLocation | String | Location of the signaling server handling the call. |
| FinalSipCode | Integer | Final SIP (Session Initiation Protocol) response code for the call. |
| CallEndSubReason | Integer | Detailed subreason code explaining why the call ended. |
| FinalSipCodePhrase | String | Description of the final SIP code. |
| MediaBypassEnabled | Boolean | Indicates whether Media Bypass was enabled for the call. |
| FromDate | Edm.Date | Start date for filtering calls to retrieve. |
| ToDate | Edm.Date | End date for filtering calls to retrieve. |
Displays Public Switched Telephone Network (PSTN) call records in Microsoft Teams.
カスタムアプリおよびクライアントクレデンシャルを使用する必要があります。Entra ID(Azure AD)アプリケーションの作成 を参照してください。 Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
次にクエリの例を示します。
SELECT * FROM PstnCalls WHERE FromDate = '2021-01-01' SELECT * FROM PstnCalls WHERE FromDate = '2021-01-01' AND ToDate = '2021-02-09'
Note:FromDate およびToDate は必須パラメータであり、指定されていない場合はデフォルトの日付を日付範囲90日で使用します。
| Name | Type | Description |
| Id | String | Unique identifier for the PSTN (Public Switched Telephone Network) call record. |
| CallId | String | Identifier for the specific call within Microsoft Teams. |
| UserId | String | Unique identifier of the user associated with the call. |
| UserPrincipalName | String | User Principal Name (UPN) of the user who made or received the call. |
| UserDisplayName | String | Display name of the user involved in the call. |
| StartDateTime | Edm.DateTimeOffset | Timestamp indicating when the PSTN call started. |
| EndDateTime | Edm.DateTimeOffset | Timestamp indicating when the PSTN call ended. |
| Duration | Integer | Total duration of the call in seconds. |
| Charge | Edm.Double | Monetary charge for the PSTN call. |
| CallType | String | Type of call, such as inbound or outbound. |
| Currency | String | Currency in which the charge is calculated. |
| CallerNumber | String | Phone number of the caller. |
| CalleeNumber | String | Phone number of the callee. |
| UsageCountryCode | String | Country code representing where the PSTN usage occurred. |
| TenantCountryCode | String | Country code for the Microsoft 365 tenant associated with the call. |
| ConnectionCharge | Edm.Double | One-time connection charge for the PSTN call. |
| DestinationName | String | Name of the call destination, such as a city or region. |
| ConferenceId | String | Identifier for the conference when the call is part of a conference session. |
| LicenseCapability | String | License capability of the user at the time of the call. |
| InventoryType | String | Type of inventory resource used for the call, such as service numbers or user numbers. |
| FromDate | Edm.Date | Start date for filtering PSTN call records to retrieve. |
| ToDate | Edm.Date | End date for filtering PSTN call records to retrieve. |
Retrieves the list of users who are members of a specific Microsoft Teams team.
The Sync App will use the Microsoft Teams API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Sync App.
For example, the following query is processed server side:
SELECT * FROM TeamMembers WHERE TeamId = 'f7985bee-7fb4-404d-a954-5ba68ae7c8db'
SELECT * FROM TeamMembers WHERE TeamId IN ('f7985bee-7fb4-404d-a954-5ba68ae7c8db', 'da838338-4e77-4c05-82a6-79d9f0274511')
| Name | Type | Description |
| Id [KEY] | String | Unique identifier for the team member in Microsoft Teams. |
| TeamId | String | Identifier of the team to which the member belongs. |
| DisplayName | String | Full display name of the team member. |
| String | Email address of the team member. | |
| Roles | String | Roles assigned to the team member, such as owner or member. |
| TenantId | String | Identifier of the Microsoft 365 tenant associated with the team member. |
| UserId | String | Unique user identifier for the team member. |
| StartDateTime | Datetime | Timestamp indicating when the membership history for the team started. |
Stores real-time presence information for Microsoft Teams users.
The Sync App will use the Microsoft Teams API to process WHERE clause conditions built with the following column and operator. The rest of the filter is executed client side within the Sync App.
Following is an example query:
SELECT * FROM UserPresence WHERE Id = '142478877'
SELECT * FROM UserPresence WHERE Id IN ('0409f710-2aa9-4f05-8944-ef382160f1d1', '04a54c2f-2402-4cee-ac8e-9eee05d0dd30')
| Name | Type | Description |
| Id | String | Unique identifier for the Microsoft Teams user. |
| Availability | String | The user's current availability status, such as Available, Away, Busy, or Do Not Disturb. |
| Activity | String | The user's current activity state in Microsoft Teams, such as In a call, In a meeting, or Presenting. |
| StatusMessage_ExpiryDateTime_DateTime | String | The date and time when the user's custom status message is set to expire. |
| StatusMessage_ExpiryDateTime_TimeZone | String | The time zone associated with the expiration date and time of the user's status message. |
| StatusMessage_Message_Content | String | The text content of the user's custom status message in Microsoft Teams. |
| StatusMessage_PublishedDateTime | Datetime | The date and time when the user's custom status message was published. |
Contains detailed profile, organizational, and directory synchronization information for users in Microsoft Teams, including contact details, licensing, job roles, and Active Directory mappings.
Users テーブルをクエリします。Sync App は Microsoft Teams API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM Users WHERE Id = '08d30c14-2775-45c9-8809-3eca47340959'
| Name | Type | Description |
| id [KEY] | String | Unique identifier for the user in Microsoft Teams. |
| deletedDateTime | Datetime | Timestamp indicating when the user account was deleted, if applicable. |
| accountEnabled | Bool | Indicates whether the user's account is currently enabled. |
| assignedLicenses | String | List of product licenses currently assigned to the user. |
| businessPhones | String | Collection of the user's business phone numbers. |
| city | String | City listed in the user's organizational profile. |
| companyName | String | Name of the company the user is associated with. |
| country | String | Country or region specified in the user's profile. |
| createdDateTime | Datetime | Timestamp when the user account was created. |
| department | String | Department name listed in the user's organizational information. |
| displayName | String | Full name displayed for the user in Teams and other services. |
| employeeHireDate | Datetime | Date the user was hired, according to their employee record. |
| employeeId | String | Identifier assigned to the user in the employee directory. |
| employeeOrgData_costCenter | String | Cost center code associated with the user's organizational unit. |
| employeeOrgData_division | String | Division in which the user is employed within the organization. |
| employeeType | String | Classification of the user's employment, such as Full-time or Contractor. |
| givenName | String | The user's first name. |
| identities | String | Collection of identity records used for sign-in and directory purposes. |
| imAddresses | String | List of Instant Messaging (IM) addresses associated with the user. |
| isManagementRestricted | Bool | Indicates whether the user is restricted from being managed by others. |
| isResourceAccount | Bool | Specifies whether the user account is a resource account. |
| jobTitle | String | Job title listed in the user's profile. |
| lastPasswordChangeDateTime | Datetime | Timestamp of the user's most recent password change. |
| String | Primary email address associated with the user. | |
| mailNickname | String | Nickname used to generate the user's email address. |
| mobilePhone | String | User's mobile phone number. |
| officeLocation | String | Office building or physical location assigned to the user. |
| onPremisesDistinguishedName | String | User's distinguished name in the on-premises Active Directory. |
| onPremisesDomainName | String | Name of the on-premises domain the user is associated with. |
| onPremisesExtensionAttributes_extensionAttribute1 | String | Custom extension attribute 1 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute10 | String | Custom extension attribute 10 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute11 | String | Custom extension attribute 11 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute12 | String | Custom extension attribute 12 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute13 | String | Custom extension attribute 13 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute14 | String | Custom extension attribute 14 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute15 | String | Custom extension attribute 15 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute2 | String | Custom extension attribute 2 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute3 | String | Custom extension attribute 3 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute4 | String | Custom extension attribute 4 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute5 | String | Custom extension attribute 5 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute6 | String | Custom extension attribute 6 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute7 | String | Custom extension attribute 7 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute8 | String | Custom extension attribute 8 from the on-premises Active Directory for the user. |
| onPremisesExtensionAttributes_extensionAttribute9 | String | Custom extension attribute 9 from the on-premises Active Directory for the user. |
| onPremisesImmutableId | String | Unique, immutable identifier used to map the user to an on-premises Active Directory object. |
| onPremisesLastSyncDateTime | Datetime | Timestamp of the last directory synchronization from on-premises Active Directory to Microsoft 365. |
| onPremisesProvisioningErrors | String | Collection of errors encountered during the on-premises provisioning process for the user. |
| onPremisesSamAccountName | String | Security Account Manager (SAM) account name of the user in the on-premises Active Directory. |
| onPremisesSecurityIdentifier | String | Security Identifier (SID) associated with the user's on-premises Active Directory account. |
| onPremisesSyncEnabled | Bool | Indicates whether synchronization with the on-premises directory is enabled for the user. |
| onPremisesUserPrincipalName | String | User Principal Name (UPN) of the user in the on-premises environment. |
| otherMails | String | Collection of additional email addresses associated with the user. |
| passwordProfile_forceChangePasswordNextSignIn | Bool | Indicates whether the user must change their password at the next sign-in. |
| passwordProfile_forceChangePasswordNextSignInWithMfa | Bool | Indicates whether the user must change their password at the next sign-in using multi-factor authentication. |
| passwordProfile_password | String | Password value to set during user creation. |
| postalCode | String | Postal code or ZIP code listed in the user's address information. |
| preferredLanguage | String | The user's preferred language, typically used for localization and communication settings. |
| serviceProvisioningErrors | String | List of errors encountered during the provisioning of services for the user. |
| state | String | State or province listed in the user's address details. |
| streetAddress | String | Street-level address of the user's physical or mailing location. |
| surname | String | User's family name or last name. |
| userPrincipalName | String | The user's sign-in name, usually formatted as an email address. |
| userType | String | |
| Authentication_id | String | Unique identifier for the user's authentication container. |
| Calendar_id | String | Unique identifier for the user's calendar. |
| Drive_id | String | Unique identifier for the user's OneDrive drive. |
| InferenceClassification_id | String | Unique identifier for the user's email classification preferences. |
| Insights_id | String | Unique identifier for insights related to the user, such as activity and collaboration data. |
| Manager_id | String | Identifier for the user's manager in the organizational directory. |
| Onenote_id | String | Unique identifier for the user's OneNote data container. |
| Outlook_id | String | Unique identifier for the user's Outlook data container. |
| Photo_id | String | Identifier for the user's profile photo resource. |
| Planner_id | String | Identifier for the user's Microsoft Planner resource. |
| Presence_id | String | Identifier for the user's presence data in Microsoft Teams. |
| Settings_id | String | Identifier for the user's settings container. |
| Teamwork_id | String | Identifier for the user's Microsoft Teams collaboration container. |
| Todo_id | String | Identifier for the user's Microsoft To Do task list. |
ストアドプロシージャはファンクションライクなインターフェースで、Microsoft Teams の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずSync App の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにMicrosoft Teams から関連するレスポンスデータを返します。
| Name | Description |
| ArchiveTeam | Archives a specified Microsoft Team, preserving content in read-only mode while preventing further edits or changes. |
| CreateChat | Initiates a one-on-one or group chat in Teams by specifying participants and chat metadata. |
| DeleteChat | Permanently removes a Teams chat thread, including all associated messages and metadata. |
| DeleteChatMessage | Deletes a specific message from a Teams chat, identified by message ID and chat context. |
| DeleteMessage | Removes a message from a Teams channel conversation, typically used for moderation or compliance. |
| FetchAdditionalUserFields | Pulls extended profile data (T1, T2, T3 fields) for a specific Teams user for reporting or personalization. |
| GetAdminConsentURL | Creates a secure admin authorization link for granting delegated or application permissions to Teams-based apps. |
| GetAttachmentContentUrl | Retrieves a direct-access URL for a file attachment from a Teams chat message for downloading or embedding. |
| GetChannelFile | Returns the contents of a file when provided the file URL or the ID information to find the file. Can be returned as either a BASE64 blob or a file |
| GetUserActivityCount | Returns statistics on user engagement in Teams, broken down by activities like chat messages, meeting participation, and calls. |
| SendChatMessage | Sends a new message to a specified chat thread in Microsoft Teams, supporting text and rich content. |
| SendMessage | Posts a message to a Teams channel, optionally including formatting, mentions, and embedded content. |
| ShareSchedule | Publishes pending changes in a Teams schedule, such as shifts or time-off entries, making them visible to team members. |
| UnArchiveTeam | Reactivates an archived Microsoft Team, restoring full editing capabilities and collaboration access. |
| UpdateChat | Modifies properties of a Teams chat, such as adding participants or changing the topic name. |
| UpdateChatMessage | Updates the content of an existing Teams chat message, allowing corrections or content changes. |
| UpdateMessage | Revises an existing message in a Teams channel to reflect new information or correct errors. |
Archives a specified Microsoft Team, preserving content in read-only mode while preventing further edits or changes.
| Name | Type | Required | Description |
| TeamId | String | True | Unique identifier of the Microsoft Team that will be archived. |
| ShouldSetSPOSiteReadOnlyForMembers | String | False | Optional flag indicating whether to restrict team members' access to read-only on the associated SharePoint Online site. If set to false or omitted, permissions remain unchanged. |
| Name | Type | Description |
| Status | String | Indicates the result of the archive operation, such as success or failure. |
Initiates a one-on-one or group chat in Teams by specifying participants and chat metadata.
| Name | Type | Required | Description |
| ChatType | String | True | Defines the type of chat to create. Valid values are group for multi-user conversations and oneOnOne for direct messages between two users. |
| Members | String | True | Comma-separated list of user IDs to include in the chat. Ensure each user ID is valid and separated by a comma and a space. |
| Topic | String | False | Optional title for the chat. Only applicable if the chat type is group; ignored for oneOnOne chats. |
| Name | Type | Description |
| Success | String | Indicates whether the chat creation process completed successfully. |
Permanently removes a Teams chat thread, including all associated messages and metadata.
| Name | Type | Required | Description |
| ChatId | String | True | Unique identifier of the chat to be deleted. This must reference an existing oneOnOne or group chat. |
| Name | Type | Description |
| Success | String | Indicates whether the chat deletion was completed successfully. |
Deletes a specific message from a Teams chat, identified by message ID and chat context.
| Name | Type | Required | Description |
| UserId | String | True | Unique identifier of the user attempting to delete the message. Used to verify permissions and track audit logs. |
| ChatId | String | True | Unique identifier of the chat where the message was posted. Helps locate the message within the correct conversation. |
| MessageId | String | True | Unique identifier of the message to be deleted. Required to accurately target the message within the chat. |
| Name | Type | Description |
| Success | String | Indicates whether the message was successfully deleted from the chat. Returns true if successful, false otherwise. |
Removes a message from a Teams channel conversation, typically used for moderation or compliance.
| Name | Type | Required | Description |
| TeamId | String | True | Unique identifier of the team where the message exists. Used to ensure the operation targets the correct Microsoft Teams environment. |
| ChannelId | String | True | Unique identifier of the channel within the team where the message is posted. Required to locate the message contextually. |
| MessageId | String | True | Unique identifier of the message to be deleted. Ensures precise targeting of the message in the specified channel. |
| Name | Type | Description |
| Success | String | Indicates whether the message was successfully deleted. Returns true if the deletion was successful, otherwise false. |
Pulls extended profile data (T1, T2, T3 fields) for a specific Teams user for reporting or personalization.
| Name | Type | Required | Description |
| UserId | String | True | Unique identifier of the user whose additional information is being requested. Required to scope the data fetch. |
| IncludeFields | String | False | Comma-separated list of specific user fields to include in the result. Example: jobTitle, department, location. |
| ExcludeFields | String | False | Comma-separated list of specific user fields to exclude from the result. Example: mobilePhone, officeLocation. |
| Name | Type | Description |
| * | String | Complete set of user data returned by the query, shaped according to the include and exclude filters applied. |
Creates a secure admin authorization link for granting delegated or application permissions to Teams-based apps.
| Name | Type | Required | Description |
| CallbackUrl | String | False | The URL to which the user is redirected after granting admin consent. This must exactly match the Reply URL configured in the Azure Active Directory app registration. |
| State | String | False | Opaque string value used to maintain state between the request and callback. Useful for preventing cross-site request forgery attacks and preserving user session. |
| Scope | String | False | Space-separated list of permissions the application is requesting admin consent for. Example: User.Read Group.ReadWrite.All Directory.Read.All.
デフォルト値はhttps://graph.microsoft.com/group.read.all https://graph.microsoft.com/group.readwrite.all https://graph.microsoft.com/user.read.all https://graph.microsoft.com/appcatalog.readwrite.all https://graph.microsoft.com/presence.read.all https://graph.microsoft.com/chat.read https://graph.microsoft.com/channelmessage.read.all https://graph.microsoft.com/chat.readbasic https://graph.microsoft.com/chat.readwriteです。 |
| Name | Type | Description |
| URL | String | Generated authorization URL that must be opened in a browser to prompt the admin for consent and obtain the verifier token. |
Retrieves a direct-access URL for a file attachment from a Teams chat message for downloading or embedding.
| Name | Type | Required | Description |
| ChatId | String | True | Unique identifier of the chat that contains the message with the attachment. Used to locate the context of the request. |
| AttachmentId | String | False | Unique identifier of the attachment whose content URL is being retrieved. This field is not server-side filterable. |
| Name | Type | Description |
| ContentUrl | String | Direct URL to access the attachment content that was shared in the specified chat. |
| Success | String | Indicates whether the operation to retrieve the attachment content URL was successful. Returns true if successful, false otherwise. |
Returns the contents of a file when provided the file URL or the ID information to find the file. Can be returned as either a BASE64 blob or a file
| Name | Type | Required | Description |
| DownloadUrl | String | False | The URL provided by the ChannelFiles table as DownloadUrl. If not available, the drive ID and channel ID can be provided instead |
| DriveId | String | False | The ID of the drive containing the file that can be retrieved from the ChannelDrive table. Must be provided in combination with the Item ID if the DownloadURL is not provided. If provided in combination with DownloadURL and ItemId, a new DownLoadURL can be procured if the old link expires |
| FileId | String | False | The ID of the file to download that can be retrieved from the ChannelFiles table. Must be provided in combination with the Drive ID if the DownloadURL is not provided. If provided in combination with DownloadURL and DriveId, a new DownLoadURL can be procured if the old link expires. |
| DownloadTo | String | False | Full path where the downloaded file is saved. If not specified, the file content is returned as output. |
| Encoding | String | False | Encoding format used for the FileData input, such as Base64.
使用できる値は次のとおりです。NONE, BASE64 デフォルト値はBASE64です。 |
| Name | Type | Description |
| Status | String | Indicates whether the report was generated successfully. Returns true if successful, false otherwise. |
| FileData | String | Contains the full contents of the file as either a BASE64 blob or a file. |
Gets an authentication token from MSTeams.
| Name | Type | Required | Description |
| AuthMode | String | False | The type of authentication mode to use. Select App for getting authentication tokens via a desktop app. Select Web for getting authentication tokens via a Web app.
使用できる値は次のとおりです。APP, WEB デフォルト値はAPPです。 |
| Scope | String | False | A space-separated list of permissions to request from the user when OAuthGrantType='CODE'. Please check the Microsoft Graph API for a list of available permissions. When OAuthGrantType='CLIENT', a scope of 'https://graph.microsoft.com/.default' is used. '/.default' picks up whatever permissions your app already has.
デフォルト値はoffline_access https://graph.microsoft.com/.defaultです。 |
| CallbackUrl | String | False | The URL the user will be redirected to after authorizing your application. This value must match the Reply URL you have specified in the Azure AD app settings. |
| Verifier | String | False | The verifier returned from Azure AD after the user has authorized your app to have access to their data. This value will be returned as a parameter to the callback URL. |
| State | String | False | An arbitrary string of your choosing that is returned to your app; a successful roundtrip of this string helps ensure that your app initiated the request. |
| Prompt | String | False | Defaults to 'select_account' which prompts the user to select account while authenticating. Set to 'None', for no prompt, 'login' to force user to enter their credentials or 'consent' to trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app. |
| Name | Type | Description |
| OAuthAccessToken | String | The access token used for communication with MSTeams. |
| ExpiresIn | String | The remaining lifetime on the access token. A -1 denotes that it will not expire. |
| OAuthRefreshToken | String | Refresh token to renew the access token. |
Gets the authorization URL that must be opened separately by the user to grant access to your application. Only needed when developing Web apps. You will request the auth token from this URL.
| Name | Type | Required | Description |
| CallbackUrl | String | False | The URL the user will be redirected to after authorizing your application. This value must match the Reply URL in the Azure AD app settings. |
| State | String | False | The same value for state that you sent when you requested the authorization code. |
| Scope | String | False | A space-separated list of permissions to request from the user when OAuthGrantType='CODE'. Please check the Microsoft Graph API for a list of available permissions. When OAuthGrantType='CLIENT', a scope of 'https://graph.microsoft.com/.default' is used. '/.default' picks up whatever permissions your app already has.
デフォルト値はoffline_access https://graph.microsoft.com/.defaultです。 |
| Prompt | String | False | Defaults to 'select_account' which prompts the user to select account while authenticating. Set to 'None', for no prompt, 'login' to force user to enter their credentials or 'consent' to trigger the OAuth consent dialog after the user signs in, asking the user to grant permissions to the app. |
| Name | Type | Description |
| URL | String | The authorization URL, entered into a Web browser to obtain the verifier token and authorize your app. |
Returns statistics on user engagement in Teams, broken down by activities like chat messages, meeting participation, and calls.
| Name | Type | Required | Description |
| Duration | String | True | Number of days to include in the user activity report. Determines the reporting period for activity data.
使用できる値は次のとおりです。D7, D30, D90, D180 |
| FileLocation | String | False | Full path where the downloaded CSV report should be saved. Used when writing the report directly to disk. |
| Encoding | String | False | Text encoding format used for the output report file. Examples include UTF-8, ASCII, or UTF-16.
使用できる値は次のとおりです。NONE, BASE64 デフォルト値はBASE64です。 |
| Name | Type | Description |
| Success | String | Indicates whether the report was generated successfully. Returns true if successful, false otherwise. |
| FileData | String | Contains the full contents of the generated report file if FileLocation and FileStream are not provided. |
Refreshes the OAuth access token used for authentication with various MSTeams services.
| Name | Type | Required | Description |
| OAuthRefreshToken | String | True | The refresh token returned from the original authorization code exchange. |
| Name | Type | Description |
| OAuthAccessToken | String | The authentication token returned from Azure AD. This can be used in subsequent calls to other operations for this particular service. |
| OAuthRefreshToken | String | A token that may be used to obtain a new access token. |
| ExpiresIn | String | The remaining lifetime on the access token. |
Sends a new message to a specified chat thread in Microsoft Teams, supporting text and rich content.
| Name | Type | Required | Description |
| ChatId | String | True | Unique identifier of the chat where the message is sent. Required to route the message to the correct conversation. |
| ContentType | String | False | Format of the message content to be sent. Common values include text, html, and markdown. |
| Content | String | True | Main body of the message to be sent in the chat, formatted according to the specified ContentType. |
| Importance | String | False | Priority level of the message. Default is normal.
使用できる値は次のとおりです。normal, high, urgent |
| Mention | String | False | Comma-separated MentionText and MentionUserId pairs. For multiple mentions, use semicolons to separate pairs. Example: MentionText1, MentionUserId1; MentionText2, MentionUserId2. |
| Attachment | String | False | Comma-separated AttachmentContentType and AttachmentContentUrl pairs. For multiple attachments, use semicolons to separate pairs. Example: AttachmentContentType1, AttachmentContentUrl1; AttachmentContentType2, AttachmentContentUrl2. |
| Name | Type | Description |
| Success | String | Indicates whether the message was successfully sent to the chat. Returns true if successful, false otherwise. |
Posts a message to a Teams channel, optionally including formatting, mentions, and embedded content.
| Name | Type | Required | Description |
| TeamId | String | True | Unique identifier of the team where the message is sent. Required to route the message to the correct Microsoft Teams group. |
| ChannelId | String | True | Unique identifier of the channel within the team where the message is posted. |
| MessageId | String | False | Unique identifier of the message to be updated. Used when modifying an existing message. |
| ContentType | String | False | Format of the message content. Common values include text, html, and markdown. |
| Content | String | True | Body of the message to be sent or updated in the specified channel, formatted according to the ContentType. |
| Importance | String | False | Priority level of the message. The default value is normal.
使用できる値は次のとおりです。normal, high, urgent |
| Mention | String | False | Comma-separated MentionText and MentionUserId pairs. For multiple mentions, use semicolons to separate each pair. Example: MentionText1, MentionUserId1; MentionText2, MentionUserId2. |
| Attachment | String | False | Comma-separated AttachmentContentType and AttachmentContentUrl pairs. For multiple attachments, use semicolons to separate each pair. Example: AttachmentContentType1, AttachmentContentUrl1; AttachmentContentType2, AttachmentContentUrl2. |
| Name | Type | Description |
| Success | String | Indicates whether the message was successfully sent or updated. Returns true if the operation completed successfully, otherwise false. |
Reactivates an archived Microsoft Team, restoring full editing capabilities and collaboration access.
| Name | Type | Required | Description |
| TeamId | String | True | Unique identifier of the Microsoft Teams team that should be restored from an archived state. |
| Name | Type | Description |
| Status | String | Indicates whether the unarchive operation was successful. Returns a status message or code reflecting the result. |
Modifies properties of a Teams chat, such as adding participants or changing the topic name.
| Name | Type | Required | Description |
| ChatId | String | True | Unique identifier of the chat to be updated. Required to locate the chat instance. |
| Topic | String | True | New title for the chat. This value can only be set if the chat is a group chat, not a one-on-one conversation. |
| Name | Type | Description |
| Success | String | Indicates whether the chat update operation was successful. Returns true if the update completed without errors. |
Updates the content of an existing Teams chat message, allowing corrections or content changes.
| Name | Type | Required | Description |
| ChatId | String | True | Unique identifier of the chat that contains the message to be updated. Required to locate the correct conversation. |
| MessageId | String | True | Unique identifier of the message to be updated within the specified chat. |
| ContentType | String | False | Format of the message content. Supported values include text, html, and markdown. |
| Content | String | False | New content to replace the existing message body. Must match the specified ContentType. |
| Importance | String | False | Priority level of the message. Accepted values include low, normal, and high. |
| Mention | String | False | Comma-separated MentionText and MentionUserId pairs. For multiple mentions, use semicolons to separate pairs. Example: MentionText1, MentionUserId1; MentionText2, MentionUserId2. |
| PolicyViolation | String | False | JSON object defining the properties of a policy violation. Only applicable when the update is performed using application permissions. |
| Name | Type | Description |
| Success | String | Indicates whether the message update operation was successful. Returns true if completed without errors. |
Revises an existing message in a Teams channel to reflect new information or correct errors.
| Name | Type | Required | Description |
| TeamId | String | True | Unique identifier of the Microsoft Teams team that contains the message to be updated. |
| ChannelId | String | True | Unique identifier of the channel within the specified team where the message is located. |
| MessageId | String | True | Unique identifier of the message to be updated within the specified channel. |
| ContentType | String | False | Format of the message content. Accepted values include text, html, and markdown. |
| Content | String | False | New content that replaces the current message body. Must be compatible with the specified ContentType. |
| Importance | String | False | Priority level of the message. Valid values include low, normal, and high. |
| Mention | String | False | Comma-separated MentionText and MentionUserId pairs. For multiple mentions, use semicolons to separate pairs. Example: MentionText1, MentionUserId1; MentionText2, MentionUserId2. |
| PolicyViolation | String | False | JSON object describing the properties of a policy violation. Required only when using application permissions and enforcing compliance rules. |
| Name | Type | Description |
| Success | String | Indicates whether the message update operation completed successfully. Returns true if the update was successful, otherwise false. |
| プロパティ | 説明 |
| AuthScheme | Microsoft Teams に接続する際に使用する認証の種類を指定します。このプロパティが空白の場合は、デフォルトの認証が使用されます。 |
| MsAppActsAsUserId | Specifies the Microsoft Entra ID (GUID) of the user the application should impersonate when authenticating with a service principal. |
| プロパティ | 説明 |
| AzureTenant | データにアクセスするために使用されているMicrosoft Teams テナントを識別します。テナントのドメイン名(例: contoso.onmicrosoft.com )またはディレクトリ(テナント)ID のいずれかを受け付けます。 |
| AzureEnvironment | 接続するAzure ネットワーク環境を指定します。Azure アカウントが追加されたネットワークと同じである必要があります。 |
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。 |
| OAuthClientSecret | カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ) |
| Scope | データへの適切なアクセスを確実にするために、認証ユーザーのアプリケーションへのアクセス範囲を指定します。 カスタムOAuth アプリケーションが必要な場合は、通常、アプリケーションの作成時に指定します。 |
| プロパティ | 説明 |
| OAuthJWTCert | クライアント証明書のJWT 証明書ストアの名前を指定します。 |
| OAuthJWTCertType | JWT 証明書を格納しているキーストアの種類を指定します。 |
| OAuthJWTCertPassword | パスワードで保護された証明書ストアにアクセスするために使用されるOAuth JWT 証明書のパスワードを指定します。証明書ストアがパスワードを必要としない場合は、このプロパティを空白のままにします。 |
| OAuthJWTCertSubject | ストアで一致する証明書を検索するために使用される、OAuth JWT 証明書のサブジェクトを指定します。部分一致と、先頭の証明書を選択するためのワイルドカード '*' をサポートします。 |
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
| プロパティ | 説明 |
| FirewallType | provider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。 |
| FirewallServer | ファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。 |
| FirewallPort | プロキシベースのファイアウォールで使用するTCP ポートを指定します。 |
| FirewallUser | プロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。 |
| FirewallPassword | プロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。 |
| プロパティ | 説明 |
| ProxyAutoDetect | provider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。 |
| ProxyServer | HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレスを指定します。 |
| ProxyPort | クライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバーのTCP ポートを指定します。 |
| ProxyAuthScheme | ProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。 |
| ProxyUser | ProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名を提供します。 |
| ProxyPassword | ProxyUser 接続プロパティで指定されたユーザーのパスワードを指定します。 |
| ProxySSLType | ProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプを指定します。 |
| ProxyExceptions | ProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリストを指定します。 |
| プロパティ | 説明 |
| LogModules | ログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。 |
| プロパティ | 説明 |
| Location | テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
| Tables | レポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。 |
| Views | レポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。 |
| プロパティ | 説明 |
| DefaultGroups | Determines whether to use the /me/memberOf or /groups endpoint for user authentication. |
| DefaultUser | Determines whether to use the /me or /users endpoint for user authentication. |
| GroupId | Specify a default GroupId. |
| IncludeAllGroups | Specifies whether the provider returns all Microsoft 365 Groups in your organization or only those the authenticated user is a member of. |
| MaxRows | 集計やGROUP BY を含まないクエリで返される最大行数を指定します。 |
| Other | 特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。 |
| Pagesize | Specifies the maximum number of records the provider retrieves per page when querying Microsoft Teams data. |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。 |
| UserDefinedViews | カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。 |
| UserId | Specify a default UserId. |
このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。
| プロパティ | 説明 |
| AuthScheme | Microsoft Teams に接続する際に使用する認証の種類を指定します。このプロパティが空白の場合は、デフォルトの認証が使用されます。 |
| MsAppActsAsUserId | Specifies the Microsoft Entra ID (GUID) of the user the application should impersonate when authenticating with a service principal. |
Microsoft Teams に接続する際に使用する認証の種類を指定します。このプロパティが空白の場合は、デフォルトの認証が使用されます。
AuthScheme には以下が含まれます。
Azure AD で認証するためのカスタムアプリケーションの作成方法については、Entra ID(Azure AD)アプリケーションの作成 を参照してください。
Azure AD サービスプリンシパルで認証するためのカスタムアプリケーションの作成方法については、Entra ID(Azure AD)でのサービスプリンシパルアプリの作成 を参照してください。
Specifies the Microsoft Entra ID (GUID) of the user the application should impersonate when authenticating with a service principal.
This property is required when using the AzureServicePrincipal or AzureServicePrincipalCert authentication schemes and the Sync App needs to act on behalf of a specific user.
Set this property to the Microsoft Entra ID object ID (GUID) of the user whose schedule data the application needs to access.
You must specify this property when querying the following tables:
You must also specify this property when executing the ShareSchedule stored procedure.
Use this property when your application requires delegated access to user-specific Teams scheduling data in an Azure service principal authentication context.
このセクションでは、本プロバイダーの接続文字列で設定可能なAzure Authentication プロパティの全リストを提供します。
| プロパティ | 説明 |
| AzureTenant | データにアクセスするために使用されているMicrosoft Teams テナントを識別します。テナントのドメイン名(例: contoso.onmicrosoft.com )またはディレクトリ(テナント)ID のいずれかを受け付けます。 |
| AzureEnvironment | 接続するAzure ネットワーク環境を指定します。Azure アカウントが追加されたネットワークと同じである必要があります。 |
データにアクセスするために使用されているMicrosoft Teams テナントを識別します。テナントのドメイン名(例: contoso.onmicrosoft.com )またはディレクトリ(テナント)ID のいずれかを受け付けます。
テナントとは、Microsoft Entra ID(旧称:Azure AD)を通じて管理される、組織のユーザーやリソースのためのデジタルコンテナです。 各テナントには一意のディレクトリID が関連付けられており、多くの場合、カスタムドメイン(例:microsoft.com やcontoso.onmicrosoft.com)も関連付けられています。
Microsoft Entra 管理センターでディレクトリ(テナント)ID を確認するには、Microsoft Entra ID -> プロパティに移動し、「ディレクトリ(テナント)ID」と表示されている値をコピーします。
このプロパティは以下の場合に必要です。
テナントの値は、2つの形式のいずれかで指定できます。
テナントを明示的に指定することで、認証リクエストが正しいディレクトリにルーティングされるようになります。これは、ユーザーが複数のテナントに所属している場合や、サービスプリンシパルベースの認証を使用する場合に特に重要です。
この値が必要な場面で省略されると、認証に失敗したり、誤ったテナントに接続されたりする可能性があります。その結果、認可されていないまたはリソースが見つからないといったエラーが発生する可能性があります。
接続するAzure ネットワーク環境を指定します。Azure アカウントが追加されたネットワークと同じである必要があります。
Azure アカウントがGlobal ネットワークとは異なるネットワーク(China、USGOVT、USGOVTDOD など)の一部である場合は、必要です。
このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。 |
| OAuthClientSecret | カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ) |
| Scope | データへの適切なアクセスを確実にするために、認証ユーザーのアプリケーションへのアクセス範囲を指定します。 カスタムOAuth アプリケーションが必要な場合は、通常、アプリケーションの作成時に指定します。 |
カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。
このプロパティは2つのケースで必要となります:
(ドライバーが埋め込みOAuth 資格情報を提供する場合、この値はすでにSync App によって設定されており、手動で入力する必要がないことがあります。)
OAuthClientId は、認証付きの接続を構成する際に、OAuthClientSecret やOAuthSettingsLocation などの他のOAuth 関連プロパティと一緒に使用されるのが一般的です。
OAuthClientId は、ユーザーがOAuth 経由で認証を行う前に設定する必要がある、主要な接続パラメータの1つです。 この値は、通常、ID プロバイダーのアプリケーション登録設定で確認できます。 Client ID、Application ID、Consumer Key などとラベル付けされた項目を探してください。
クライアントID は、クライアントシークレットのような機密情報とは見なされませんが、アプリケーションの識別情報の一部であるため、慎重に取り扱う必要があります。公開リポジトリや共有設定ファイルでこの値を露出させないようにしてください。
接続設定時にこのプロパティを使用する方法の詳細については、接続の確立 を参照してください。
カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタムOAuth アプリケーションのみ)
このプロパティ(アプリケーションシークレットまたはコンシューマシークレットとも呼ばれます)は、安全なクライアント認証を必要とするすべてのフローでカスタムOAuth アプリケーションを使用する場合に必要です。たとえば、Web ベースのOAuth、サービスベースの接続、証明書ベースの認可フローなどが該当します。 組み込みOAuth アプリケーションを使用する場合は必要ありません。
クライアントシークレットは、OAuth フローのトークン交換ステップで使用されます。このステップでは、ドライバーが認可サーバーにアクセストークンを要求します。 この値が欠落しているか正しくない場合、認証はinvalid_client またはunauthorized_client エラーで失敗します。
OAuthClientSecret は、ユーザーがOAuth 経由で認証を行う前に設定する必要がある、主要な接続パラメータの1つです。この値は、OAuth アプリケーションを登録する際にID プロバイダーから取得できます。
Notes:
接続設定時にこのプロパティを使用する方法の詳細については、接続の確立 を参照してください。
データへの適切なアクセスを確実にするために、認証ユーザーのアプリケーションへのアクセス範囲を指定します。 カスタムOAuth アプリケーションが必要な場合は、通常、アプリケーションの作成時に指定します。
スコープは、認証ユーザーがどのようなアクセス権を持つかを定義するために設定されます。例えば、読み取り、読み取りと書き込み、機密情報への制限付きアクセスなどです。システム管理者は、スコープを使用して機能またはセキュリティクリアランスによるアクセスを選択的に有効化できます。
InitiateOAuth がGETANDREFRESH に設定されている場合、要求するスコープを変更したい場合はこのプロパティを使用する必要があります。
InitiateOAuth がREFRESH またはOFF のいずれかに設定されている場合、このプロパティまたはScope 入力を使用して、要求するスコープを変更できます。
このセクションでは、本プロバイダーの接続文字列で設定可能なJWT OAuth プロパティの全リストを提供します。
| プロパティ | 説明 |
| OAuthJWTCert | クライアント証明書のJWT 証明書ストアの名前を指定します。 |
| OAuthJWTCertType | JWT 証明書を格納しているキーストアの種類を指定します。 |
| OAuthJWTCertPassword | パスワードで保護された証明書ストアにアクセスするために使用されるOAuth JWT 証明書のパスワードを指定します。証明書ストアがパスワードを必要としない場合は、このプロパティを空白のままにします。 |
| OAuthJWTCertSubject | ストアで一致する証明書を検索するために使用される、OAuth JWT 証明書のサブジェクトを指定します。部分一致と、先頭の証明書を選択するためのワイルドカード '*' をサポートします。 |
クライアント証明書のJWT 証明書ストアの名前を指定します。
OAuthJWTCertType フィールドは、OAuthJWTCert により指定された証明書ストアの種類を指定します。 ストアがパスワードで保護されている場合は、OAuthJWTCertPassword を使用してパスワードを指定します。
OAuthJWTCert は、OAuthJWTCertSubject フィールドとともにクライアント証明書を指定するために使われます。 OAuthJWTCert に値が設定され、かつOAuthJWTCertSubject が設定されている場合、CData Sync App は証明書の検索を開始します。 詳しくは、OAuthJWTCertSubject を参照してください。
証明書ストアの指定はプラットフォームに依存します。
注記
JWT 証明書を格納しているキーストアの種類を指定します。
| 値 | 説明 | 注記 |
| USER | 現在のユーザーが所有する証明書ストア。 | Windows のみ使用可能です。 |
| MACHINE | マシンストア。 | Java やその他の非Windows 環境では使用できません。 |
| PFXFILE | 証明書を含むPFX(PKCS12)ファイル。 | |
| PFXBLOB | PFX(PKCS12)形式の証明書ストアをbase-64 でエンコードした文字列。 | |
| JKSFILE | 証明書を含むJava キーストア(JKS)ファイル。 | Java 専用。 |
| JKSBLOB | Java キーストア(JKS)形式の証明書ストアをbase-64 でエンコードした文字列。 | Java 専用。 |
| PEMKEY_FILE | 秘密鍵とオプションの証明書を含むPEM でエンコードされたファイル。 | |
| PEMKEY_BLOB | 秘密鍵とオプションの証明書をbase-64 でエンコードした文字列。 | |
| PUBLIC_KEY_FILE | PEM またはDER でエンコードされた公開鍵証明書を含むファイル。 | |
| PUBLIC_KEY_BLOB | PEM またはDER でエンコードされた公開鍵証明書をbase-64 でエンコードした文字列。 | |
| SSHPUBLIC_KEY_FILE | SSH 形式の公開鍵を含むファイル。 | |
| SSHPUBLIC_KEY_BLOB | SSH 形式の公開鍵ををbase-64 でエンコードした文字列。 | |
| P7BFILE | 証明書を含むPKCS7 ファイル。 | |
| PPKFILE | PuTTY 秘密キー(PPK)を含むファイル。 | |
| XMLFILE | XML 形式の証明書を含むファイル。 | |
| XMLBLOB | XML 形式の証明書を含む文字列。 | |
| BCFKSFILE | Bouncy Castle キーストアを含むファイル。 | |
| BCFKSBLOB | Bouncy Castle キーストアを含む文字列(base-64エンコード)。 |
パスワードで保護された証明書ストアにアクセスするために使用されるOAuth JWT 証明書のパスワードを指定します。証明書ストアがパスワードを必要としない場合は、このプロパティを空白のままにします。
このプロパティは、パスワードで保護された証明書ストアを開くために必要なパスワードを指定します。 パスワードが必要かどうかを判断するには、ご利用の証明書ストアのドキュメントまたは設定を参照してください。
ストアで一致する証明書を検索するために使用される、OAuth JWT 証明書のサブジェクトを指定します。部分一致と、先頭の証明書を選択するためのワイルドカード '*' をサポートします。
このプロパティの値は、ストアで一致する証明書を検索するために使用されます。検索プロセスは以下のように動作します。
値を '*' に設定すると、ストアの先頭の証明書が自動的に選択されます。 証明書のサブジェクトは識別名フィールドおよび値のカンマ区切りのリストです。 例:CN=www.server.com, OU=test, C=US, [email protected]。
一般的なフィールドには以下のものが含まれます。
| フィールド | 説明 |
| CN | 共通名。一般的には、www.server.com のようなホスト名です。 |
| O | 法人名 |
| OU | 法人の部署名 |
| L | 法人の住所(市町村名) |
| S | 法人の住所(都道府県) |
| C | 国名 |
| E | E メールアドレス |
フィールド値にカンマが含まれる場合は、引用符で囲んでください。例:"O=ACME, Inc."。
このセクションでは、本プロバイダーの接続文字列で設定可能なSSL プロパティの全リストを提供します。
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。
TLS/SSL 接続を使用している場合は、このプロパティを使用して、サーバーが受け入れるTLS/SSL 証明書を指定できます。このプロパティに値を指定すると、マシンによって信頼されていない他の証明書はすべて拒否されます。
このプロパティは、次のフォームを取ります:
| 説明 | 例 |
| フルPEM 証明書(例では省略されています) | -----BEGIN CERTIFICATE----- MIIChTCCAe4CAQAwDQYJKoZIhv......Qw== -----END CERTIFICATE----- |
| 証明書を保有するローカルファイルへのパス。 | C:\cert.cer |
| 公開鍵(例では省略されています) | -----BEGIN RSA PUBLIC KEY----- MIGfMA0GCSq......AQAB -----END RSA PUBLIC KEY----- |
| MD5 Thumbprint(hex 値はスペースまたはコロン区切り) | ecadbdda5a1529c58a1e9e09828d70e4 |
| SHA1 Thumbprint(hex 値はスペースまたはコロン区切り) | 34a929226ae0819f2ec14b4a3d904f801cbb150d |
Note:'*' を使用してすべての証明書を受け入れるように指定することも可能ですが、セキュリティ上の懸念があるため推奨されません。
このセクションでは、本プロバイダーの接続文字列で設定可能なFirewall プロパティの全リストを提供します。
| プロパティ | 説明 |
| FirewallType | provider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。 |
| FirewallServer | ファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。 |
| FirewallPort | プロキシベースのファイアウォールで使用するTCP ポートを指定します。 |
| FirewallUser | プロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。 |
| FirewallPassword | プロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。 |
provider がプロキシベースのファイアウォールを介してトラフィックをトンネリングするために使用するプロトコルを指定します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
Note:デフォルトでは、Sync App はシステムプロキシに接続します。この動作を無効化し、次のプロキシタイプのいずれかに接続するには、ProxyAutoDetect をfalse に設定します。
次の表は、サポートされている各プロトコルのポート番号情報です。
| プロトコル | デフォルトポート | 説明 |
| TUNNEL | 80 | Sync App がMicrosoft Teams への接続を開くポート。トラフィックはこの場所のプロキシを経由して行き来します。 |
| SOCKS4 | 1080 | Sync App がMicrosoft Teams への接続を開くポート。SOCKS 4 は次にFirewallUser 値をプロキシに渡し、接続リクエストが許容されるかどうかを決定します。 |
| SOCKS5 | 1080 | Sync App がMicrosoft Teams にデータを送信するポート。SOCKS 5 プロキシに認証が必要な場合には、FirewallUser およびFirewallPassword をプロキシが認識する認証情報に設定します。 |
HTTP プロキシへの接続には、ProxyServer およびProxyPort ポートを使ってください。HTTP プロキシへの認証には、ProxyAuthScheme、ProxyUser、およびProxyPassword を使ってください。
ファイアウォールを通過し、ユーザーのクエリをネットワークリソースに中継するために使用されるプロキシのIP アドレス、DNS 名、またはホスト名を識別します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
プロキシベースのファイアウォールで使用するTCP ポートを指定します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
プロキシベースのファイアウォールに認証するアカウントのユーザーID を識別します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
プロキシベースのファイアウォールで認証するユーザーアカウントのパスワードを指定します。
プロキシベースのファイアウォール(またはプロキシファイアウォール)は、ユーザーのリクエストとそれがアクセスするリソースの間に介在するネットワークセキュリティデバイスです。 プロキシは認証済みのユーザーのリクエストを受け取り、ファイアウォールを通過して適切なサーバーにリクエストを送信します。
プロキシは、リクエストを送信したユーザーに代わってデータバケットを評価し転送するため、ユーザーはサーバーに直接接続することなく、プロキシのみに接続します。
このセクションでは、本プロバイダーの接続文字列で設定可能なProxy プロパティの全リストを提供します。
| プロパティ | 説明 |
| ProxyAutoDetect | provider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。 |
| ProxyServer | HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレスを指定します。 |
| ProxyPort | クライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバーのTCP ポートを指定します。 |
| ProxyAuthScheme | ProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。 |
| ProxyUser | ProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名を提供します。 |
| ProxyPassword | ProxyUser 接続プロパティで指定されたユーザーのパスワードを指定します。 |
| ProxySSLType | ProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプを指定します。 |
| ProxyExceptions | ProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリストを指定します。 |
provider が、手動で指定されたプロキシサーバーを使用するのではなく、既存のプロキシサーバー構成についてシステムプロキシ設定をチェックするかどうかを指定します。
この接続プロパティをTrue に設定すると、Sync App は既存のプロキシサーバー構成についてシステムプロキシ設定をチェックします(プロキシサーバーの詳細を手動で入力する必要はありません)。
この接続プロパティは他のプロキシ設定より優先されます。特定のプロキシサーバーに接続するためにSync App を構成する場合は、ProxyAutoDetect をFalse に設定します。
HTTP プロキシへの接続には、ProxyServer を参照してください。SOCKS やトンネリングなどの他のプロキシには、FirewallType を参照してください。
HTTP トラフィックをルートするプロキシサーバーのホストネームもしくはIP アドレスを指定します。
ProxyAutoDetect がFalse に設定されている場合、Sync App はこの接続プロパティで指定されたプロキシサーバーを通じてのみHTTP トラフィックをルーティングします。
ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムプロキシ設定で指定されたプロキシサーバーを介してHTTP トラフィックをルーティングします。
クライアントとの間でHTTP トラフィックをルーティングするために予約された、指定されたプロキシサーバーのTCP ポートを指定します。
ProxyAutoDetect がFalse に設定されている場合、Sync App はこの接続プロパティで指定されたProxyServer ポートを通じてのみHTTP トラフィックをルーティングします。
ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムプロキシ設定で指定されたプロキシサーバーポートを介してHTTP トラフィックをルーティングします。
その他のプロキシタイプについては、FirewallType を参照してください。
ProxyServer 接続プロパティで指定されたプロキシサーバーに対して認証する際にprovider が使用する認証方法を指定します。
サポートされる認証の種類:
NONE 以外のすべての値については、ProxyUser およびProxyPassword 接続プロパティも設定する必要があります。
SOCKS 5 認証のような他の認証タイプを使用するには、FirewallType を参照してください。
ProxyServer 接続プロパティで指定されたプロキシサーバーに登録されているユーザーアカウントのユーザー名を提供します。
ProxyUser および ProxyPassword 接続プロパティは、ProxyServer で指定されたHTTP プロキシに対して接続よび認証するために使用されます。
ProxyAuthScheme で利用可能な認証タイプを1つ選択した後、このプロパティを以下のように設定します。
| ProxyAuthScheme の値 | ProxyUser に設定する値 |
| BASIC | プロキシサーバーに登録されているユーザーのユーザー名。 |
| DIGEST | プロキシサーバーに登録されているユーザーのユーザー名。 |
| NEGOTIATE | プロキシサーバーが属するドメインまたは信頼されたドメイン内の有効なユーザーであるWindows ユーザーのユーザー名。user@domain またはdomain\user の形式で指定。 |
| NTLM | プロキシサーバーが属するドメインまたは信頼されたドメイン内の有効なユーザーであるWindows ユーザーのユーザー名。user@domain またはdomain\user の形式で指定。 |
| NONE | ProxyPassword 接続プロパティは設定しないでください。 |
Note:Sync App は、ProxyAutoDetect がFalse に設定されている場合にのみ、このユーザー名を使用します。 ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムのプロキシ設定で指定されているユーザー名を使用します。
ProxyUser 接続プロパティで指定されたユーザーのパスワードを指定します。
ProxyUser および ProxyPassword 接続プロパティは、ProxyServer で指定されたHTTP プロキシに対して接続よび認証するために使用されます。
ProxyAuthScheme で利用可能な認証タイプを1つ選択した後、このプロパティを以下のように設定します。
| ProxyAuthScheme の値 | ProxyPassword に設定する値 |
| BASIC | ProxyUser で指定したプロキシサーバーユーザーに紐付けられたパスワード。 |
| DIGEST | ProxyUser で指定したプロキシサーバーユーザーに紐付けられたパスワード。 |
| NEGOTIATE | ProxyUser で指定したWindows ユーザーアカウントに紐付けられたパスワード。 |
| NTLM | ProxyUser で指定したWindows ユーザーアカウントに紐付けられたパスワード。 |
| NONE | ProxyPassword 接続プロパティは設定しないでください。 |
SOCKS 5 認証もしくは、トンネリングは、FirewallType を参照してください。
Note:Sync App は、ProxyAutoDetect がFalse に設定されている場合にのみ、このパスワードを使用します。 ProxyAutoDetect がTrue(デフォルト)に設定されている場合、Sync App は代わりにシステムのプロキシ設定で指定されているパスワードを使用します。
ProxyServer 接続プロパティで指定されたプロキシサーバーに接続する際に使用するSSL タイプを指定します。
このプロパティは、ProxyServer で指定されたHTTP プロキシへの接続にSSL を使用するかどうかを決定します。この接続プロパティには、以下の値を設定できます。
| AUTO | デフォルト設定。ProxyServer がHTTPS URL に設定されている場合、Sync App は、TUNNEL オプションを使用します。ProxyServer がHTTP URL に設定されている場合、コンポーネントはNEVER オプションを使用します。 |
| ALWAYS | 接続は、常にSSL 有効となります。 |
| NEVER | 接続は、SSL 有効になりません。 |
| TUNNEL | 接続はトンネリングプロキシ経由で行われます。プロキシサーバーがリモートホストへの接続を開き、プロキシを経由して通信が行われます。 |
ProxyServer 接続プロパティで設定されたプロキシサーバー経由での接続が免除される宛先ホスト名またはIP のセミコロン区切りのリストを指定します。
ProxyServer は、このプロパティで定義されたアドレスを除くすべてのアドレスに使用されます。セミコロンを使用してエントリを区切ります。
Note:Sync App はデフォルトでシステムプロキシ設定を使用するため、それ以上の設定は必要ありません。 この接続にプロキシ例外を明示的に設定する場合は、ProxyAutoDetect をFalse に設定します。
このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。
| プロパティ | 説明 |
| LogModules | ログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。 |
ログファイルに含めるコアモジュールを指定します。セミコロンで区切られたモジュール名のリストを使用します。デフォルトでは、すべてのモジュールがログに記録されます。
Sync App は、実行する各操作の詳細を Logfile 接続プロパティで指定されたログファイルに書き込みます。
ログに記録される各操作は、モジュールと呼ばれるカテゴリに分類されます。各モジュールには対応する短いコードがあり、個々の Sync App の操作がどのモジュールに属するかを示すラベルとして使用されます。
この接続プロパティにモジュールコードをセミコロン区切りのリストで設定すると、指定したモジュールに属する操作のみがログファイルに書き込まれます。この設定は今後のログ記録にのみ適用され、既存のログファイルの内容には影響しません。例: INFO;EXEC;SSL;META;
デフォルトでは、すべてのモジュールの操作がログに含まれます。
モジュールを明示的に除外するには、先頭に「-」を付けます。例: -HTTP
サブモジュールにフィルターを適用するには、<モジュール名>.<サブモジュール名> の構文で指定します。たとえば、次の値を設定すると、Sync App は HTTP モジュールに属するアクションのみをログに記録し、さらに HTTP モジュールの Res サブモジュールに属するアクションを除外します: HTTP;-HTTP.Res
Verbosity 接続プロパティによるログファイルのフィルタリングは、この接続プロパティによるフィルタリングよりも優先されます。そのため、Verbosity 接続プロパティで指定したレベルよりも高い詳細レベルの操作は、この接続プロパティで指定したモジュールに属していても、ログファイルには出力されません。
使用可能なモジュールとサブモジュールは次のとおりです。
| モジュール名 | モジュールの説明 | サブモジュール |
| INFO | 一般情報。接続文字列、製品バージョン(ビルド番号)、および初期接続メッセージが含まれます。 |
|
| EXEC | クエリ実行。ユーザーが記述した SQL クエリ、解析済み SQL クエリ、正規化済み SQL クエリの実行メッセージが含まれます。クエリおよびクエリページの成功/失敗メッセージもここに表示されます。 |
|
| HTTP | HTTP プロトコルメッセージ。HTTP リクエスト/レスポンス(POST メッセージを含む)、および Kerberos 関連のメッセージが含まれます。 |
|
| WSDL | WSDL/XSD ファイルの生成に関するメッセージ。 | — |
| SSL | SSL 証明書メッセージ。 |
|
| AUTH | 認証関連の失敗/成功メッセージ。 |
|
| SQL | SQL トランザクション、SQL 一括転送メッセージ、および SQL 結果セットメッセージが含まれます。 |
|
| META | メタデータキャッシュとスキーマメッセージ。 |
|
| FUNC | SQL 関数の実行に関連する情報。 |
|
| TCP | TCP トランスポートレイヤーメッセージでの送受信生バイト。 |
|
| FTP | File Transfer Protocol に関するメッセージ。 |
|
| SFTP | Secure File Transfer Protocol に関するメッセージ。 |
|
| POP | Post Office Protocol 経由で転送されるデータに関するメッセージ。 |
|
| SMTP | Simple Mail Transfer Protocol 経由で転送されるデータに関するメッセージ。 |
|
| CORE | 他のモジュールでカバーされていない、さまざまな製品内部操作に関連するメッセージ。 | — |
| DEMN | SQL リモーティングに関連するメッセージ。 | — |
| CLJB | 一括データアップロード(クラウドジョブ)に関するメッセージ。 |
|
| SRCE | 他のモジュールに属さない、製品が生成するその他のメッセージ。 | — |
| TRANCE | 低レベルの製品操作に関する高度なメッセージ。 | — |
このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。
| プロパティ | 説明 |
| Location | テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
| Tables | レポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。 |
| Views | レポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。 |
テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。
Location プロパティは、定義をカスタマイズしたり(例えば、カラム名を変更する、カラムを無視するなど)、新しいテーブル、ビュー、またはストアドプロシージャでデータモデルを拡張する場合にのみ必要です。
指定しない場合、デフォルトの場所は%APPDATA%\\CData\\MSTeams Data Provider\\Schema となり、%APPDATA%はユーザーのコンフィギュレーションディレクトリに設定されます:
| プラットフォーム | %APPDATA% |
| Windows | APPDATA 環境変数の値 |
| Linux | ~/.config |
レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
利用可能なデータベーススキーマをすべてリストすると余分な時間がかかり、パフォーマンスが低下します。 接続文字列にスキーマのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
レポートされるテーブルを利用可能なすべてのテーブルのサブセットに制限するオプション設定。例えば、 Tables=TableA,TableB,TableC です。
データベースによっては、利用可能なすべてのテーブルをリストするのに時間がかかり、パフォーマンスが低下する場合があります。 接続文字列にテーブルのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
利用可能なテーブルがたくさんあり、すでに作業したいテーブルが決まっている場合、このプロパティを使用して対象のテーブルのみに表示を制限することができます。これを行うには、カンマ区切りのリストで使用したいテーブルを指定します。各テーブルは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Tables=TableA,[TableB/WithSlash],WithCatalog.WithSchema.`TableC With Space` です。
Note:複数のスキーマまたはカタログを持つデータソースに接続する場合は、表示する各テーブルを完全修飾名で指定する必要があります。これにより、複数のカタログやスキーマに存在するテーブルが混同されることを防ぎます。
レポートされたビューを使用可能なテーブルのサブセットに制限するオプション設定。例えば、 Views=ViewA,ViewB,ViewC です。
データベースによっては、利用可能なすべてのビューをリストするのに時間がかかり、パフォーマンスが低下する場合があります。 接続文字列にビューのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
利用可能なビューがたくさんあり、すでに作業したいビューが決まっている場合、このプロパティを使用して対象のビューのみに表示を制限することができます。これを行うには、カンマ区切りのリストで使用したいビューを指定します。各ビューは、角かっこ、二重引用符、またはバッククオートを使用してエスケープされた特殊文字列を含む有効なSQL 識別子である必要があります。 例えば、Views=ViewA,[ViewB/WithSlash],WithCatalog.WithSchema.`ViewC With Space` です。
Note:複数のスキーマまたはカタログを持つデータソースに接続する場合は、確認する各ビューを完全修飾名で指定する必要があります。これにより、複数のカタログやスキーマに存在するビューが混同されることを防ぎます。
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
| プロパティ | 説明 |
| DefaultGroups | Determines whether to use the /me/memberOf or /groups endpoint for user authentication. |
| DefaultUser | Determines whether to use the /me or /users endpoint for user authentication. |
| GroupId | Specify a default GroupId. |
| IncludeAllGroups | Specifies whether the provider returns all Microsoft 365 Groups in your organization or only those the authenticated user is a member of. |
| MaxRows | 集計やGROUP BY を含まないクエリで返される最大行数を指定します。 |
| Other | 特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。 |
| Pagesize | Specifies the maximum number of records the provider retrieves per page when querying Microsoft Teams data. |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。 |
| UserDefinedViews | カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。 |
| UserId | Specify a default UserId. |
Determines whether to use the /me/memberOf or /groups endpoint for user authentication.
Determines whether to use the /me/memberOf or /groups endpoint for user authentication.
Supported values are:
Determines whether to use the /me or /users endpoint for user authentication.
Determines whether to use the /me or /users endpoint for user authentication.
Supported values are:
Specify a default GroupId.
Specify a default GroupId.
Specifies whether the provider returns all Microsoft 365 Groups in your organization or only those the authenticated user is a member of.
This property determines whether the Sync App lists all Microsoft 365 Groups in your organization or only the groups the authenticated user belongs to.
If set to true, the Sync App includes all groups in the result.
If set to false, only groups associated with the logged-in user are returned.
Use this property when your integration or reporting workflow requires access to all groups across your Microsoft 365 tenant.
集計やGROUP BY を含まないクエリで返される最大行数を指定します。
このプロパティのデフォルト値である-1 は、クエリに明示的にLIMIT 句が含まれていない限り、行の制限が適用されないことを意味します。 (クエリにLIMIT 句が含まれている場合、クエリで指定された値がMaxRows 設定よりも優先されます。)
MaxRows を0より大きい整数に設定することで、クエリがデフォルトで過度に大きな結果セットを返さないようにします。
このプロパティは、非常に大きなデータセットを返す可能性のあるクエリを実行する際に、パフォーマンスを最適化し、過剰なリソース消費を防ぐのに役立ちます。
特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。
このプロパティにより、シニアユーザーはサポートチームのアドバイスに基づいて、特定の状況に対応する隠しプロパティを設定できます。 これらの設定は通常のユースケースには必要ありませんが、特定の要件に対応したり、追加の機能を提供したりすることができます。 複数のプロパティを定義するには、セミコロンで区切られたリストを使用します。
Note:特定のシナリオや問題に対処するためにサポートチームから助言があった場合にのみ、これらのプロパティを設定することを強く推奨します。
| プロパティ | 説明 |
| DefaultColumnSize | データソースがメタデータにカラムの長さを提供しない場合に、文字列フィールドのデフォルトの長さを設定します。デフォルト値は2000です。 |
| ConvertDateTimeToGMT=True | 日時の値を、マシンのローカルタイムではなくGMT グリニッジ標準時に変換します。デフォルト値はFalse(ローカルタイムを使用)です。 |
| RecordToFile=filename | 基底のソケットデータ転送を指定のファイルに記録します。 |
Specifies the maximum number of records the provider retrieves per page when querying Microsoft Teams data.
This property sets the number of records returned per page when the Sync App retrieves data from Microsoft Teams.
It only applies to the Users view and Groups table.
Set this property if you need to control client-side paging behavior. On fast servers, increasing the page size can improve performance by reducing the number of requests sent to the API.
テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。
このプロパティを使用すると、Sync App がテーブルカラムとして公開する擬似カラムを定義できます。
個々の擬似カラムを指定するには、以下の形式を使用します。
Table1=Column1;Table1=Column2;Table2=Column3
すべてのテーブルのすべての擬似カラムを含めるには、次を使用してください:
*=*
provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。
タイムアウトは、クエリや操作全体ではなくサーバーとの個々の通信に適用されます。 例えば、各ページング呼び出しがタイムアウト制限内に完了する場合、クエリは60秒を超えて実行を続けることができます。
タイムアウトはデフォルトで60秒に設定されています。タイムアウトを無効にするには、このプロパティを0に設定します。
タイムアウトを無効にすると、操作が成功するか、サーバー側のタイムアウト、ネットワークの中断、またはサーバーのリソース制限などの他の条件で失敗するまで無期限に実行されます。
Note: このプロパティは慎重に使用してください。長時間実行される操作がパフォーマンスを低下させたり、応答しなくなる可能性があるためです。
カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。
UserDefinedViews を使用すると、UserDefinedViews.json というJSON 形式の構成ファイルを通じてカスタムビューを定義および管理できます。 これらのビューはSync App によって自動的に認識され、標準のデータベースビューのようにカスタムSQL クエリを実行できるようになります。 JSON ファイルは、各ビューをルート要素として定義し、その子要素として"query" を持ちます。この"query" にはビューのSQL クエリが含まれています。
次に例を示します。
{
"MyView": {
"query": "SELECT * FROM Teams WHERE MyColumn = 'value'"
},
"MyView2": {
"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
}
}
このプロパティを使用して、1つのファイルに複数のビューを定義し、ファイルパスを指定できます。
次に例を示します。
UserDefinedViews=C:\Path\To\UserDefinedViews.jsonUserDefinedViews でビューを指定すると、Sync App はそのビューだけを参照します。
詳しくは、ユーザー定義ビュー を参照してください。
Specify a default UserId.
Specify a default UserId.
LZMA from 7Zip LZMA SDK
LZMA SDK is placed in the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or distribute the original LZMA SDK code, either in source code form or as a compiled binary, for any purpose, commercial or non-commercial, and by any means.
LZMA2 from XZ SDK
Version 1.9 and older are in the public domain.
Xamarin.Forms
Xamarin SDK
The MIT License (MIT)
Copyright (c) .NET Foundation Contributors
All rights reserved.
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
NSIS 3.10
Copyright (C) 1999-2025 Contributors THE ACCOMPANYING PROGRAM IS PROVIDED UNDER THE TERMS OF THIS COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THE PROGRAM CONSTITUTES RECIPIENT'S ACCEPTANCE OF THIS AGREEMENT.
1. DEFINITIONS
"Contribution" means:
a) in the case of the initial Contributor, the initial code and documentation distributed under this Agreement, and b) in the case of each subsequent Contributor:
i) changes to the Program, and
ii) additions to the Program;
where such changes and/or additions to the Program originate from and are distributed by that particular Contributor. A Contribution 'originates' from a Contributor if it was added to the Program by such Contributor itself or anyone acting on such Contributor's behalf. Contributions do not include additions to the Program which: (i) are separate modules of software distributed in conjunction with the Program under their own license agreement, and (ii) are not derivative works of the Program.
"Contributor" means any person or entity that distributes the Program.
"Licensed Patents " mean patent claims licensable by a Contributor which are necessarily infringed by the use or sale of its Contribution alone or when combined with the Program.
"Program" means the Contributions distributed in accordance with this Agreement.
"Recipient" means anyone who receives the Program under this Agreement, including all Contributors.
2. GRANT OF RIGHTS
a) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free copyright license to reproduce, prepare derivative works of, publicly display, publicly perform, distribute and sublicense the Contribution of such Contributor, if any, and such derivative works, in source code and object code form.
b) Subject to the terms of this Agreement, each Contributor hereby grants Recipient a non-exclusive, worldwide, royalty-free patent license under Licensed Patents to make, use, sell, offer to sell, import and otherwise transfer the Contribution of such Contributor, if any, in source code and object code form. This patent license shall apply to the combination of the Contribution and the Program if, at the time the Contribution is added by the Contributor, such addition of the Contribution causes such combination to be covered by the Licensed Patents. The patent license shall not apply to any other combinations which include the Contribution. No hardware per se is licensed hereunder.
c) Recipient understands that although each Contributor grants the licenses to its Contributions set forth herein, no assurances are provided by any Contributor that the Program does not infringe the patent or other intellectual property rights of any other entity. Each Contributor disclaims any liability to Recipient for claims brought by any other entity based on infringement of intellectual property rights or otherwise. As a condition to exercising the rights and licenses granted hereunder, each Recipient hereby assumes sole responsibility to secure any other intellectual property rights needed, if any. For example, if a third party patent license is required to allow Recipient to distribute the Program, it is Recipient's responsibility to acquire that license before distributing the Program.
d) Each Contributor represents that to its knowledge it has sufficient copyright rights in its Contribution, if any, to grant the copyright license set forth in this Agreement.
3. REQUIREMENTS
A Contributor may choose to distribute the Program in object code form under its own license agreement, provided that:
a) it complies with the terms and conditions of this Agreement; and
b) its license agreement:
i) effectively disclaims on behalf of all Contributors all warranties and conditions, express and implied, including warranties or conditions of title and non-infringement, and implied warranties or conditions of merchantability and fitness for a particular purpose;
ii) effectively excludes on behalf of all Contributors all liability for damages, including direct, indirect, special, incidental and consequential damages, such as lost profits;
iii) states that any provisions which differ from this Agreement are offered by that Contributor alone and not by any other party; and
iv) states that source code for the Program is available from such Contributor, and informs licensees how to obtain it in a reasonable manner on or through a medium customarily used for software exchange.
When the Program is made available in source code form:
a) it must be made available under this Agreement; and
b) a copy of this Agreement must be included with each copy of the Program.
Contributors may not remove or alter any copyright notices contained within the Program.
Each Contributor must identify itself as the originator of its Contribution, if any, in a manner that reasonably allows subsequent Recipients to identify the originator of the Contribution.
4. COMMERCIAL DISTRIBUTION
Commercial distributors of software may accept certain responsibilities with respect to end users, business partners and the like. While this license is intended to facilitate the commercial use of the Program, the Contributor who includes the Program in a commercial product offering should do so in a manner which does not create potential liability for other Contributors. Therefore, if a Contributor includes the Program in a commercial product offering, such Contributor ("Commercial Contributor") hereby agrees to defend and indemnify every other Contributor ("Indemnified Contributor") against any losses, damages and costs (collectively "Losses") arising from claims, lawsuits and other legal actions brought by a third party against the Indemnified Contributor to the extent caused by the acts or omissions of such Commercial Contributor in connection with its distribution of the Program in a commercial product offering. The obligations in this section do not apply to any claims or Losses relating to any actual or alleged intellectual property infringement. In order to qualify, an Indemnified Contributor must: a) promptly notify the Commercial Contributor in writing of such claim, and b) allow the Commercial Contributor to control, and cooperate with the Commercial Contributor in, the defense and any related settlement negotiations. The Indemnified Contributor may participate in any such claim at its own expense.
For example, a Contributor might include the Program in a commercial product offering, Product X. That Contributor is then a Commercial Contributor. If that Commercial Contributor then makes performance claims, or offers warranties related to Product X, those performance claims and warranties are such Commercial Contributor's responsibility alone. Under this section, the Commercial Contributor would have to defend claims against the other Contributors related to those performance claims and warranties, and if a court requires any other Contributor to pay any damages as a result, the Commercial Contributor must pay those damages.
5. NO WARRANTY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, THE PROGRAM IS PROVIDED ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED INCLUDING, WITHOUT LIMITATION, ANY WARRANTIES OR CONDITIONS OF TITLE, NON-INFRINGEMENT, MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE. Each Recipient is solely responsible for determining the appropriateness of using and distributing the Program and assumes all risks associated with its exercise of rights under this Agreement, including but not limited to the risks and costs of program errors, compliance with applicable laws, damage to or loss of data, programs or equipment, and unavailability or interruption of operations.
6. DISCLAIMER OF LIABILITY
EXCEPT AS EXPRESSLY SET FORTH IN THIS AGREEMENT, NEITHER RECIPIENT NOR ANY CONTRIBUTORS SHALL HAVE ANY LIABILITY FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING WITHOUT LIMITATION LOST PROFITS), HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OR DISTRIBUTION OF THE PROGRAM OR THE EXERCISE OF ANY RIGHTS GRANTED HEREUNDER, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
7. GENERAL
If any provision of this Agreement is invalid or unenforceable under applicable law, it shall not affect the validity or enforceability of the remainder of the terms of this Agreement, and without further action by the parties hereto, such provision shall be reformed to the minimum extent necessary to make such provision valid and enforceable.
If Recipient institutes patent litigation against a Contributor with respect to a patent applicable to software (including a cross-claim or counterclaim in a lawsuit), then any patent licenses granted by that Contributor to such Recipient under this Agreement shall terminate as of the date such litigation is filed. In addition, if Recipient institutes patent litigation against any entity (including a cross-claim or counterclaim in a lawsuit) alleging that the Program itself (excluding combinations of the Program with other software or hardware) infringes such Recipient's patent(s), then such Recipient's rights granted under Section 2(b) shall terminate as of the date such litigation is filed.
All Recipient's rights under this Agreement shall terminate if it fails to comply with any of the material terms or conditions of this Agreement and does not cure such failure in a reasonable period of time after becoming aware of such noncompliance. If all Recipient's rights under this Agreement terminate, Recipient agrees to cease use and distribution of the Program as soon as reasonably practicable. However, Recipient's obligations under this Agreement and any licenses granted by Recipient relating to the Program shall continue and survive.
Everyone is permitted to copy and distribute copies of this Agreement, but in order to avoid inconsistency the Agreement is copyrighted and may only be modified in the following manner. The Agreement Steward reserves the right to publish new versions (including revisions) of this Agreement from time to time. No one other than the Agreement Steward has the right to modify this Agreement. IBM is the initial Agreement Steward. IBM may assign the responsibility to serve as the Agreement Steward to a suitable separate entity. Each new version of the Agreement will be given a distinguishing version number. The Program (including Contributions) may always be distributed subject to the version of the Agreement under which it was received. In addition, after a new version of the Agreement is published, Contributor may elect to distribute the Program (including its Contributions) under the new version. Except as expressly stated in Sections 2(a) and 2(b) above, Recipient receives no rights or licenses to the intellectual property of any Contributor under this Agreement, whether expressly, by implication, estoppel or otherwise. All rights in the Program not expressly granted under this Agreement are reserved.
This Agreement is governed by the laws of the State of New York and the intellectual property laws of the United States of America. No party to this Agreement will bring a legal action under this Agreement more than one year after the cause of action arose. Each party waives its rights to a jury trial in any resulting litigation.