CData Cloud は、クラウドホスト型のソリューションで、複数の標準サービスやプロトコルにまたがるMicrosoft Planner へのアクセスを実現します。MySQL またはSQL Server データベースに接続できるアプリケーションであれば、CData Cloud を介してMicrosoft Planner に接続できます。
CData Cloud により、他のOData エンドポイントや標準SQL Server / MySQL データベースと同じように、Microsoft Planner への接続を標準化し、構成することができます。
このページでは、CData Cloud でのMicrosoft Planner への接続の確立 のガイド、利用可能なリソースに関する情報、および使用可能な接続プロパティのリファレンスについて説明します。
接続の確立 は、CData Cloud にデータベースを作成するためのMicrosoft Planner への認証方法と必要な接続プロパティの設定方法について示します。
利用可能な標準サービスを経由してMicrosoft Planner からデータにアクセスする方法と、CData Cloud の管理については、CData Cloud ドキュメント で詳しく説明します。
Database タブで対応するアイコンを選択して、Microsoft Planner に接続します。必須プロパティはSettings にリストされています。Advanced タブには、通常は必要ない接続プロパティが表示されます。
Web アプリケーションを介したAzure AD への認証には、 常にカスタムOAuth アプリケーションの作成が必要です。
カスタムOAuthアプリケーションの作成の詳細については、Azure AD アプリケーションの作成 を参照してください。
Azure サービスプリンシパルとしての認証は、OAuth クライアントクレデンシャルフローを介して処理されます。直接のユーザー認証は行われません。代わりに、クレデンシャルはアプリケーション自体のためだけに作成されます。アプリで実行されるすべてのタスクは、デフォルトユーザーコンテキストなしで実行されます。リソースへのアプリケーションのアクセスは、割り当てられたロールの権限によって制御されます。
AzureAD アプリとAzure サービスプリンシパルの作成
Azure サービスプリンシパルを使用して認証する場合、Azure AD テナントにAzure AD アプリケーションを作成して登録する必要があります。詳しくは、Azure AD アプリケーションの作成 を参照してください。
portal.azure.com の[アプリの登録]で[API のアクセス許可]に移動し、Microsoft Graph アクセス許可を選択します。アクセス許可には2つの異なるアクセス許可セットがあります。委任されたアクセス許可とアプリケーションの許可です。クライアントの資格情報認証時に使用されるアクセス許可は、[アプリケーションの許可]の下にあります。
アプリケーションへのロールの割り当て
サブスクリプションのリソースにアクセスするには、アプリケーションにロールを割り当てる必要があります。
クライアントシークレット
次の接続プロパティを設定します。
証明書
次の接続プロパティを設定します。
これで接続する準備が整いました。クライアント資格情報での認証は、他の接続同様に自動的に行われますが、ユーザーにプロンプトするウィンドウは表示されません。ユーザーコンテキストがないため、ブラウザのポップアップは必要ないからです。接続が行われ、内部的に処理されます。
Azure VM 上でMicrosoft Planner を実行しており、マネージドID(MSI)認証情報を自動的に取得して接続したい場合は、AuthScheme を AzureMSI に設定します。
VM に複数のユーザーが割り当てられたマネージドID がある場合は、OAuthClientId も指定する必要があります。
デフォルトでは、Cloud はサーバーとのTLS のネゴシエーションを試みます。サーバー証明書は、デフォルトのシステム信頼済み証明書ストアで検証されます。SSLServerCert 接続プロパティを使用して、証明書の検証方法をオーバーライドできます。
別の証明書を指定するには、SSLServerCert 接続プロパティを参照してください。
HTTP プロキシへの認証には、以下のように設定します。
次のプロパティを設定します。
Cloud はtasks、plans、およびbuckets などのMicrosoft Planner データをリレーショナルテーブルとしてモデル化し、SQL を記述してMicrosoft Planner データをクエリおよび変更できるようにします。これらのオブジェクトへのライブ接続により、Microsoft Planner アカウントへのあらゆる変更はCloud によって公開される接続に即座に反映されます。
テーブル セクションには標準SQL テーブルの詳細が、ビュー セクションには読み取り専用SQL テーブルの一覧が記載されています。これらには、Microsoft Planner アカウントでのアクセスを想定したサンプルが含まれています。
以下のテーブルおよびビューはCloud に同梱されています。
| テーブル | 説明 |
| Buckets | Defines custom columns for tasks, allowing users to categorize work into phases, task types, or departments for better organization. |
| PlanDetails | Stores metadata and additional settings related to a specific plan, enhancing its customization and management. |
| Plans | Represents individual plans, each associated with a group, to organize and track project-related tasks. |
| TaskDetails | Holds detailed information for tasks, including attributes such as priority, due dates, and custom fields. |
| Tasks | Manages individual tasks, providing functionality for planning, assigning, and tracking initiatives across various projects. |
| Groups | Represents the groups created automatically when a new plan is initiated, serving as the foundational organizational unit for tasks and plans. |
| TaskAssignments | Provides a unified view of all tasks assigned to various users, aiding in task tracking and accountability. |
| TaskComments | Captures discussions, notes, and comments related to tasks within a plan, fostering collaboration and communication. |
| Users | Tracks user-specific task views and preferences, enabling personalized task management experiences. |
Cloud はMicrosoft Planner のデータを、標準のSQL ステートメントを使用してクエリできるリレーショナルデータベースのテーブルのリストとしてモデル化します。
| Name | Description |
| Buckets | Defines custom columns for tasks, allowing users to categorize work into phases, task types, or departments for better organization. |
| PlanDetails | Stores metadata and additional settings related to a specific plan, enhancing its customization and management. |
| Plans | Represents individual plans, each associated with a group, to organize and track project-related tasks. |
| TaskDetails | Holds detailed information for tasks, including attributes such as priority, due dates, and custom fields. |
| Tasks | Manages individual tasks, providing functionality for planning, assigning, and tracking initiatives across various projects. |
Defines custom columns for tasks, allowing users to categorize work into phases, task types, or departments for better organization.
The Cloud will use the Microsoft Planner API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM Buckets WHERE PlanId = 'nETc1IDpYk3r3e317w8TxGmUAGFWC' SELECT * FROM Buckets WHERE BucketId = 'qIguxctMLEGHYhmgSVGSNGUAAZOZ'
Required fields for an insert are: name and planId.
Optional: orderHint.
INSERT INTO Buckets (Name, PlanId) VALUES ('Advertising', 'xqQg5FS2LkCp935s-FIFm2QAFkHM')
INSERT INTO Buckets (Name, PlanId, orderHint) VALUES ('Advertising', 'xqQg5FS2LkCp935s-FIFm2QAFkHM', ' !')
Microsoft Planner allows updates for the name and orderHint columns.
UPDATE Buckets SET Name = 'To do', orderHint = ' !' WHERE BucketId = 'rWpNKGmHukm84GaiDF_ZL2UAOlMj'
Buckets can be deleted by providing BucketId.
DELETE FROM Buckets WHERE BucketId = 'yHiJQjZK0kGVt4flhItk0mUANJwN'
| Name | Type | ReadOnly | Description |
| BucketId [KEY] | String | False |
A globally unique identifier assigned to each bucket, used for referencing and managing the bucket. |
| name | String | False |
The descriptive name assigned to the bucket, typically used to categorize or label tasks. |
| orderHint | String | False |
A value used to determine the order of buckets in a list view, ensuring a user-defined sequence. |
| planId | String | False |
The unique identifier of the plan to which the bucket belongs links it to a specific project or context. |
| Etag | String | False |
A unique value that identifies the current version of the bucket resource is used for concurrency control and updates. |
Stores metadata and additional settings related to a specific plan, enhancing its customization and management.
The Cloud will use the Microsoft Planner API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM PlanDetails WHERE planId = 'nETc1IDpYkmb1E17w8TxGmUAGFWC'
INSERT is not supported for this table.
Microsoft Planner allows updates for the title, bucketId, percentComplete, assigneePriority, conversationThreadId, orderHint, dueDateTime and startDateTime columns.
UPDATE PlanDetails SET categoryDescriptions_category1 = 'Cat#1', categoryDescriptions_category2 = 'Cat#2', categoryDescriptions_category3 = 'Cat#3', categoryDescriptions_category4 = 'Cat#4', categoryDescriptions_category5 = 'Cat#5', categoryDescriptions_category6 = 'Cat#6' WHERE PlanId = 'nETc1IDpYkmb1E17w8TxGmUAGFWC'
Delete is not supported for this table.
| Name | Type | ReadOnly | Description |
| PlanId [KEY] | String | False |
Unique identifier for the plan, used to distinguish it from other plans in the system. |
| categoryDescriptions_category1 | String | False |
Indicates if the task is associated with the pink category, commonly used for color-coded task organization. |
| categoryDescriptions_category10 | String | False |
Indicates if the task is associated with the gray category. |
| categoryDescriptions_category11 | String | False |
Indicates if the task is associated with the silver category. |
| categoryDescriptions_category12 | String | False |
Indicates if the task is associated with the brown category. |
| categoryDescriptions_category13 | String | False |
Indicates if the task is associated with the cranberry category. |
| categoryDescriptions_category14 | String | False |
Indicates if the task is associated with the orange category. |
| categoryDescriptions_category15 | String | False |
Indicates if the task is associated with the peach category. |
| categoryDescriptions_category16 | String | False |
Indicates if the task is associated with the marigold category. |
| categoryDescriptions_category17 | String | False |
Indicates if the task is associated with the light green category. |
| categoryDescriptions_category18 | String | False |
Indicates if the task is associated with the dark green category. |
| categoryDescriptions_category19 | String | False |
Indicates if the task is associated with the teal category. |
| categoryDescriptions_category2 | String | False |
Indicates if the task is associated with the red category, often symbolizing high-priority or critical tasks. |
| categoryDescriptions_category20 | String | False |
Indicates if the task is associated with the light blue category. |
| categoryDescriptions_category21 | String | False |
Indicates if the task is associated with the dark blue category. |
| categoryDescriptions_category22 | String | False |
Indicates if the task is associated with the lavender category. |
| categoryDescriptions_category23 | String | False |
Indicates if the task is associated with the plum category. |
| categoryDescriptions_category24 | String | False |
Indicates if the task is associated with the light gray category. |
| categoryDescriptions_category25 | String | False |
Indicates if the task is associated with the dark gray category. |
| categoryDescriptions_category3 | String | False |
Indicates if the task is associated with the yellow category, often symbolizing caution or tasks requiring attention. |
| categoryDescriptions_category4 | String | False |
Indicates if the task is associated with the green category, commonly used for tasks signaling progress or success. |
| categoryDescriptions_category5 | String | False |
Indicates if the task is associated with the blue category, often representing trust or stability. |
| categoryDescriptions_category6 | String | False |
Indicates if the task is associated with the purple category, typically used for strategic or creative tasks. |
| categoryDescriptions_category7 | String | False |
Indicates if the task is associated with the bronze category. |
| categoryDescriptions_category8 | String | False |
Indicates if the task is associated with the lime category. |
| categoryDescriptions_category9 | String | False |
Indicates if the task is associated with the aqua category. |
| sharedWith | String | False |
Lists the files or entities with which the plan is shared, enabling collaboration and visibility. |
Represents individual plans, each associated with a group, to organize and track project-related tasks.
The Cloud will use the Microsoft Planner API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
If Scope = NoAdminConsent, List the data related to the groups that the user is a member of.
If Scope = AdminConsent, List all the data related to groups.
For example, the following query is processed server side:
SELECT * FROM Plans WHERE PlanId = 'nETc1IDpYk3r3e317w8TxGmUAGFWC'
Required fields for an insert are: title and owner.
INSERT INTO Plans (title, owner) VALUES ('Plan#5', 'acc24236-0d62-4d30-9a7f-98cfbcd3a6e7')
Microsoft Planner allows updates for the title and owner columns.
UPDATE Plans SET title = 'Plan#1' WHERE PlanId = 'nETc1IDpYkmb1E17c4TxGmUAGFWC'
| Name | Type | ReadOnly | Description |
| PlanId [KEY] | String | False |
A globally unique identifier (GUID) representing the specific plan within the system. |
| container_containerId | String | False |
The unique identifier of the container, such as a group or team, that hosts the plan. |
| container_type | String | False |
Indicates the type of resource (for example, group, team) that serves as the container for this plan. |
| container_url | String | False |
A URL that provides a direct reference to the container of the plan, enabling easy access or navigation. |
| createdBy_application_displayName | String | False |
The display name of the application or user that initiated the creation of this plan. |
| createdBy_application_id | String | False |
The unique identifier (ID) of the application or user responsible for creating the plan. |
| createdDateTime | Datetime | False |
The exact date and time when the plan was created, recorded in ISO 8601 format. |
| owner | String | False |
The unique identifier of the group or entity that owns and manages the plan. |
| title | String | False |
The descriptive name or title assigned to the plan for identification and categorization. |
| details_id | String | True |
A unique identifier linking to the details or metadata associated with the plan. |
| GroupId | String | False |
The unique identifier for the group associated with this plan, often used for permissions and ownership. |
| Etag | String | False |
A version control token used to track changes and ensure consistency for this resource. |
Holds detailed information for tasks, including attributes such as priority, due dates, and custom fields.
The Cloud will use the Microsoft Planner API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM TaskDetails WHERE TaskId = '7POTl5DUfkOsgzptPrzdzGUAHy1z'
INSERT is not supported for this table.
Microsoft Planner allows updates for the title, bucketId, percentComplete, assigneePriority, conversationThreadId, orderHint, dueDateTime and startDateTime columns.
UPDATE TaskDetails SET Description = 'Task description', previewType = 'reference' WHERE TaskId = '7POTl5DUfkOsgzptPrzdzGUAHy1z'
Delete is not supported for this table.
| Name | Type | ReadOnly | Description |
| CheckListId [KEY] | String | False |
A unique identifier for the checklist, ensuring each checklist can be individually distinguished. |
| TaskId [KEY] | String | False |
A unique identifier for the task associated with the checklist, linking it to its parent task. |
| isChecked | Bool | False |
Indicates whether the checklist item is marked as completed (true) or pending (false). |
| checklist_lastModifiedBy_application_displayName | String | False |
The display name of the application that last modified the checklist, providing traceability. |
| checklist_lastModifiedBy_application_id | String | False |
The unique identifier of the application responsible for the last modification of the checklist, aiding in tracking changes. |
| lastModifiedDateTime | Datetime | False |
The timestamp representing the most recent modification to the checklist, enabling version tracking. |
| orderHint | String | False |
A hint value used to define the display order of checklist items relative to one another. |
| title | String | False |
The title or name of the checklist item, summarizing its purpose or content. |
| description | String | False |
A detailed description of the task, offering additional context or instructions. |
| previewType | String | False |
Defines the type of preview displayed for the task, such as an image, link, or other content type. |
| references | String | False |
A collection of related references or external resources linked to the task. |
| PlanId | String | False |
A unique identifier for the plan to which the task belongs, ensuring proper association. |
Manages individual tasks, providing functionality for planning, assigning, and tracking initiatives across various projects.
The Cloud will use the Microsoft Planner API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client side within the Cloud.
For example, the following queries are processed server side:
SELECT * FROM Tasks WHERE TaskId = 'BCrvyMoiLEafem-3RxIESmUAHbLK' SELECT * FROM Tasks WHERE PlanId = 'nETc1IDpYk3r3e317w8TxGmUAGFWC' SELECT * FROM Tasks WHERE UserId = '92dfdfc6-f1d4-4965-9f71-30e4da4fa7fe' SELECT * FROM Tasks WHERE BucketId = 'qIguxctMLEGHYhmgSVGSNGUAAZOZ'
Required fields for an insert are: title and planId.
Optional: bucketId.
INSERT INTO Tasks (title, planId) VALUES ('test44', 'nETc1IDpYkmb1E17w8TxGmUAGFWC')
INSERT INTO Tasks (title, planId, bucketId) VALUES ('test44', 'nETc1IDpYkmb1E17w8TxGmUAGFWC', 'ZfzKVriNQ0yzR4IqJp-8FWUADq0Y')
Microsoft Planner allows updates for the title, bucketId, percentComplete, assigneePriority, conversationThreadId, orderHint, dueDateTime and startDateTime columns.
UPDATE Tasks SET assigneePriority = '8377555 94446!', bucketId = 'rWpNKGmHukm84GaiDF_ZL2UAOlMj', conversationThreadId = 'AAQkADlmMzE1ZGIzLWY3OTctNDcyMy1iYmNlLWNlZmNlZTc5', dueDateTime = '2019-09-30T14:49:23', orderHint = '343d 454fd!', startDateTime = '2019-07-31T14:49:23.269', title = 'updatedTask', percentComplete = '35' WHERE TaskId = '7POTl5DUfkOsgzptPrzdzGUAHy1z'
Tasks can be deleted by providing TaskId.
DELETE FROM Tasks WHERE TaskId = 'BCrvyMoiLEafem-3RxIESmUAHbLK'
| Name | Type | ReadOnly | Description |
| TaskId [KEY] | String | False |
A unique identifier assigned to each task, ensuring it can be distinctly referenced. |
| activeChecklistItemCount | Int | False |
The count of checklist items associated with the task that are not marked as completed. |
| appliedCategories | String | False |
A list of categories or tags that have been applied to this task for organizational purposes. |
| assigneePriority | String | False |
A priority value used to determine the relative order of tasks in a list view for assignees. |
| assignments | String | False |
A collection representing the users or groups assigned to work on this task. |
| bucketId | String | False |
The unique identifier of the bucket within the plan where this task is grouped. |
| checklistItemCount | Int | False |
The total number of checklist items that are part of this task, including completed and active items. |
| completedBy_application_displayName | String | False |
The display name of the application that marked this task as completed. |
| completedBy_application_id | String | False |
The unique identifier of the application that marked this task as completed. |
| completedDateTime | Datetime | False |
The exact date and time when the task was marked as completed. |
| conversationThreadId | String | False |
The identifier of the conversation thread linked to this task, if applicable. |
| createdBy_application_displayName | String | False |
The display name of the application that created this task. |
| createdBy_application_id | String | False |
The unique identifier of the application that created this task. |
| createdDateTime | Datetime | False |
The date and time when the task was created. |
| dueDateTime | Datetime | False |
The deadline date and time by which the task should be completed. |
| hasDescription | Bool | False |
Indicates whether the task contains a detailed description (true) or not (false). |
| orderHint | String | False |
A hint value used to determine the task's order relative to others in its list or view. |
| percentComplete | Int | False |
The percentage indicating the extent to which the task has been completed. |
| planId | String | False |
The unique identifier of the plan that this task belongs to. |
| previewType | String | False |
Defines the type of visual preview (for example, image, document) displayed on the task. |
| priority | Int | False |
An integer value representing the priority level of the task, with lower values indicating higher priority. |
| referenceCount | Int | False |
The total count of external references, such as links or documents, associated with this task. |
| startDateTime | Datetime | False |
The scheduled start date and time for this task. |
| title | String | False |
The descriptive title or name of the task. |
| assignedToTaskBoardFormat_id | String | True |
A unique identifier used for rendering the task in task board views when grouped by assignees. |
| bucketTaskBoardFormat_id | String | True |
A unique identifier used for rendering the task in task board views when grouped by buckets. |
| details_id | String | True |
The identifier for additional details associated with this task. |
| progressTaskBoardFormat_id | String | True |
A unique identifier used for rendering the task in task board views when grouped by progress status. |
| UserId | String | False |
The unique identifier of the user associated with this task. |
| Etag | String | False |
An identifier for the specific version of the task resource, used for tracking changes. |
| GroupId | String | False |
The unique identifier of the group associated with this task. |
ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。
クエリは、ビューに対して通常のテーブルと同様に実行することができます。
| Name | Description |
| Groups | Represents the groups created automatically when a new plan is initiated, serving as the foundational organizational unit for tasks and plans. |
| TaskAssignments | Provides a unified view of all tasks assigned to various users, aiding in task tracking and accountability. |
| TaskComments | Captures discussions, notes, and comments related to tasks within a plan, fostering collaboration and communication. |
| Users | Tracks user-specific task views and preferences, enabling personalized task management experiences. |
Represents the groups created automatically when a new plan is initiated, serving as the foundational organizational unit for tasks and plans.
The Cloud uses the Microsoft Planner API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client-side within the Cloud.
If Scope = NoAdminConsent: Lists data related to the groups that the user is a member of.
If Scope = AdminConsent: Lists all data related to groups.
For example, the following query is processed server-side:
SELECT * FROM Groups WHERE Id = 'nETc1IDpYkmb1E17w8TxGmUAGFWC'
| Name | Type | Description |
| Id [KEY] | String | A unique identifier for the group, used as a primary key across systems. |
| deletedDateTime | Datetime | The timestamp indicating when the group was deleted, if applicable. |
| allowExternalSenders | Bool | Specifies whether individuals outside the organization can send messages to the group. |
| assignedLabels | String | A list of sensitivity label pairs applied to the group for classification and compliance. |
| assignedLicenses | String | A list of licenses assigned to the group, specifying its entitlements. |
| autoSubscribeNewMembers | Bool | Indicates whether new members are automatically subscribed to receive group email notifications. |
| classification | String | Defines the classification level for the group, such as confidential or public. |
| createdDateTime | Datetime | The date and time when the group was created. |
| description | String | An optional text description providing additional context about the group's purpose. |
| displayName | String | The display name of the group, commonly shown in user interfaces. |
| expirationDateTime | Datetime | The date and time when the group is set to expire, if applicable. |
| groupTypes | String | Indicates the type of group (for example, security or Microsoft 365) and its membership type. |
| hasMembersWithLicenseErrors | Bool | Indicates whether any members have licensing errors due to group-based license assignments. |
| hideFromAddressLists | Bool | Indicates whether the group is hidden from address lists in the organization. |
| hideFromOutlookClients | Bool | Specifies if the group is hidden from being displayed in Outlook clients. |
| isArchived | Bool | Indicates if the group is archived, typically for read-only access in associated teams. |
| isAssignableToRole | Bool | Specifies whether the group can be assigned to roles in Microsoft Entra (formerly Azure AD). |
| isSubscribedByMail | Bool | Indicates if the signed-in user is subscribed to receive email conversations from the group. |
| licenseProcessingState_state | String | Represents the current processing state of group-based license assignments. |
| String | The primary email address associated with the group. | |
| mailEnabled | Bool | Specifies whether the group is enabled to send and receive emails. |
| mailNickname | String | The mail alias for the group, often used as part of the email address. |
| membershipRule | String | The dynamic membership rule that defines group membership criteria. |
| membershipRuleProcessingState | String | Indicates whether the dynamic membership rules are actively being processed. |
| onPremisesDomainName | String | The domain name of the group as synchronized from an on-premises directory. |
| onPremisesLastSyncDateTime | Datetime | The date and time of the last synchronization with the on-premises directory. |
| onPremisesNetBiosName | String | The NetBIOS name of the group as synchronized from the on-premises directory. |
| onPremisesProvisioningErrors | String | Details of any provisioning errors encountered during synchronization from the on-premises directory. |
| onPremisesSamAccountName | String | The software asset management (SAM) account name of the group as synchronized from the on-premises directory. |
| onPremisesSecurityIdentifier | String | The security identifier (SID) of the group as synchronized from the on-premises directory. |
| onPremisesSyncEnabled | Bool | Indicates whether the group is actively synced with the on-premises directory. |
| preferredDataLocation | String | The preferred data residency location for the group's content. |
| preferredLanguage | String | The preferred language setting for the group, used for communication and display. |
| proxyAddresses | String | A list of email addresses associated with the group that redirect to the group mailbox. |
| renewedDateTime | Datetime | The timestamp indicating when the group was last renewed. |
| securityEnabled | Bool | Specifies whether the group is a security group used for access control. |
| securityIdentifier | String | The security identifier (SID) uniquely assigned to the group. |
| serviceProvisioningErrors | String | Details of any errors encountered during service provisioning for the group. |
| theme | String | The color theme associated with the group, used in user interfaces. |
| uniqueName | String | A unique identifier or alias that can be used as an alternate key for the group. |
| unseenCount | Int | The number of new posts in conversations since the user last accessed the group. |
| visibility | String | Defines the group's join policy and visibility settings (for example, public or private). |
| calendar_id | String | The unique identifier of the group's calendar. |
| createdOnBehalfOf_id | String | The unique identifier of the user or application that created the group. |
| drive_id | String | The unique identifier of the group's associated drive. |
| onenote_id | String | The unique identifier of the group's OneNote notebook is read-only. |
| photo_id | String | The unique identifier of the group's profile photo. |
| planner_id | String | The unique identifier of the group's associated planner. |
| team_id | String | The unique identifier of the Microsoft Teams entity associated with the group. |
Provides a unified view of all tasks assigned to various users, aiding in task tracking and accountability.
The Cloud uses the Microsoft Planner API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client-side within the Cloud.
If Scope = NoAdminConsent: Lists data related to the groups that the user is a member of.
If Scope = AdminConsent: Lists all data related to groups.
For example, the following queries are processed server-side:
SELECT * FROM TaskAssignments WHERE TaskId = 'BCrvyMoiLEafem-3RxIESmUAHbLK'
SELECT * FROM TaskAssignments WHERE PlanId = 'nETc1IDpYk3r3e317w8TxGmUAGFWC'
SELECT * FROM TaskAssignments WHERE PlanId IN ('nETc1IDpYk3r3e317w8TxGmUAGFWC', 'v8iK3uCb30C5I_ocMGu3SGUAHQLI', 't2eNwoPxpEqhZs38GwT1HWUADwjN')
SELECT * FROM TaskAssignments WHERE BucketId = 'qIguxctMLEGHYhmgSVGSNGUAAZOZ'
| Name | Type | Description |
| TaskId [KEY] | String | A unique identifier for the task within the system, used to distinguish it from other tasks. |
| PlanId [KEY] | String | A unique identifier for the plan to which this task belongs, linking tasks to their respective plans. |
| BucketId | String | The identifier for the bucket within the plan that organizes tasks into groups or categories. |
| AssignedToUser [KEY] | String | The user ID of the person to whom the task is assigned, indicating responsibility for completing the task. |
| AssignedByUserId | String | The user ID of the person who assigned the task, used for tracking task assignments. |
| AssignedByUserName | String | The name of the person who assigned the task, providing a human-readable reference for the assigner. |
| AssignedDateTime | String | The date and time when the task was assigned, enabling tracking of assignment history. |
| OrderHint | String | A value used to determine the display order of assignees within a task, allowing for prioritized arrangement. |
Captures discussions, notes, and comments related to tasks within a plan, fostering collaboration and communication.
The Cloud uses the Microsoft Planner API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client-side within the Cloud.
If Scope = NoAdminConsent: Lists data related to the groups that the user is a member of.
If Scope = AdminConsent: Lists all data related to groups.
For example, the following queries are processed server-side:
SELECT * FROM TaskComments SELECT * FROM TaskComments WHERE GroupId = '73094928-3786-4246-a0d1-90c' SELECT * FROM TaskComments WHERE ConversationThreadId = 'AAQkADBlMTk2ZmZjLTJlZmYtNGQ0Zi05ZmViLTQwNzM0MWM0NWU5ZAMkABAAWZ7-9ddvEUa7ZFI' SELECT * FROM TaskComments WHERE ConversationThreadId = 'AAQkADBlMTk2ZmZjLTJlZmYtNGQ0Zi05ZmViLTQwNzM0MWM0NWU5ZAMkABAAWZ7-9ddvEUa7ZFI' and GroupId = '73094928-3786-4246-a0d1-90c'
| Name | Type | Description |
| conversationId [KEY] | String | The unique identifier for the conversation associated with the task comment. |
| body_content | String | The main content or message body of the task comment. |
| body_contentType | String | The format type of the content in the message body (for example, plain text, HTML). |
| conversationThreadId | String | The unique identifier for the thread within the conversation. |
| from_emailAddress_address | String | The email address of the individual or entity that sent the message. |
| from_emailAddress_name | String | The display name of the individual or entity that sent the message. |
| hasAttachments | Bool | Indicates whether the task comment includes any attachments. |
| newParticipants | String | A list of new participants added to the conversation. |
| receivedDateTime | Datetime | The timestamp when the message was received, including date and time. |
| sender_emailAddress_address | String | The email address of the sender of the task comment. |
| sender_emailAddress_name | String | The display name of the sender of the task comment. |
| inReplyTo_id | String | The unique identifier of the message to which this comment is replying. |
| GroupId | String | The unique identifier of the group associated with the task comment. |
Tracks user-specific task views and preferences, enabling personalized task management experiences.
The Cloud uses the Microsoft Planner API to process WHERE clause conditions built with the following columns and operators. The rest of the filter is executed client-side within the Cloud.
For example, the following query is processed server-side:
SELECT * FROM Users WHERE UserId = '9523f1-aa0-4fe17-a9w7b-6860618adf'
| Name | Type | Description |
| UserId [KEY] | String | Unique identifier assigned to each user in the system. |
| aboutMe | String | A brief personal description provided by the user, visible in their profile. |
| accountEnabled | Bool | Indicates whether the user's account is active and can be used for sign-in. |
| ageGroup | String | Specifies the age group classification of the user, often for compliance purposes. |
| assignedLicenses | String | A list of licenses assigned to the user, including those inherited through group memberships. |
| assignedPlans | String | Details of service plans that are enabled for the user. |
| authorizationInfo_certificateUserIds | String | A collection of certificate user IDs associated with authorization information for this user. |
| birthday | Datetime | The user's date of birth, if provided. |
| businessPhones | String | The phone numbers listed as business contact numbers for the user. |
| city | String | The city where the user is currently located or associated with. |
| companyName | String | The name of the company or organization the user belongs to. |
| consentProvidedForMinor | String | Indicates whether consent was obtained for processing data related to a minor. |
| country | String | The country or region where the user resides. |
| createdDateTime | Datetime | The timestamp when the user's account was created in the directory. |
| creationType | String | Defines how the user account was created, for example, via manual input, synchronization, or automation. |
| customSecurityAttributes | String | A customizable set of attributes for security-specific configurations assigned to the user. |
| department | String | The department or organizational unit where the user works. |
| deviceEnrollmentLimit | Int | The maximum number of devices the user is allowed to enroll. |
| displayName | String | The name displayed in the organization's address book for this user. |
| employeeHireDate | Datetime | The user's start date in their current role or organization. |
| employeeId | String | A unique identifier assigned to the user by their employer. |
| employeeLeaveDateTime | Datetime | The date and time when the user is expected to leave or has left the organization. |
| employeeOrgData_costCenter | String | The cost center associated with the user's organizational data. |
| employeeOrgData_division | String | The division or sub-unit within the organization associated with the user. |
| employeeType | String | Specifies the user's role type, such as full-time, part-time, or contractor. |
| externalUserState | String | Indicates the status of the invited user's account, for example, pending acceptance. |
| externalUserStateChangeDateTime | Datetime | The last timestamp when the external user state was updated. |
| faxNumber | String | The fax number associated with the user. |
| givenName | String | The user's first name or given name. |
| hireDate | Datetime | The date the user was hired by the organization. |
| identities | String | List of identity options (for example, email or username) the user can use to sign in. |
| imAddresses | String | The user's instant messaging (IM) or Voice over Internet Protocol (VoIP) addresses. |
| interests | String | A list of topics or areas of interest specified by the user. |
| isResourceAccount | Bool | Indicates whether this account is used as a resource account; reserved for future use. |
| jobTitle | String | The user's official job title or role in the organization. |
| lastPasswordChangeDateTime | Datetime | The most recent date and time the user's password was changed or set. |
| legalAgeGroupClassification | String | Defines the user's age group classification for compliance or legal purposes. |
| licenseAssignmentStates | String | Details of the state of license assignments for the user. |
| String | The user's primary email address used for communication. | |
| mailboxSettings_archiveFolder | String | The default folder used for archiving mail items. |
| mailboxSettings_automaticRepliesSetting_externalAudience | String | Specifies the audience for automatic reply messages sent externally. |
| mailboxSettings_automaticRepliesSetting_externalReplyMessage | String | The custom message sent as an automatic reply to external senders. |
| mailboxSettings_automaticRepliesSetting_internalReplyMessage | String | The custom message sent as an automatic reply to internal senders. |
| mailboxSettings_automaticRepliesSetting_scheduledEndDateTime_dateTime | String | The scheduled end date and time for automatic replies. |
| mailboxSettings_automaticRepliesSetting_scheduledEndDateTime_timeZone | String | The time zone for the scheduled end of automatic replies. |
| mailboxSettings_automaticRepliesSetting_status | String | The current status of the automatic replies setting. |
| mailboxSettings_dateFormat | String | The date format preference for the user's mailbox. |
| mailboxSettings_delegateMeetingMessageDeliveryOptions | String | Options for delivery of delegate meeting messages. |
| mailboxSettings_language_displayName | String | The display name for the user's preferred mailbox language. |
| mailboxSettings_language_locale | String | The locale setting for the user's mailbox language. |
| mailboxSettings_timeFormat | String | The preferred time format for the user's mailbox. |
| mailboxSettings_timeZone | String | The time zone associated with the user's mailbox. |
| mailboxSettings_userPurpose | String | The intended purpose of the user's mailbox. |
| mailboxSettings_workingHours_daysOfWeek | String | The days of the week specified as the user's working hours. |
| mailboxSettings_workingHours_endTime | Time | The end time for the user's working hours on a typical day. |
| mailboxSettings_workingHours_startTime | Time | The start time for the user's working hours on a typical day. |
| mailboxSettings_workingHours_timeZone_name | String | The name of the time zone for the user's working hours. |
| mailNickname | String | The email alias or nickname assigned to the user. |
| mobilePhone | String | The user's primary mobile phone number. |
| mySite | String | The URL to the user's personal site or workspace. |
| officeLocation | String | The physical office location associated with the user. |
| onPremisesDistinguishedName | String | The distinguished name (DN) of the user from the on-premises Active Directory. |
| onPremisesDomainName | String | The domain name synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute1 | String | A custom extension attribute synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute10 | String | Custom extension attribute 10 synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute11 | String | Custom extension attribute 11 synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute12 | String | Custom extension attribute 12 synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute13 | String | Custom extension attribute 13 synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute14 | String | Custom extension attribute 14 synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute15 | String | Custom extension attribute 15 synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute2 | String | Custom extension attribute 2 synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute3 | String | Custom extension attribute 3 synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute4 | String | Custom extension attribute 4 synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute5 | String | Custom extension attribute 5 synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute6 | String | Custom extension attribute 6 synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute7 | String | Custom extension attribute 7 synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute8 | String | Custom extension attribute 8 synchronized from the on-premises directory. |
| onPremisesExtensionAttributes_extensionAttribute9 | String | Custom extension attribute 9 synchronized from the on-premises directory. |
| onPremisesImmutableId | String | An identifier used to associate the on-premises directory user with their cloud account. |
| onPremisesLastSyncDateTime | Datetime | The last date and time the user account was synchronized with the on-premises directory. |
| onPremisesProvisioningErrors | String | A record of errors encountered during on-premises synchronization. |
| onPremisesSamAccountName | String | The SAM account name synchronized from the on-premises directory. |
| onPremisesSecurityIdentifier | String | The security identifier (SID) for the user synchronized from on-premises. |
| onPremisesSyncEnabled | Bool | Indicates whether the user account is currently being synchronized with an on-premises directory. |
| onPremisesUserPrincipalName | String | The userPrincipalName synchronized from the on-premises directory. |
| otherMails | String | A list of alternate email addresses associated with the user. |
| passwordPolicies | String | Defines the password policies applied to the user, such as expiration rules. |
| 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 with multi-factor authentication. |
| passwordProfile_password | String | The user's password details stored in the password profile. |
| pastProjects | String | A list of past projects the user has worked on. |
| postalCode | String | The postal code for the user's mailing address. |
| preferredDataLocation | String | The preferred geographic location for the user's data. |
| preferredLanguage | String | The user's preferred language for communication and system settings. |
| preferredName | String | The name the user prefers to be addressed by. |
| provisionedPlans | String | The plans that have been provisioned and activated for the user. |
| proxyAddresses | String | A list of email addresses and aliases associated with the user. |
| responsibilities | String | A list of tasks or duties assigned to the user. |
| schools | String | A list of schools or educational institutions attended by the user. |
| securityIdentifier | String | The unique security identifier (SID) assigned to the user. |
| serviceProvisioningErrors | String | Details of any service-specific errors encountered during provisioning. |
| showInAddressList | Bool | Specifies whether the user appears in the organization's address list. |
| signInActivity_lastNonInteractiveSignInDateTime | Datetime | The timestamp of the user's most recent non-interactive sign-in. |
| signInActivity_lastNonInteractiveSignInRequestId | String | The ID of the request for the last non-interactive sign-in. |
| signInActivity_lastSignInDateTime | Datetime | The timestamp of the user's most recent interactive sign-in. |
| signInActivity_lastSignInRequestId | String | The ID of the request for the last interactive sign-in. |
| signInSessionsValidFromDateTime | Datetime | Indicates that all tokens issued before this time are invalid. |
| skills | String | A list of skills or expertise provided by the user. |
| state | String | The state or province of the user's address. |
| streetAddress | String | The street address of the user's location. |
| surname | String | The user's last name or family name. |
| usageLocation | String | The two-letter country code indicating the user's location, often required for licensing. |
| userPrincipalName | String | The user's principal name used for sign-in (for example, email address). |
| userType | String | A classification of the user type, such as member or guest. |
| authentication_id | String | The unique identifier for the user's authentication details. |
| calendar_id | String | The identifier for the user's calendar. |
| cloudClipboard_id | String | The identifier for the user's cloud clipboard service. |
| drive_id | String | The identifier for the user's OneDrive storage. |
| employeeExperience_id | String | The identifier for the user's employee experience profile. |
| inferenceClassification_id | String | The identifier for the classification used for managing the relevance of the user's email messages. |
| insights_id | String | The identifier for the relationships between the user and other items. |
| manager_id | String | The identifier for the user's manager in the directory. |
| onenote_id | String | The identifier for the user's OneNote notebook. |
| outlook_id | String | The identifier for the user's Outlook profile. |
| photo_id | String | The identifier for the user's profile photo. |
| planner_id | String | The identifier for the user's Microsoft Planner. |
| presence_id | String | The identifier representing the user's presence status. |
| settings_id | String | The identifier for the user's settings profile. |
| teamwork_id | String | The identifier for the user's collaboration profile. |
| todo_id | String | The identifier for the user's Microsoft To-Do service. |
ストアドプロシージャはファンクションライクなインターフェースで、Microsoft Planner の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずCloud の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにMicrosoft Planner から関連するレスポンスデータを返します。
| Name | Description |
| GetAdminConsentURL | Generates the URL required for an admin to grant your application access to an organization's domain. Necessary for custom OAuth configurations. |
| UpdateAssignedToTaskBoardTaskFormat | Formats and displays tasks in the 'Assigned To' view of the Task Board, organizing them by the users responsible for each task. |
| UpdateBucketTaskBoardFormat | Formats and displays tasks in the 'Buckets' view of the Task Board, showing tasks grouped by their designated bucket categories. |
| UpdateProgressTaskBoardFormat | Formats and displays tasks in the 'Progress' view of the Task Board, arranging them by their completion status (for example, Not Started, In Progress, Complete). |
Generates the URL required for an admin to grant your application access to an organization's domain. Necessary for custom OAuth configurations.
| Name | Type | Required | Description |
| CallbackUrl | String | False | The redirect URL to which Microsoft Entra (formerly Azure AD) will send the user after they authorize your application. Ensure this matches the Reply URL specified in your Azure AD app settings to avoid authorization errors. |
| State | String | False | A unique string used to maintain state between the authorization request and callback. This is typically used for mitigating cross-site request forgery (CSRF) attacks. |
| Scope | String | False | A list of space-separated permissions requested by the application. The default permissions include 'offline_access' for refresh tokens and specific Microsoft Graph API permissions for group and user data. |
| Name | Type | Description |
| URL | String | The generated authorization URL to be entered into a web browser, allowing the admin to grant consent and authorize your application. |
Formats and displays tasks in the 'Assigned To' view of the Task Board, organizing them by the users responsible for each task.
| Name | Type | Required | Description |
| TaskId | String | True | The unique identifier of the task being updated in the task board format. |
| UserId | String | True | The unique identifier of the user being assigned to the task. |
| OrderHint | String | True | A string used to determine the position of the task within the task board. |
Formats and displays tasks in the 'Buckets' view of the Task Board, showing tasks grouped by their designated bucket categories.
| Name | Type | Required | Description |
| TaskId | String | True | The unique identifier for the task to be updated. |
| OrderHint | String | True | A hint used to determine the task's position in the task board, typically for sorting or ordering purposes. |
Formats and displays tasks in the 'Progress' view of the Task Board, arranging them by their completion status (for example, Not Started, In Progress, Complete).
| Name | Type | Required | Description |
| TaskId | String | True | The unique identifier for the task to be updated. Typically a globally unique identifier (GUID) or primary key. |
| OrderHint | String | True | A hint indicating the order or position of the task on the task board. Used for sorting or display purposes. |
このセクションで説明されているシステムテーブルをクエリして、スキーマ情報、データソース機能に関する情報、およびバッチ操作の統計にアクセスできます。
以下のテーブルは、Microsoft Planner のデータベースメタデータを返します。
以下のテーブルは、データソースへの接続方法およびクエリ方法についての情報を返します。
次のテーブルは、データ変更クエリのクエリ統計を返します。
利用可能なデータベースをリストします。
次のクエリは、接続文字列で決定されるすべてのデータベースを取得します。
SELECT * FROM sys_catalogs
| Name | Type | Description |
| CatalogName | String | データベース名。 |
利用可能なスキーマをリストします。
次のクエリは、すべての利用可能なスキーマを取得します。
SELECT * FROM sys_schemas
| Name | Type | Description |
| CatalogName | String | データベース名。 |
| SchemaName | String | スキーマ名。 |
利用可能なテーブルをリストします。
次のクエリは、利用可能なテーブルおよびビューを取得します。
SELECT * FROM sys_tables
| Name | Type | Description |
| CatalogName | String | テーブルまたはビューを含むデータベース。 |
| SchemaName | String | テーブルまたはビューを含むスキーマ。 |
| TableName | String | テーブル名またはビュー名。 |
| TableType | String | テーブルの種類(テーブルまたはビュー)。 |
| Description | String | テーブルまたはビューの説明。 |
| IsUpdateable | Boolean | テーブルが更新可能かどうか。 |
利用可能なテーブルおよびビューのカラムについて説明します。
次のクエリは、Tasks テーブルのカラムとデータ型を返します。
SELECT ColumnName, DataTypeName FROM sys_tablecolumns WHERE TableName='Tasks'
| Name | Type | Description |
| CatalogName | String | テーブルまたはビューを含むデータベースの名前。 |
| SchemaName | String | テーブルまたはビューを含むスキーマ。 |
| TableName | String | カラムを含むテーブルまたはビューの名前。 |
| ColumnName | String | カラム名。 |
| DataTypeName | String | データ型の名前。 |
| DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
| Length | Int32 | カラムのストレージサイズ。 |
| DisplaySize | Int32 | 指定されたカラムの通常の最大幅(文字数)。 |
| NumericPrecision | Int32 | 数値データの最大桁数。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
| NumericScale | Int32 | カラムのスケール(小数点以下の桁数)。 |
| IsNullable | Boolean | カラムがNull を含められるかどうか。 |
| Description | String | カラムの簡単な説明。 |
| Ordinal | Int32 | カラムのシーケンスナンバー。 |
| IsAutoIncrement | String | カラムに固定増分値が割り当てられるかどうか。 |
| IsGeneratedColumn | String | 生成されたカラムであるかどうか。 |
| IsHidden | Boolean | カラムが非表示かどうか。 |
| IsArray | Boolean | カラムが配列かどうか。 |
| IsReadOnly | Boolean | カラムが読み取り専用かどうか。 |
| IsKey | Boolean | sys_tablecolumns から返されたフィールドがテーブルの主キーであるかどうか。 |
利用可能なストアドプロシージャをリストします。
次のクエリは、利用可能なストアドプロシージャを取得します。
SELECT * FROM sys_procedures
| Name | Type | Description |
| CatalogName | String | ストアドプロシージャを含むデータベース。 |
| SchemaName | String | ストアドプロシージャを含むスキーマ。 |
| ProcedureName | String | ストアドプロシージャの名前。 |
| Description | String | ストアドプロシージャの説明。 |
| ProcedureType | String | PROCEDURE やFUNCTION などのプロシージャのタイプ。 |
ストアドプロシージャパラメータについて説明します。
次のクエリは、UpdateAssignedToTaskBoardFormat ストアドプロシージャのすべての入力パラメータについての情報を返します。
SELECT * FROM sys_procedureparameters WHERE ProcedureName='UpdateAssignedToTaskBoardFormat' AND Direction=1 OR Direction=2
| Name | Type | Description |
| CatalogName | String | ストアドプロシージャを含むデータベースの名前。 |
| SchemaName | String | ストアドプロシージャを含むスキーマの名前。 |
| ProcedureName | String | パラメータを含むストアドプロシージャの名前。 |
| ColumnName | String | ストアドプロシージャパラメータの名前。 |
| Direction | Int32 | パラメータのタイプに対応する整数値:input (1)。input/output (2)、またはoutput(4)。input/output タイプパラメータは、入力パラメータと出力パラメータの両方になれます。 |
| DataTypeName | String | データ型の名前。 |
| DataType | Int32 | データ型を示す整数値。この値は、実行時に環境に基づいて決定されます。 |
| Length | Int32 | 文字データの場合は、許可される文字数。数値データの場合は、許可される桁数。 |
| NumericPrecision | Int32 | 数値データの場合は最大精度。文字データおよび日時データの場合は、カラムの長さ(文字数)。 |
| NumericScale | Int32 | 数値データの小数点以下の桁数。 |
| IsNullable | Boolean | パラメータがNull を含められるかどうか。 |
| IsRequired | Boolean | プロシージャの実行にパラメータが必要かどうか。 |
| IsArray | Boolean | パラメータが配列かどうか。 |
| Description | String | パラメータの説明。 |
| Ordinal | Int32 | パラメータのインデックス。 |
主キーおよび外部キーについて説明します。
次のクエリは、Tasks テーブルの主キーを取得します。
SELECT * FROM sys_keycolumns WHERE IsKey='True' AND TableName='Tasks'
| Name | Type | Description |
| CatalogName | String | キーを含むデータベースの名前。 |
| SchemaName | String | キーを含むスキーマの名前。 |
| TableName | String | キーを含むテーブルの名前。 |
| ColumnName | String | キーカラムの名前 |
| IsKey | Boolean | カラムがTableName フィールドで参照されるテーブル内の主キーかどうか。 |
| IsForeignKey | Boolean | カラムがTableName フィールドで参照される外部キーかどうか。 |
| PrimaryKeyName | String | 主キーの名前。 |
| ForeignKeyName | String | 外部キーの名前。 |
| ReferencedCatalogName | String | 主キーを含むデータベース。 |
| ReferencedSchemaName | String | 主キーを含むスキーマ。 |
| ReferencedTableName | String | 主キーを含むテーブル。 |
| ReferencedColumnName | String | 主キーのカラム名。 |
外部キーについて説明します。
次のクエリは、他のテーブルを参照するすべての外部キーを取得します。
SELECT * FROM sys_foreignkeys WHERE ForeignKeyType = 'FOREIGNKEY_TYPE_IMPORT'
| 名前 | タイプ | 説明 |
| CatalogName | String | キーを含むデータベースの名前。 |
| SchemaName | String | キーを含むスキーマの名前。 |
| TableName | String | キーを含むテーブルの名前。 |
| ColumnName | String | キーカラムの名前 |
| PrimaryKeyName | String | 主キーの名前。 |
| ForeignKeyName | String | 外部キーの名前。 |
| ReferencedCatalogName | String | 主キーを含むデータベース。 |
| ReferencedSchemaName | String | 主キーを含むスキーマ。 |
| ReferencedTableName | String | 主キーを含むテーブル。 |
| ReferencedColumnName | String | 主キーのカラム名。 |
| ForeignKeyType | String | 外部キーがインポート(他のテーブルを指す)キーかエクスポート(他のテーブルから参照される)キーかを指定します。 |
主キーについて説明します。
次のクエリは、すべてのテーブルとビューから主キーを取得します。
SELECT * FROM sys_primarykeys
| Name | Type | Description |
| CatalogName | String | キーを含むデータベースの名前。 |
| SchemaName | String | キーを含むスキーマの名前。 |
| TableName | String | キーを含むテーブルの名前。 |
| ColumnName | String | キーカラムの名前。 |
| KeySeq | String | 主キーのシーケンス番号。 |
| KeyName | String | 主キーの名前。 |
利用可能なインデックスについて説明します。インデックスをフィルタリングすることで、より高速なクエリ応答時間でセレクティブクエリを記述できます。
次のクエリは、主キーでないすべてのインデックスを取得します。
SELECT * FROM sys_indexes WHERE IsPrimary='false'
| Name | Type | Description |
| CatalogName | String | インデックスを含むデータベースの名前。 |
| SchemaName | String | インデックスを含むスキーマの名前。 |
| TableName | String | インデックスを含むテーブルの名前。 |
| IndexName | String | インデックス名。 |
| ColumnName | String | インデックスに関連付けられたカラムの名前。 |
| IsUnique | Boolean | インデックスが固有の場合はTrue。そうでない場合はFalse。 |
| IsPrimary | Boolean | インデックスが主キーの場合はTrue。そうでない場合はFalse。 |
| Type | Int16 | インデックスタイプに対応する整数値:statistic (0)、clustered (1)、hashed (2)、またはother (3)。 |
| SortOrder | String | 並べ替え順序:A が昇順、D が降順。 |
| OrdinalPosition | Int16 | インデックスのカラムのシーケンスナンバー。 |
利用可能な接続プロパティと、接続文字列に設定されている接続プロパティに関する情報を返します。
次のクエリは、接続文字列に設定されている、あるいはデフォルト値で設定されているすべての接続プロパティを取得します。
SELECT * FROM sys_connection_props WHERE Value <> ''
| Name | Type | Description |
| Name | String | 接続プロパティ名。 |
| ShortDescription | String | 簡単な説明。 |
| Type | String | 接続プロパティのデータ型。 |
| Default | String | 明示的に設定されていない場合のデフォルト値。 |
| Values | String | 可能な値のカンマ区切りリスト。別な値が指定されていると、検証エラーがスローされます。 |
| Value | String | 設定した値またはあらかじめ設定されたデフォルト。 |
| Required | Boolean | プロパティが接続に必要かどうか。 |
| Category | String | 接続プロパティのカテゴリ。 |
| IsSessionProperty | String | プロパティが、現在の接続に関する情報を保存するために使用されるセッションプロパティかどうか。 |
| Sensitivity | String | プロパティの機密度。これは、プロパティがロギングおよび認証フォームで難読化されているかどうかを通知します。 |
| PropertyName | String | キャメルケースの短縮形の接続プロパティ名。 |
| Ordinal | Int32 | パラメータのインデックス。 |
| CatOrdinal | Int32 | パラメータカテゴリのインデックス。 |
| Hierarchy | String | このプロパティと一緒に設定する必要がある、関連のある依存プロパティを表示します。 |
| Visible | Boolean | プロパティが接続UI に表示されるかどうかを通知します。 |
| ETC | String | プロパティに関するその他のさまざまな情報。 |
Cloud がデータソースにオフロードできるSELECT クエリ処理について説明します。
SQL 構文の詳細については、SQL 準拠 を参照してください。
以下はSQL 機能のサンプルデータセットです。 SELECT 機能のいくつかの側面がサポートされている場合には、カンマ区切りのリストで返されます。サポートされていない場合、カラムにはNO が入ります。
| 名前 | 説明 | 有効な値 |
| AGGREGATE_FUNCTIONS | サポートされている集計関数。 | AVG, COUNT, MAX, MIN, SUM, DISTINCT |
| COUNT | COUNT 関数がサポートされているかどうか。 | YES, NO |
| IDENTIFIER_QUOTE_OPEN_CHAR | 識別子をエスケープするための開始文字。 | [ |
| IDENTIFIER_QUOTE_CLOSE_CHAR | 識別子をエスケープするための終了文字。 | ] |
| SUPPORTED_OPERATORS | サポートされているSQL 演算子。 | =, >, <, >=, <=, <>, !=, LIKE, NOT LIKE, IN, NOT IN, IS NULL, IS NOT NULL, AND, OR |
| GROUP_BY | GROUP BY がサポートされているかどうか。サポートされている場合、どのレベルでサポートされているか。 | NO, NO_RELATION, EQUALS_SELECT, SQL_GB_COLLATE |
| OJ_CAPABILITIES | サポートされている外部結合の種類。 | NO, LEFT, RIGHT, FULL, INNER, NOT_ORDERED, ALL_COMPARISON_OPS |
| OUTER_JOINS | 外部結合がサポートされているかどうか。 | YES, NO |
| SUBQUERIES | サブクエリがサポートされているかどうか。サポートされていれば、どのレベルでサポートされているか。 | NO, COMPARISON, EXISTS, IN, CORRELATED_SUBQUERIES, QUANTIFIED |
| STRING_FUNCTIONS | サポートされている文字列関数。 | LENGTH, CHAR, LOCATE, REPLACE, SUBSTRING, RTRIM, LTRIM, RIGHT, LEFT, UCASE, SPACE, SOUNDEX, LCASE, CONCAT, ASCII, REPEAT, OCTET, BIT, POSITION, INSERT, TRIM, UPPER, REGEXP, LOWER, DIFFERENCE, CHARACTER, SUBSTR, STR, REVERSE, PLAN, UUIDTOSTR, TRANSLATE, TRAILING, TO, STUFF, STRTOUUID, STRING, SPLIT, SORTKEY, SIMILAR, REPLICATE, PATINDEX, LPAD, LEN, LEADING, KEY, INSTR, INSERTSTR, HTML, GRAPHICAL, CONVERT, COLLATION, CHARINDEX, BYTE |
| NUMERIC_FUNCTIONS | サポートされている数値関数。 | ABS, ACOS, ASIN, ATAN, ATAN2, CEILING, COS, COT, EXP, FLOOR, LOG, MOD, SIGN, SIN, SQRT, TAN, PI, RAND, DEGREES, LOG10, POWER, RADIANS, ROUND, TRUNCATE |
| TIMEDATE_FUNCTIONS | サポートされている日付および時刻関数。 | NOW, CURDATE, DAYOFMONTH, DAYOFWEEK, DAYOFYEAR, MONTH, QUARTER, WEEK, YEAR, CURTIME, HOUR, MINUTE, SECOND, TIMESTAMPADD, TIMESTAMPDIFF, DAYNAME, MONTHNAME, CURRENT_DATE, CURRENT_TIME, CURRENT_TIMESTAMP, EXTRACT |
| REPLICATION_SKIP_TABLES | レプリケーション中にスキップされたテーブルを示します。 | |
| REPLICATION_TIMECHECK_COLUMNS | レプリケーション中に更新判断のカラムとして使用するかどうかを、(指定された順に)チェックするカラムのリストを含む文字列の配列。 | |
| IDENTIFIER_PATTERN | 識別子としてどの文字列が有効かを示す文字列値。 | |
| SUPPORT_TRANSACTION | プロバイダーが、コミットやロールバックなどのトランザクションをサポートしているかどうかを示します。 | YES, NO |
| DIALECT | 使用するSQL ダイアレクトを示します。 | |
| KEY_PROPERTIES | Uniform データベースを特定するプロパティを示します。 | |
| SUPPORTS_MULTIPLE_SCHEMAS | プロバイダー用に複数のスキームが存在するかどうかを示します。 | YES, NO |
| SUPPORTS_MULTIPLE_CATALOGS | プロバイダー用に複数のカタログが存在するかどうかを示します。 | YES, NO |
| DATASYNCVERSION | このドライバーにアクセスするために必要な、CData Sync のバージョン。 | Standard, Starter, Professional, Enterprise |
| DATASYNCCATEGORY | このドライバーのCData Sync カテゴリ。 | Source, Destination, Cloud Destination |
| SUPPORTSENHANCEDSQL | API で提供されている以上の、追加SQL 機能がサポートされているかどうか。 | TRUE, FALSE |
| SUPPORTS_BATCH_OPERATIONS | バッチ操作がサポートされているかどうか。 | YES, NO |
| SQL_CAP | このドライバーでサポートされているすべてのSQL 機能。 | SELECT, INSERT, DELETE, UPDATE, TRANSACTIONS, ORDERBY, OAUTH, ASSIGNEDID, LIMIT, LIKE, BULKINSERT, COUNT, BULKDELETE, BULKUPDATE, GROUPBY, HAVING, AGGS, OFFSET, REPLICATE, COUNTDISTINCT, JOINS, DROP, CREATE, DISTINCT, INNERJOINS, SUBQUERIES, ALTER, MULTIPLESCHEMAS, GROUPBYNORELATION, OUTERJOINS, UNIONALL, UNION, UPSERT, GETDELETED, CROSSJOINS, GROUPBYCOLLATE, MULTIPLECATS, FULLOUTERJOIN, MERGE, JSONEXTRACT, BULKUPSERT, SUM, SUBQUERIESFULL, MIN, MAX, JOINSFULL, XMLEXTRACT, AVG, MULTISTATEMENTS, FOREIGNKEYS, CASE, LEFTJOINS, COMMAJOINS, WITH, LITERALS, RENAME, NESTEDTABLES, EXECUTE, BATCH, BASIC, INDEX |
| PREFERRED_CACHE_OPTIONS | 使用したいcacheOptions を指定する文字列値。 | |
| ENABLE_EF_ADVANCED_QUERY | ドライバーがEntity Framework の高度なクエリをサポートしているかどうかを示します。サポートしていなければ、クエリはクライアントサイドで処理されます。 | YES, NO |
| PSEUDO_COLUMNS | 利用可能な疑似カラムを示す文字列の配列。 | |
| MERGE_ALWAYS | 値がtrue であれば、CData Sync 内でMerge Model が強制的に実行されます。 | TRUE, FALSE |
| REPLICATION_MIN_DATE_QUERY | レプリケート開始日時を返すSELECT クエリ。 | |
| REPLICATION_MIN_FUNCTION | サーバーサイドでmin を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
| REPLICATION_START_DATE | レプリケート開始日を、プロバイダーが指定できるようになります。 | |
| REPLICATION_MAX_DATE_QUERY | レプリケート終了日時を返すSELECT クエリ。 | |
| REPLICATION_MAX_FUNCTION | サーバーサイドでmax を実行するために使用する式名を、プロバイダーが指定できるようになります。 | |
| IGNORE_INTERVALS_ON_INITIAL_REPLICATE | 初回のレプリケートで、レプリケートをチャンクに分割しないテーブルのリスト。 | |
| CHECKCACHE_USE_PARENTID | CheckCache 構文を親キーカラムに対して実行するかどうかを示します。 | TRUE, FALSE |
| CREATE_SCHEMA_PROCEDURES | スキーマファイルの生成に使用できる、ストアドプロシージャを示します。 |
次のクエリは、WHERE 句で使用できる演算子を取得します。
SELECT * FROM sys_sqlinfo WHERE Name = 'SUPPORTED_OPERATORS'
WHERE 句では、個々のテーブルの制限や要件が異なる場合がありますので注意してください。詳しくは、データモデル セクションを参照してください。
| Name | Type | Description |
| NAME | String | SQL 構文のコンポーネント、またはサーバー上で処理できる機能。 |
| VALUE | String | サポートされるSQL またはSQL 構文の詳細。 |
試行された変更に関する情報を返します。
次のクエリは、バッチ処理で変更された行のId を取得します。
SELECT * FROM sys_identity
| Name | Type | Description |
| Id | String | データ変更処理から返された、データベース生成Id。 |
| Batch | String | バッチの識別子。1 は単一処理。 |
| Operation | String | バッチ内の処理の結果:INSERTED、UPDATED、またはDELETED。 |
| Message | String | SUCCESS、またはバッチ内の更新が失敗した場合のエラーメッセージ。 |
利用可能なシステム情報を説明します。
次のクエリは、すべてのカラムを取得します。
SELECT * FROM sys_information
| Name | Type | Description |
| Product | String | 製品名。 |
| Version | String | 製品のバージョン番号。 |
| Datasource | String | 製品が接続するデータソースの名前。 |
| NodeId | String | 製品がインストールされているマシンの固有識別子。 |
| HelpURL | String | 製品のヘルプドキュメントのURL。 |
| License | String | 製品のライセンス情報。(この情報が利用できない場合、この項目は空白のままか「N/A」と表示されます。) |
| Location | String | 製品のライブラリが格納されているファイルパスの場所。 |
| Environment | String | 製品が現在稼働している環境またはランタイムのバージョン。 |
| DataSyncVersion | String | 本コネクタを使用するために必要なCData Sync のティア。 |
| DataSyncCategory | String | CData Sync 機能のカテゴリ(例:Source、Destination)。 |
| プロパティ | 説明 |
| AuthScheme | Microsoft Planner に接続する際に使用する認証の種類を指定します。このプロパティが空白の場合は、デフォルトの認証が使用されます。 |
| プロパティ | 説明 |
| AzureTenant | データにアクセスするために使用されるMicrosoft Planner テナントを、名前(例えば、contoso.omnicrosoft.com)またはID で識別します。(条件付き) |
| AzureEnvironment | 接続するAzure ネットワーク環境を指定します。Azure アカウントが追加されたネットワークと同じである必要があります。 |
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。 |
| OAuthClientSecret | カスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。 |
| OAuthGrantType | 選択したOAuth フローのグラント種別を指定します。 この値は、OAuth カスタムアプリケーション作成時に設定されたグラント種別と同じである必要があります。 |
| プロパティ | 説明 |
| OAuthJWTCert | JWT 証明書のストア。 |
| OAuthJWTCertType | JWT 証明書を格納するキーストアの種類。 |
| OAuthJWTCertPassword | OAuth JWT 証明書のパスワード。パスワードを必要とする証明書ストアにアクセスするために使用されます。証明書ストアがパスワードを必要としない場合は、このプロパティを空白のままにします。 |
| OAuthJWTCertSubject | OAuth JWT 証明書のサブジェクトで、ストアで一致する証明書を検索するために使用されます。部分一致と、先頭の証明書を選択するためのワイルドカード '*' をサポートします。 |
| プロパティ | 説明 |
| SSLServerCert | TLS/SSL を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。 |
| プロパティ | 説明 |
| Verbosity | ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。 |
| プロパティ | 説明 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
| プロパティ | 説明 |
| Scope | Specifies whether to enable admin consent scopes or default scopes for obtaining access and refresh tokens during authentication. |
| IncludeLabels | Specifies whether the labels associated with tasks in the Tasks table are included in the data retrieved from Microsoft Planner. |
| MaxRows | 集計やGROUP BY を使用しないクエリで返される最大行数を指定します。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。 |
このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。
| プロパティ | 説明 |
| AuthScheme | Microsoft Planner に接続する際に使用する認証の種類を指定します。このプロパティが空白の場合は、デフォルトの認証が使用されます。 |
Microsoft Planner に接続する際に使用する認証の種類を指定します。このプロパティが空白の場合は、デフォルトの認証が使用されます。
string
"AzureAD"
Azure AD で認証するためのカスタムアプリケーションの作成方法については、Azure AD アプリケーションの作成 を参照してください。
Azure AD サービスプリンシパルで認証するためのカスタムアプリケーションの作成方法については、サービスプリンシパルによるAzure AD アプリの作成 を参照してください。
このセクションでは、本プロバイダーの接続文字列で設定可能なAzure Authentication プロパティの全リストを提供します。
| プロパティ | 説明 |
| AzureTenant | データにアクセスするために使用されるMicrosoft Planner テナントを、名前(例えば、contoso.omnicrosoft.com)またはID で識別します。(条件付き) |
| AzureEnvironment | 接続するAzure ネットワーク環境を指定します。Azure アカウントが追加されたネットワークと同じである必要があります。 |
データにアクセスするために使用されるMicrosoft Planner テナントを、名前(例えば、contoso.omnicrosoft.com)またはID で識別します。(条件付き)
string
""
テナントは、主にドメイン(例えば、microsoft.com)に関連付けられた、組織のデジタル表現です。 テナントは、Tenant ID(ディレクトリID とも呼ばれる)によって管理されます。これは、Azure リソースへのアクセスや管理権限をユーザーに割り当てる際に指定します。
Azure ポータルでディレクトリID を見つけるには、Azure Active Directory -> プロパティに移動します。
AuthScheme = AzureServicePrincipal またはAzureServicePrincipalCert のいずれかである場合、またはAuthScheme = AzureAD であり、ユーザーが複数のテナントに属している場合は、AzureTenant を指定する必要があります。
接続するAzure ネットワーク環境を指定します。Azure アカウントが追加されたネットワークと同じである必要があります。
string
"GLOBAL"
Azure アカウントがGlobal ネットワークとは異なるネットワーク(China、USGOVT、USGOVTDOD など)の一部である場合は、必要です。
このセクションでは、本プロバイダーの接続文字列で設定可能なOAuth プロパティの全リストを提供します。
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。 |
| OAuthClientSecret | カスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。 |
| OAuthGrantType | 選択したOAuth フローのグラント種別を指定します。 この値は、OAuth カスタムアプリケーション作成時に設定されたグラント種別と同じである必要があります。 |
カスタムOAuth アプリケーションの作成時に割り当てられたクライアントId を指定します。(コンシューマーキーとも呼ばれます。)このID は、カスタムアプリケーションをOAuth 認可サーバーに登録します。
string
""
OAuthClientId は、ユーザーがOAuth 経由で認証を行う前に設定する必要があるいくつかの接続パラメータの1つです。詳細は接続の確立を参照してください。
カスタムOAuth アプリケーションの作成時に割り当てられたクライアントシークレットを指定します。( コンシューマーシークレット とも呼ばれます。)このシークレットは、カスタムアプリケーションをOAuth 認可サーバーに登録します。
string
""
OAuthClientSecret は、ユーザーがOAuth 経由で認証を行う前に設定する必要があるいくつかの接続パラメータの1つです。詳細は接続の確立を参照してください。
選択したOAuth フローのグラント種別を指定します。 この値は、OAuth カスタムアプリケーション作成時に設定されたグラント種別と同じである必要があります。
string
"CODE"
ほとんどの場合、デフォルトのグラント種別は変更すべきではありません。 最も一般的なOAuth グラント種別とそれぞれのメリット・デメリットについては、https://oauth.net/2/grant-types/ を参照してください。
このセクションでは、本プロバイダーの接続文字列で設定可能なJWT OAuth プロパティの全リストを提供します。
| プロパティ | 説明 |
| OAuthJWTCert | JWT 証明書のストア。 |
| OAuthJWTCertType | JWT 証明書を格納するキーストアの種類。 |
| OAuthJWTCertPassword | OAuth JWT 証明書のパスワード。パスワードを必要とする証明書ストアにアクセスするために使用されます。証明書ストアがパスワードを必要としない場合は、このプロパティを空白のままにします。 |
| OAuthJWTCertSubject | OAuth JWT 証明書のサブジェクトで、ストアで一致する証明書を検索するために使用されます。部分一致と、先頭の証明書を選択するためのワイルドカード '*' をサポートします。 |
JWT 証明書のストア。
string
""
クライアント証明書のための証明書ストア名。
OAuthJWTCertType フィールドは、OAuthJWTCert により指定された証明書ストアの種類を指定します。 ストアがパスワードで保護されている場合は、OAuthJWTCertPassword でパスワードを指定します。
OAuthJWTCert は、OAuthJWTCertSubject フィールドとともにクライアント証明書を指定するために使われます。 OAuthJWTCert に値がある場合で、OAuthJWTCertSubject が設定されている場合は、証明書の検索が始まります。 詳しくは、OAuthJWTCertSubject フィールドを参照してください。
証明書ストアの指定はプラットフォームに依存します。
Windows の共通のユーザとシステム証明書ストアの指定は以下のとおりです。
| MY | 個人証明書と関連付けられた秘密キーを格納している証明書ストア。 |
| CA | 証明機関の証明書。 |
| ROOT | ルート証明書。 |
| SPC | ソフトウェア発行元証明書。 |
Javaでは、証明書ストアは通常、証明書および任意の秘密キーを含むファイルです。
証明書ストアの種類がPFXFile の場合は、このプロパティにファイル名を設定します。 PFXBlob の場合は、このプロパティをPFX ファイルのバイナリコンテンツ(例えば、PKCS12証明書ストア)に設定する必要があります。
JWT 証明書を格納するキーストアの種類。
string
"PEMKEY_BLOB"
このプロパティには次の値の一つを設定できます。
| USER | Windows の場合、現在のユーザーにより所有された証明書ストアであることを指定します。 Note:この種類はJava では利用できません。 |
| MACHINE | Windows の場合、この証明書ストアがシステムストアであることを指定します。 Note:この種類はJava では利用できません。 |
| PFXFILE | この証明書ストアは、証明書を含むPFX(PKCS12)ファイルの名前です。 |
| PFXBLOB | この証明書ストアは、PFX(PKCS12)形式の証明書ストアを表すBase-64でエンコードされた文字列です。 |
| JKSFILE | この証明書ストアは、証明書を含むJava key store(JKS)ファイルの名前です。 Note:この種類はJava のみで利用できます。 |
| JKSBLOB | この証明書ストアは、Java key store(JKS)形式の証明書ストアを表すBase-64でエンコードされた文字列です。 Note:この種類は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 証明書のパスワード。パスワードを必要とする証明書ストアにアクセスするために使用されます。証明書ストアがパスワードを必要としない場合は、このプロパティを空白のままにします。
string
""
このプロパティは、証明書ストアを開くために必要なパスワードを指定します。ただし、ストアの種類がパスワードを必要とする場合に限ります。 パスワードが必要かどうかを判断するには、ご利用の証明書ストアのドキュメントまたは設定を参照してください。
OAuth JWT 証明書のサブジェクトで、ストアで一致する証明書を検索するために使用されます。部分一致と、先頭の証明書を選択するためのワイルドカード '*' をサポートします。
string
"*"
このプロパティの値は、ストアで一致する証明書を検索するために使用されます。検索プロセスは以下のように動作します。
値を '*' に設定すると、ストアの先頭の証明書が自動的に選択されます。 証明書のサブジェクトは識別名フィールドおよび値のカンマ区切りのリストです。 例: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 を使用して接続する際に、サーバーが受け入れ可能な証明書を指定します。
string
""
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 |
これを指定しない場合は、マシンが信用するすべての証明書が受け入れられます。
すべての証明書の受け入れを示すには、'*'を使用します。セキュリティ上の理由から、これはお勧めできません。
このセクションでは、本プロバイダーの接続文字列で設定可能なLogging プロパティの全リストを提供します。
| プロパティ | 説明 |
| Verbosity | ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。 |
ログファイルのVerbosity レベルを指定し、記録される情報の詳細度を制御します。サポートされる値の範囲は1から5までです。
string
"1"
このプロパティは、Cloud がログファイルに含める詳細レベルを定義します。 Verbosity レベルを高くするとログに記録される情報の詳細が増えますが、ログファイルが大きくなり取り込まれるデータが増えるためパフォーマンスが低下する可能性があります。
デフォルトのVerbosity レベルは1で、通常の運用にはこれが推奨されます。 より高いVerbosity レベルは主にデバッグを目的としています。 各レベルの詳細については、ログ を参照してください。
LogModules プロパティと組み合わせることで、Verbosity は特定の情報カテゴリに対するログの詳細度を調整できます。
このセクションでは、本プロバイダーの接続文字列で設定可能なSchema プロパティの全リストを提供します。
| プロパティ | 説明 |
| BrowsableSchemas | レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。 |
レポートされるスキーマを利用可能なすべてのスキーマのサブセットに制限するオプション設定。例えば、 BrowsableSchemas=SchemaA,SchemaB,SchemaC です。
string
""
利用可能なデータベーススキーマをすべてリストすると余分な時間がかかり、パフォーマンスが低下します。 接続文字列にスキーマのリストを指定することで、時間を節約しパフォーマンスを向上させることができます。
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
| プロパティ | 説明 |
| Scope | Specifies whether to enable admin consent scopes or default scopes for obtaining access and refresh tokens during authentication. |
| IncludeLabels | Specifies whether the labels associated with tasks in the Tasks table are included in the data retrieved from Microsoft Planner. |
| MaxRows | 集計やGROUP BY を使用しないクエリで返される最大行数を指定します。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。 |
Specifies whether to enable admin consent scopes or default scopes for obtaining access and refresh tokens during authentication.
string
"NoAdminConsent"
スコープは、認証ユーザーがどのようなアクセス権を持つかを定義するために設定されます。例えば、読み取り、読み取りと書き込み、機密情報への制限付きアクセスなどです。システム管理者は、スコープを使用して機能またはセキュリティクリアランスによるアクセスを選択的に有効化できます。
InitiateOAuth がGETANDREFRESH に設定されている場合、要求するスコープを変更したい場合はこのプロパティを使用する必要があります。 InitiateOAuth がREFRESH またはOFF のいずれかに設定されている場合、要求するスコープを変更したい場合は、このプロパティまたはScope 入力を使用する必要があります。
This property controls the type of scopes used for authentication.
Alternatively, you can specify a custom space-delimited list of scopes to define specific permissions required by your application. This allows greater flexibility in tailoring the authentication process to your needs.
Specifies whether the labels associated with tasks in the Tasks table are included in the data retrieved from Microsoft Planner.
bool
false
Task labels provide additional metadata or categorization for tasks and can be useful for organizing or filtering tasks based on custom-defined tags. Set this property to true to retrieve labels associated with each task. By default, labels are not included, which may improve performance by reducing the amount of data retrieved.
集計やGROUP BY を使用しないクエリで返される最大行数を指定します。
int
-1
このプロパティは、集計やGROUP BY 句を含まないクエリに対してCloud が返す行数の上限を設定します。 この制限により、クエリがデフォルトで過度に大きな結果セットを返さないようにします。
クエリにLIMIT 句が含まれている場合、クエリで指定された値がMaxRows 設定よりも優先されます。 MaxRows が"-1" に設定されている場合、LIMIT 句が明示的にクエリに含まれていない限り、行の制限は行われません。
このプロパティは、非常に大きなデータセットを返す可能性のあるクエリを実行する際に、パフォーマンスを最適化し過剰なリソース消費を防ぐのに役立ちます。
テーブルカラムとして公開する擬似カラムを指定します。'TableName=ColumnName;TableName=ColumnName' という形式を使用します。デフォルトは空の文字列で、このプロパティを無効にします。
string
""
このプロパティを使用すると、Cloud がテーブルカラムとして公開する擬似カラムを定義できます。
個々の擬似カラムを指定するには、以下の形式を使用します。"Table1=Column1;Table1=Column2;Table2=Column3"
すべてのテーブルのすべての擬似カラムを含めるには、次のようにします:"*=*"
provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。デフォルトは60秒です。タイムアウトを無効にするには0を設定します。
int
60
このプロパティは、Cloud が操作をキャンセルする前に操作の完了を待機する最大時間を秒単位で制御します。 操作の完了前にタイムアウト時間が経過すると、Cloud は操作をキャンセルして例外をスローします。
タイムアウトは、クエリや操作全体ではなくサーバーとの個々の通信に適用されます。 例えば、各ページング呼び出しがタイムアウト制限内に完了する場合、クエリは60秒を超えて実行を続けることができます。
このプロパティを0に設定するとタイムアウトが無効になり、操作が成功するか、サーバー側のタイムアウト、ネットワークの中断、またはサーバーのリソース制限などの他の条件で失敗するまで無期限に実行されます。 このプロパティは慎重に使用してください。長時間実行される操作がパフォーマンスを低下させたり、応答しなくなる可能性があるためです。