CData Sync App は、Microsoft Dataverse データをデータベース、データレイク、またはデータウェアハウスに継続的にパイプライン化する簡単な方法を提供し、分析、レポート、AI、および機械学習で簡単に利用できるようにします。
Microsoft Dataverse コネクタはCData Sync アプリケーションから使用可能で、Microsoft Dataverse からデータを取得して、サポートされている任意の同期先に移動できます。
Sync App は、Microsoft Dataverse Web API を介してMicrosoft Dataverse への読み出し / 書き込みアクセスをサポートします。
必須プロパティについては、設定タブを参照してください。
通常必須ではない接続プロパティについては、高度な設定タブを参照してください。
Microsoft Dataverse は、System とEntities の2つのSchema プロパティ値をサポートしています。
Microsoft Dataverse データソースを認証するには、まずOrganizationURL プロパティを接続先の組織のURL に設定します。
例:https://[organization].crm.dynamics.com.
Note:Microsoft はAzure AD をEntra ID にリブランドしました。ユーザーがEntra ID 管理サイトを操作する必要があるトピックでは、Microsoft が使用している名称と同じものを使用します。ただし、名前または値が"Azure AD" を参照しているCData 接続プロパティは、依然として存在します。
Sync App は、Entra ID を使用したOAuth 2.0 によるMicrosoft Dataverse への認証をサポートします。 OAuth の実際の動作は、使用される認証フローを決定するAuthScheme 接続プロパティの値に依存します。
以下の表は、AuthScheme、OAuth グラントタイプ、および典型的なユースケースの関係を概説したものです。
| AuthScheme | OAuth グラントタイプ | ユースケース |
| AzureAD | 認可コード | ブラウザ操作によるユーザーのログイン(デスクトップ / Web)、またはヘッドレス環境で別デバイスを使用してログイン |
| AzureServicePrincipal | クライアントクレデンシャル | クライアントシークレットを使用したアプリケーション単体でのアクセス |
| AzureServicePrincipalCert | クライアントクレデンシャル | 証明書ベースの認証を使用したアプリケーション単体でのアクセス |
| AzureMSI | マネージドID | Azure のマネージドID を使用するAzure ホストのアプリ / サービス |
クライアントOAuth フロー
クライアントOAuth フローに関連するすべての権限には、管理者の同意が必要です。これは、CData Sync App が埋め込まれたアプリをクライアントOAuth フローでは使用できないことを意味します。クライアントクレデンシャルを使用するには、独自のOAuth アプリの作成が必要になります。 詳しくは、Entra ID(Azure AD)アプリケーションの作成 を参照してください。
portal.azure.com の[アプリの登録]で[API のアクセス許可]に移動し、Microsoft Graph アクセス許可を選択します。アクセス許可には、委任されたアクセス許可とアプリケーションの許可の2つの異なるアクセス許可セットがあります。 クライアントクレデンシャル認証時に使用されるアクセス許可は、[アプリケーションの許可]の下にあります。インテグレーションに必要なアクセス許可を選択します。
認証タイプに応じて、以下のいずれかの接続プロパティグループを設定すると、接続できるようになります。
クライアントクレデンシャルでの認証は、他の接続同様に自動的に行われますが、ユーザーにプロンプトするウィンドウは表示されません。ユーザーコンテキストがないため、ブラウザのポップアップは必要ないからです。 接続が行われ、内部的に処理されます。
Note:Microsoft はAzure AD をEntra ID にリブランドしました。ユーザーがEntra ID 管理サイトを操作する必要があるトピックでは、Microsoft が使用している名称と同じものを使用します。ただし、名前または値が"Azure AD" を参照しているCData 接続プロパティは、依然として存在します。
Azure サービスプリンシパルは、ロールに基づいたアプリケーションベースの認証です。これは、認証がユーザーごとではなく、アプリケーションごとに行われることを意味します。
アプリケーションで実行されるすべてのタスクは、デフォルトユーザーコンテキストなしで、割り当てられたロールに基づいて実行されます。
リソースへのアプリケーションのアクセスは、割り当てられたロールの権限によって制御されます。
Azure サービスプリンシパル認証の設定方法については、Entra ID(AzureAD)でのサービスプリンシパルアプリの作成 を参照してください。
Azure VM 上でMicrosoft Dataverse を実行しており、マネージドID(MSI)認証情報を自動的に取得して接続したい場合は、AuthScheme を AzureMSI に設定します。
VM に複数のユーザーが割り当てられたマネージドID がある場合は、OAuthClientId も指定する必要があります。
このセクションでは、Microsoft Dataverse Sync App の高度な機能を厳選して説明します。
Sync App はユーザー定義ビューの使用をサポートします。これは事前設定されたユーザー定義クエリによって内容が決定される仮想テーブルです。 このビューは、ドライバーに発行されるクエリを直接制御できない場合に有効です。 カスタムビューの作成と設定の概要については、ユーザー定義ビュー を参照してください。
SSL の設定 を使用して、Sync App が証明書のネゴシエーションをどのように扱うかを調整します。さまざまな証明書形式を選択できます。詳しくは、「接続文字列オプション」にあるSSLServerCert プロパティを参照してください。
Windows プロキシとHTTP プロキシを含むファイアウォールとプロキシ に合致するようSync App を設定します。トンネル接続を設定することもできます。
詳しくは、クエリ処理 を参照してください。
デフォルトでは、Sync App はサーバーとのTLS のネゴシエーションを試みます。サーバー証明書は、デフォルトのシステム信頼済み証明書ストアで検証されます。SSLServerCert 接続プロパティを使用して、証明書の検証方法をオーバーライドできます。
別の証明書を指定するには、SSLServerCert 接続プロパティを参照してください。
HTTP プロキシへの認証には、以下のように設定します。
次のプロパティを設定します。
CData Sync App はMicrosoft Dataverse データをテーブル、ビュー、ストアドプロシージャを備えた使いやすいSQL データベースとしてモデル化します。定義は、接続先のOData サービスから動的に取得されます。サービスに再接続することで、カラムの新規追加や削除、データ型の変更など、メタデータの変更を読み込めます。
Sync App は2つのデータモデルを公開します。
CData Sync App が提供するストアドプロシージャを使用して、Microsoft Dataverse データの操作を自動化できます。
Entities データモデルは、ビジネスアプリケーション内の構造化データを定義、格納、管理します。Microsoft Power Platform、Dynamics 365、および外部システムとのデータリレーションシップ、セキュリティ、自動化、統合を実現します。
ビュー セクションには読み取り専用SQL テーブルの一覧が記載されています。これらには、Microsoft Dataverse アカウントでのアクセスを想定したサンプルが含まれています。
以下のビューはSync App に同梱されています。
| テーブル | 説明 |
| MultiSelectPickListAttributeMetaData | Stores metadata for attributes that support MultiSelect OptionSet, defining the structure and behavior of multi-option fields. |
| MultiSelectPickListOptions | Contains the possible selectable options for MultiSelect OptionSet attributes, enabling multi-value selections. |
| PickListAttributeMetaData | Holds metadata for attributes of type Picklist, describing the single-option selection fields in the system. |
| PickListOptions | Defines the set of selectable options available for Picklist attributes, supporting user-defined field values. |
| StateAttributeMetadata | Provides metadata for attributes of type State, describing state-related fields used for status tracking or categorization. |
| StateAttributeOptions | Lists the selectable states available for State attributes, representing various predefined states. |
| StatusAttributeMetadata | Contains metadata for attributes of type Status, often used to track the lifecycle or current condition of an entity. |
| StatusAttributeOptions | Defines the set of statuses that can be assigned to Status attributes, supporting status-driven workflows. |
ストアドプロシージャ は、SQLクエリを介して呼び出されるアクションです。標準的なCRUD 操作だけでなく、OAuth アクセストークンの取得や更新などより高度なタスクも実行します。
ビューは、データを示すという点でテーブルに似ていますが、ビューは読み取り専用です。
クエリは、ビューに対して通常のテーブルと同様に実行することができます。
| Name | Description |
| MultiSelectPickListAttributeMetaData | Stores metadata for attributes that support MultiSelect OptionSet, defining the structure and behavior of multi-option fields. |
| MultiSelectPickListOptions | Contains the possible selectable options for MultiSelect OptionSet attributes, enabling multi-value selections. |
| PickListAttributeMetaData | Holds metadata for attributes of type Picklist, describing the single-option selection fields in the system. |
| PickListOptions | Defines the set of selectable options available for Picklist attributes, supporting user-defined field values. |
| StateAttributeMetadata | Provides metadata for attributes of type State, describing state-related fields used for status tracking or categorization. |
| StateAttributeOptions | Lists the selectable states available for State attributes, representing various predefined states. |
| StatusAttributeMetadata | Contains metadata for attributes of type Status, often used to track the lifecycle or current condition of an entity. |
| StatusAttributeOptions | Defines the set of statuses that can be assigned to Status attributes, supporting status-driven workflows. |
Stores metadata for attributes that support MultiSelect OptionSet, defining the structure and behavior of multi-option fields.
Sync App はMicrosoft Dataverse API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
TableName でフィルタリングしない場合、Sync App は最初に見つかったテーブルの結果を返します。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM MultiSelectPickListAttributeMetaData WHERE TableName = 'teams'
SELECT * FROM MultiSelectPickListAttributeMetaData WHERE TableName IN ('accounts', 'teams')
| Name | Type | References | Description |
| ColumnName [KEY] | String | The name of the column in the table where the multi-select picklist is defined. | |
| MetadataId | String | The unique identifier for the metadata associated with this attribute. | |
| OptionSet_Description_LocalizedLabels | String | Localized descriptions of the options in the picklist for different languages. | |
| OptionSet_Description_UserLocalizedLabel_HasChanged | String | Indicates whether the user-localized description label has been modified. | |
| OptionSet_Description_UserLocalizedLabel_IsManaged | Boolean | Specifies if the user-localized description label is managed (part of a managed solution). | |
| OptionSet_Description_UserLocalizedLabel_Label | String | The localized label text for the option set description. | |
| OptionSet_Description_UserLocalizedLabel_LanguageCode | Integer | The language code corresponding to the localized description label. | |
| OptionSet_Description_UserLocalizedLabel_MetadataId | String | The unique identifier for the metadata associated with the localized description label. | |
| OptionSet_DisplayName_LocalizedLabels | String | Localized display names of the picklist options for different languages. | |
| OptionSet_DisplayName_UserLocalizedLabel_HasChanged | String | Indicates whether the user-localized display name label has been modified. | |
| OptionSet_DisplayName_UserLocalizedLabel_IsManaged | Boolean | Specifies if the user-localized display name label is managed (part of a managed solution). | |
| OptionSet_DisplayName_UserLocalizedLabel_Label | String | The localized label text for the option set display name. | |
| OptionSet_DisplayName_UserLocalizedLabel_LanguageCode | Integer | The language code corresponding to the localized display name label. | |
| OptionSet_DisplayName_UserLocalizedLabel_MetadataId | String | The unique identifier for the metadata associated with the localized display name label. | |
| OptionSet_ExternalTypeName | String | The external type name associated with the option set, if applicable. | |
| OptionSet_HasChanged | String | Indicates if the option set has been modified. | |
| OptionSet_IntroducedVersion | String | The version of the system in which the option set was introduced. | |
| OptionSet_IsCustomizable_CanBeChanged | Boolean | Indicates whether the option set can be customized. | |
| OptionSet_IsCustomizable_ManagedPropertyLogicalName | String | The logical name of the managed property that controls the customizability of the option set. | |
| OptionSet_IsCustomizable_Value | Boolean | Specifies if the option set is customizable. | |
| OptionSet_IsCustomOptionSet | Boolean | Indicates whether the option set is custom or part of a managed solution. | |
| OptionSet_IsGlobal | Boolean | Specifies if the option set is global (shared across entities) or local (specific to one entity). | |
| OptionSet_IsManaged | Boolean | Indicates if the option set is managed (part of a managed solution). | |
| OptionSet_MetadataId | String | The unique identifier for the metadata associated with the option set. | |
| OptionSet_Name | String | The name of the option set. | |
| OptionSet_OptionSetType | String | The type of the option set (e.g., picklist, multi-select). | |
| OptionSet_ParentOptionSetName | String | The name of the parent option set, if this option set is part of a hierarchy. | |
| TableName | String | The name of the table where this multi-select picklist attribute is defined. |
Contains the possible selectable options for MultiSelect OptionSet attributes, enabling multi-value selections.
Sync App はMicrosoft Dataverse API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
TableName でフィルタリングしない場合、Sync App は最初に見つかったテーブルの結果を返します。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM MultiSelectPickListOptions WHERE TableName = 'teams'
SELECT * FROM MultiSelectPickListOptions WHERE TableName IN ('accounts', 'teams')
| Name | Type | References | Description |
| ColumnName | String |
MultiSelectPickListAttributeMetaData.ColumnName | The name of the column in the table where the multi-select picklist option is defined. |
| Color | String | The color code associated with the picklist option, often used for UI display purposes. | |
| ExternalValue | String | An external system value mapped to this picklist option, if applicable. | |
| HasChanged | String | Indicates whether the option has been modified since its creation or last update. | |
| IsManaged | Boolean | Specifies if the picklist option is managed (part of a managed solution). | |
| Label_LocalizedLabels | String | Localized labels for the picklist option in different languages. | |
| Label_UserLocalizedLabel_HasChanged | String | Indicates if the user-customized label for the picklist option has been modified. | |
| Label_UserLocalizedLabel_IsManaged | Boolean | Specifies if the user-customized label for the picklist option is managed. | |
| Label_UserLocalizedLabel_Label | String | The user-customized label text for the picklist option. | |
| Label_UserLocalizedLabel_LanguageCode | Integer | The language code corresponding to the user-customized label. | |
| Label_UserLocalizedLabel_MetadataId | String | The unique identifier for the metadata of the user-customized label. | |
| Description_LocalizedLabels | String | Localized descriptions for the picklist option in different languages. | |
| Description_UserLocalizedLabel_HasChanged | String | Indicates if the user-customized description for the picklist option has been modified. | |
| Description_UserLocalizedLabel_IsManaged | Boolean | Specifies if the user-customized description for the picklist option is managed. | |
| Description_UserLocalizedLabel_Label | String | The user-customized description text for the picklist option. | |
| Description_UserLocalizedLabel_LanguageCode | Integer | The language code corresponding to the user-customized description. | |
| Description_UserLocalizedLabel_MetadataId | String | The unique identifier for the metadata of the user-customized description. | |
| MetadataId | String | The unique identifier for the metadata associated with the picklist option. | |
| ParentValues | String | Specifies the parent values for hierarchical picklist options, if applicable. | |
| Value | Integer | The integer value associated with this picklist option, used for storage and retrieval. | |
| TableName | String | The name of the table where this picklist option is defined. |
Holds metadata for attributes of type Picklist, describing the single-option selection fields in the system.
Sync App はMicrosoft Dataverse API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
TableName でフィルタリングしない場合、Sync App は最初に見つかったテーブルの結果を返します。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM PickListAttributeMetaData WHERE TableName = 'teams'
SELECT * FROM PickListAttributeMetaData WHERE TableName IN ('accounts', 'teams')
| Name | Type | References | Description |
| ColumnName [KEY] | String | The name of the column in the table where the picklist attribute is defined. | |
| MetadataId | String | The unique identifier for the metadata associated with this attribute. | |
| OptionSet_Description_LocalizedLabels | String | Localized descriptions of the options in the picklist for various supported languages. | |
| OptionSet_Description_UserLocalizedLabel_HasChanged | String | Indicates whether the user-customized description label has been modified. | |
| OptionSet_Description_UserLocalizedLabel_IsManaged | Boolean | Specifies if the user-customized description label is managed (part of a managed solution). | |
| OptionSet_Description_UserLocalizedLabel_Label | String | The localized label text for the description of the picklist. | |
| OptionSet_Description_UserLocalizedLabel_LanguageCode | Integer | The language code associated with the user-localized description label. | |
| OptionSet_Description_UserLocalizedLabel_MetadataId | String | The unique identifier for the metadata of the user-localized description label. | |
| OptionSet_DisplayName_LocalizedLabels | String | Localized display names for the picklist options in various languages. | |
| OptionSet_DisplayName_UserLocalizedLabel_HasChanged | String | Indicates whether the user-customized display name label has been modified. | |
| OptionSet_DisplayName_UserLocalizedLabel_IsManaged | Boolean | Specifies if the user-customized display name label is managed (part of a managed solution). | |
| OptionSet_DisplayName_UserLocalizedLabel_Label | String | The localized label text for the display name of the picklist. | |
| OptionSet_DisplayName_UserLocalizedLabel_LanguageCode | Integer | The language code associated with the user-localized display name label. | |
| OptionSet_DisplayName_UserLocalizedLabel_MetadataId | String | The unique identifier for the metadata of the user-localized display name label. | |
| OptionSet_ExternalTypeName | String | The external type name associated with the option set, if applicable. | |
| OptionSet_HasChanged | String | Indicates if the option set has been modified since its creation or last update. | |
| OptionSet_IntroducedVersion | String | The version of the system in which the option set was introduced. | |
| OptionSet_IsCustomizable_CanBeChanged | Boolean | Indicates whether the option set can be customized by the user or administrators. | |
| OptionSet_IsCustomizable_ManagedPropertyLogicalName | String | The logical name of the managed property controlling customizability of the option set. | |
| OptionSet_IsCustomizable_Value | Boolean | Specifies if the option set is customizable. | |
| OptionSet_IsCustomOptionSet | Boolean | Indicates whether the option set is custom or part of a default configuration. | |
| OptionSet_IsGlobal | Boolean | Specifies if the option set is global (shared across entities) or local (specific to one entity). | |
| OptionSet_IsManaged | Boolean | Indicates if the option set is managed (part of a managed solution). | |
| OptionSet_MetadataId | String | The unique identifier for the metadata associated with the option set. | |
| OptionSet_Name | String | The name of the option set. | |
| OptionSet_OptionSetType | String | The type of the option set (e.g., picklist, drop-down). | |
| OptionSet_ParentOptionSetName | String | The name of the parent option set, if this option set is part of a hierarchy. | |
| TableName | String | The name of the table where the picklist attribute is defined. |
Defines the set of selectable options available for Picklist attributes, supporting user-defined field values.
Sync App はMicrosoft Dataverse API を使用して、以下のカラムと演算子で作成されたWHERE 句条件を処理します。その他のフィルタはクライアントサイドでSync App 内部で処理されます。
TableName でフィルタリングしない場合、Sync App は最初に見つかったテーブルの結果を返します。
例えば、次のクエリはサーバーサイドで処理されます。
SELECT * FROM PickListOptions WHERE TableName = 'teams'
SELECT * FROM PickListOptions WHERE TableName IN ('accounts', 'teams')
| Name | Type | References | Description |
| ColumnName | String |
PickListAttributeMetaData.ColumnName | The name of the column in the table where the picklist option is defined. |
| Color | String | The color code associated with the picklist option, often used for display purposes in user interfaces. | |
| ExternalValue | String | An external value associated with this picklist option, used for integration with external systems. | |
| HasChanged | String | Indicates whether the picklist option has been modified since its creation or last update. | |
| IsManaged | Boolean | Specifies if the picklist option is managed (part of a managed solution). | |
| Label_LocalizedLabels | String | Localized labels for the picklist option in multiple languages. | |
| Label_UserLocalizedLabel_HasChanged | String | Indicates if the user-customized label for the picklist option has been modified. | |
| Label_UserLocalizedLabel_IsManaged | Boolean | Specifies if the user-customized label for the picklist option is managed (part of a managed solution). | |
| Label_UserLocalizedLabel_Label | String | The user-customized label text for the picklist option. | |
| Label_UserLocalizedLabel_LanguageCode | Integer | The language code corresponding to the user-customized label. | |
| Label_UserLocalizedLabel_MetadataId | String | The unique identifier for the metadata associated with the user-customized label. | |
| Description_LocalizedLabels | String | Localized descriptions for the picklist option in various supported languages. | |
| Description_UserLocalizedLabel | String | The user-customized description for the picklist option, providing additional context or meaning. | |
| MetadataId | String | The unique identifier for the metadata associated with this picklist option. | |
| ParentValues | String | Specifies the parent values for hierarchical picklist options, if applicable. | |
| Value | Integer | The integer value associated with this picklist option, used for storage and retrieval. | |
| TableName | String | The name of the table where this picklist option is defined. |
Provides metadata for attributes of type State, describing state-related fields used for status tracking or categorization.
TableName でフィルタリングしない場合、Sync App は最初に見つかったテーブルの結果を返します。
以下の例は、特定のテーブルまたはテーブルのリストに対してビューをクエリする方法を示しています。
SELECT * FROM StateAttributeMetaData WHERE TableName='AccountLeads'
SELECT * FROM StateAttributeMetaData WHERE TableName IN ('Account','AccountLead');
| Name | Type | References | Description |
| ColumnName [KEY] | String | The name of the column in the table where the state attribute is defined. | |
| MetadataId | String | The unique identifier for the metadata associated with this state attribute. | |
| OptionSet_Description_LocalizedLabels | String | Localized descriptions for the state options in various supported languages. | |
| OptionSet_Description_UserLocalizedLabel_HasChanged | String | Indicates whether the user-customized description label for the state options has been modified. | |
| OptionSet_Description_UserLocalizedLabel_IsManaged | Boolean | Specifies if the user-customized description label for the state options is managed (part of a managed solution). | |
| OptionSet_Description_UserLocalizedLabel_Label | String | The user-customized label text for the description of the state options. | |
| OptionSet_Description_UserLocalizedLabel_LanguageCode | Integer | The language code associated with the user-customized description label. | |
| OptionSet_Description_UserLocalizedLabel_MetadataId | String | The unique identifier for the metadata of the user-customized description label. | |
| OptionSet_DisplayName_LocalizedLabels | String | Localized display names for the state options in various supported languages. | |
| OptionSet_DisplayName_UserLocalizedLabel_HasChanged | String | Indicates whether the user-customized display name label for the state options has been modified. | |
| OptionSet_DisplayName_UserLocalizedLabel_IsManaged | Boolean | Specifies if the user-customized display name label for the state options is managed (part of a managed solution). | |
| OptionSet_DisplayName_UserLocalizedLabel_Label | String | The user-customized label text for the display name of the state options. | |
| OptionSet_DisplayName_UserLocalizedLabel_LanguageCode | Integer | The language code associated with the user-customized display name label. | |
| OptionSet_DisplayName_UserLocalizedLabel_MetadataId | String | The unique identifier for the metadata of the user-customized display name label. | |
| OptionSet_ExternalTypeName | String | The external type name associated with the state options, if applicable. | |
| OptionSet_HasChanged | String | Indicates whether the state option set has been modified since its creation or last update. | |
| OptionSet_IntroducedVersion | String | The version of the system in which the state option set was introduced. | |
| OptionSet_IsCustomizable_CanBeChanged | Boolean | Indicates whether the state option set can be customized by the user or administrators. | |
| OptionSet_IsCustomizable_ManagedPropertyLogicalName | String | The logical name of the managed property controlling the customizability of the state option set. | |
| OptionSet_IsCustomizable_Value | Boolean | Specifies if the state option set is customizable. | |
| OptionSet_IsCustomOptionSet | Boolean | Indicates whether the state option set is custom or part of a default configuration. | |
| OptionSet_IsGlobal | Boolean | Specifies if the state option set is global (shared across entities) or local (specific to one entity). | |
| OptionSet_IsManaged | Boolean | Indicates if the state option set is managed (part of a managed solution). | |
| OptionSet_MetadataId | String | The unique identifier for the metadata associated with the state option set. | |
| OptionSet_Name | String | The name of the state option set. | |
| OptionSet_OptionSetType | String | The type of the state option set (e.g., picklist, drop-down). | |
| OptionSet_ParentOptionSetName | String | The name of the parent option set, if this state option set is part of a hierarchy. | |
| TableName | String | The name of the table where this state attribute is defined. |
Lists the selectable states available for State attributes, representing various predefined states.
TableName でフィルタリングしない場合、Sync App は最初に見つかったテーブルの結果を返します。
以下の例は、特定のテーブルまたはテーブルのリストに対してビューをクエリする方法を示しています。
SELECT * FROM StateAttributeOptions WHERE TableName='AccountLeads'
SELECT * FROM StateAttributeOptions WHERE TableName IN ('Account','AccountLead');
| Name | Type | References | Description |
| ColumnName | String |
StateAttributeMetadata.ColumnName | The name of the column in the table where the state option is defined. |
| Color | String | The color code associated with the state option, often used for UI representation. | |
| ExternalValue | String | An external system value mapped to this state option, if applicable. | |
| HasChanged | String | Indicates whether the state option has been modified since its creation or last update. | |
| IsManaged | Boolean | Specifies if the state option is managed (part of a managed solution). | |
| Label_LocalizedLabels | String | Localized labels for the state option in various supported languages. | |
| Label_UserLocalizedLabel_HasChanged | String | Indicates if the user-customized label for the state option has been modified. | |
| Label_UserLocalizedLabel_IsManaged | Boolean | Specifies if the user-customized label for the state option is managed (part of a managed solution). | |
| Label_UserLocalizedLabel_Label | String | The user-customized label text for the state option. | |
| Label_UserLocalizedLabel_LanguageCode | Integer | The language code corresponding to the user-customized label. | |
| Label_UserLocalizedLabel_MetadataId | String | The unique identifier for the metadata associated with the user-customized label. | |
| Description_LocalizedLabels | String | Localized descriptions for the state option in various supported languages. | |
| Description_UserLocalizedLabel | String | The user-customized description for the state option, providing additional context or details. | |
| MetadataId | String | The unique identifier for the metadata associated with the state option. | |
| ParentValues | String | Specifies the parent values for hierarchical state options, if applicable. | |
| Value | Integer | The integer value associated with this state option, used for storage and retrieval. | |
| TableName | String | The name of the table where this state option is defined. |
Contains metadata for attributes of type Status, often used to track the lifecycle or current condition of an entity.
TableName でフィルタリングしない場合、Sync App は最初に見つかったテーブルの結果を返します。
以下の例は、特定のテーブルまたはテーブルのリストに対してビューをクエリする方法を示しています。
SELECT * FROM StatusAttributeMetaData WHERE TableName='AccountLeads'
SELECT * FROM StatusAttributeMetaData WHERE TableName IN ('Account','AccountLead');
| Name | Type | References | Description |
| ColumnName [KEY] | String | The name of the column in the table where the status attribute is defined. | |
| MetadataId | String | The unique identifier for the metadata associated with this status attribute. | |
| OptionSet_Description_LocalizedLabels | String | Localized descriptions for the status options in various supported languages. | |
| OptionSet_Description_UserLocalizedLabel_HasChanged | String | Indicates whether the user-customized description label for the status options has been modified. | |
| OptionSet_Description_UserLocalizedLabel_IsManaged | Boolean | Specifies if the user-customized description label for the status options is managed (part of a managed solution). | |
| OptionSet_Description_UserLocalizedLabel_Label | String | The user-customized label text for the description of the status options. | |
| OptionSet_Description_UserLocalizedLabel_LanguageCode | Integer | The language code associated with the user-customized description label. | |
| OptionSet_Description_UserLocalizedLabel_MetadataId | String | The unique identifier for the metadata of the user-customized description label. | |
| OptionSet_DisplayName_LocalizedLabels | String | Localized display names for the status options in various supported languages. | |
| OptionSet_DisplayName_UserLocalizedLabel_HasChanged | String | Indicates whether the user-customized display name label for the status options has been modified. | |
| OptionSet_DisplayName_UserLocalizedLabel_IsManaged | Boolean | Specifies if the user-customized display name label for the status options is managed (part of a managed solution). | |
| OptionSet_DisplayName_UserLocalizedLabel_Label | String | The user-customized label text for the display name of the status options. | |
| OptionSet_DisplayName_UserLocalizedLabel_LanguageCode | Integer | The language code associated with the user-customized display name label. | |
| OptionSet_DisplayName_UserLocalizedLabel_MetadataId | String | The unique identifier for the metadata of the user-customized display name label. | |
| OptionSet_ExternalTypeName | String | The external type name associated with the status options, if applicable. | |
| OptionSet_HasChanged | String | Indicates whether the status option set has been modified since its creation or last update. | |
| OptionSet_IntroducedVersion | String | The version of the system in which the status option set was introduced. | |
| OptionSet_IsCustomizable_CanBeChanged | Boolean | Indicates whether the status option set can be customized by the user or administrators. | |
| OptionSet_IsCustomizable_ManagedPropertyLogicalName | String | The logical name of the managed property controlling the customizability of the status option set. | |
| OptionSet_IsCustomizable_Value | Boolean | Specifies if the status option set is customizable. | |
| OptionSet_IsCustomOptionSet | Boolean | Indicates whether the status option set is custom or part of a default configuration. | |
| OptionSet_IsGlobal | Boolean | Specifies if the status option set is global (shared across entities) or local (specific to one entity). | |
| OptionSet_IsManaged | Boolean | Indicates if the status option set is managed (part of a managed solution). | |
| OptionSet_MetadataId | String | The unique identifier for the metadata associated with the status option set. | |
| OptionSet_Name | String | The name of the status option set. | |
| OptionSet_OptionSetType | String | The type of the status option set (e.g., picklist, drop-down). | |
| OptionSet_ParentOptionSetName | String | The name of the parent option set, if this status option set is part of a hierarchy. | |
| TableName | String | The name of the table where this status attribute is defined. |
Defines the set of statuses that can be assigned to Status attributes, supporting status-driven workflows.
TableName でフィルタリングしない場合、Sync App は最初に見つかったテーブルの結果を返します。
以下の例は、特定のテーブルまたはテーブルのリストに対してビューをクエリする方法を示しています。
SELECT * FROM StatusAttributesOptions WHERE TableName='AccountLeads'
SELECT * FROM StatusAttributesOptions WHERE TableName IN ('Account','AccountLead');
| Name | Type | References | Description |
| ColumnName | String |
StatusAttributeMetadata.ColumnName | The name of the column in the table where the status option is defined. |
| Color | String | The color code associated with the status option, typically used for visual representation in user interfaces. | |
| ExternalValue | String | An external system value mapped to this status option, if applicable. | |
| HasChanged | String | Indicates whether the status option has been modified since its creation or last update. | |
| IsManaged | Boolean | Specifies if the status option is managed (part of a managed solution). | |
| Label_LocalizedLabels | String | Localized labels for the status option in various supported languages. | |
| Label_UserLocalizedLabel_HasChanged | String | Indicates if the user-customized label for the status option has been modified. | |
| Label_UserLocalizedLabel_IsManaged | Boolean | Specifies if the user-customized label for the status option is managed (part of a managed solution). | |
| Label_UserLocalizedLabel_Label | String | The user-customized label text for the status option. | |
| Label_UserLocalizedLabel_LanguageCode | Integer | The language code corresponding to the user-customized label. | |
| Label_UserLocalizedLabel_MetadataId | String | The unique identifier for the metadata associated with the user-customized label. | |
| Description_LocalizedLabels | String | Localized descriptions for the status option in various supported languages. | |
| Description_UserLocalizedLabel | String | The user-customized description for the status option, providing additional context or details. | |
| MetadataId | String | The unique identifier for the metadata associated with the status option. | |
| ParentValues | String | Specifies the parent values for hierarchical status options, if applicable. | |
| Value | Integer | The integer value associated with this status option, used for storage and retrieval. | |
| TableName | String | The name of the table where this status option is defined. |
ストアドプロシージャはファンクションライクなインターフェースで、Microsoft Dataverse の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずSync App の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにMicrosoft Dataverse から関連するレスポンスデータを返します。
| Name | Description |
Produces a schema file outlining the structure of the specified table or view, supporting data analysis and integration.
データモデル内の既存のテーブルまたはビューからローカルスキーマファイル(.rsd)を作成します。
スキーマファイルは、このプロシージャが実行されると、Location 接続プロパティで設定されたディレクトリに作成されます。ファイルを編集してカラムを含めたり除外したり、カラム名を変更したり、カラムのデータ型を変更したりできます。
Sync App はLocation を確認し、.rsd ファイルの名前がデータモデルのテーブルまたはビューに一致するかどうかを判断します。重複がある場合、スキーマファイルはデータモデル内のこのテーブルのデフォルトインスタンスよりも優先されます。既存のテーブルまたはビューに一致しないスキーマファイルがLocation に存在する場合、新しいテーブルまたはビューのエントリがSync App のデータモデルに追加されます。
| Name | Type | Required | Description |
| TableName | String | True | The name of the table or view for which the schema will be generated. Provide the exact name as it appears in Common Data Service. |
| FileName | String | False | The file name for the generated schema. The file will be generated in 'Location property' + 'Entities' + 'FileName'. For example, if FileName is set to 'table.rsd', then the file will be generated in '%APPDATA%\\CData\\CDS Data Provider\\Schema\\Entities\\table.rsd' |
| Name | Type | Description |
| FileData | String | The file data that will be outputted encoded in Base64, if the FileName and FileStream inputs are not set. |
| Result | String | Indicates whether the schema generation was successful or failed. |
Microsoft Dataverse へのAPI コールの認証および認可に使用されるOAuth Access Token を取得します。
| Name | Type | Required | Description |
| AuthMode | String | False | 使用する認証方法を指定します。デスクトップまたはサーバーサイドのアプリケーションの場合は'App' に、クライアントサイドまたはブラウザベースのアプリケーションの場合は'Web' に設定します。
デフォルト値はAPPです。 |
| Verifier | String | False | ユーザー認証後にサービスから返される一意のコード。'Web' 認証モードでのみアクセストークンを取得するために必要です。GetOAuthAuthorizationUrl で与えられるURL から取得します。 |
| CallbackUrl | String | False | 認可プロセス完了後にユーザーがリダイレクトされるエンドポイントURL。これがサービスに登録されているURL と一致していることを確認してください。 |
| State | String | False | リクエストとコールバック間の状態を維持するために、アプリケーションが送信するオプションの値。レスポンスが特定のリクエストに関連付けられていることを確認したり、CSRF 攻撃を回避したり、サイトのユーザーナビゲーションを処理したりするのに役立ちます。 |
| Prompt | String | False | 認証プロンプトの動作を決定します。オプションには、'select_account'(ユーザーにアカウントを選択させる)、'None'(プロンプトなし)、'login'(資格情報の入力を要求する)、または'consent'(権限付与ダイアログを表示させる)があります。 |
| Name | Type | Description |
| OAuthAccessToken | String | ユーザーまたはアプリケーションに代わって認可されたAPI リクエストを行うために必要なOAuth Access Token。 |
| OAuthRefreshToken | String | ユーザーの再認証を必要とせずに新しいアクセストークンを取得するために使用されるトークン。 |
| ExpiresIn | Long | アクセストークンの有効期限が切れるまでの秒数で、その後新しいトークンをリクエストする必要があります。 |
OAuth Authorization URL を取得します。これにより、クライアントがユーザーのブラウザを認可サーバーに直接誘導し、OAuth プロセスを開始できるようになります。
| Name | Type | Required | Description |
| CallbackURL | String | False | 認可プロセス完了後にユーザーがリダイレクトされるエンドポイントURL。エラーを避けるため、これがサービスに登録されているURL と一致していることを確認してください。 |
| State | String | False | リクエストとコールバック間の状態を維持するために、アプリケーションが送信するオプションの値。レスポンスが特定のリクエストに関連付けられていることを確認したり、CSRF 攻撃を回避したり、リダイレクト後のユーザー固有のワークフローを処理したりするのに役立ちます。 |
| Prompt | String | False | 認証プロンプトの動作を指定します。オプションには、'select_account'(ユーザーにアカウントを選択させる)、'None'(プロンプトなし)、'login'(ユーザーに資格情報の再入力を要求する)、または'consent'(権限付与ダイアログを表示する)があります。 |
| Name | Type | Description |
| Url | String | OAuth プロバイダーによって生成された、ユーザーがアプリケーションに認可を与えるためにアクセスしなければならないURL。通常、callback、state、scope のクエリパラメータが含まれます。 |
期限切れのOAuth Access Token をリフレッシュし、ユーザーからの再認可を要求することなく、Microsoft Dataverse リソースへの継続的な認証済みのアクセスを維持します。
| Name | Type | Required | Description |
| OAuthRefreshToken | String | True | 最初の認可プロセスで取得したリフレッシュトークン。ユーザーの再認証を必要とせずに新しいアクセストークンを要求するために使用します。 |
| Name | Type | Description |
| OAuthAccessToken | String | 認証されたAPI リクエストに使用される、新しく生成されたOAuth Access Token。 |
| OAuthRefreshToken | String | 今後のアクセストークンリクエストに使用できる、リフレッシュされたトークン。このトークンは、以前のリフレッシュトークンを置き換えることができます。 |
| ExpiresIn | String | 新しいアクセストークンが失効し、再度リフレッシュされるまでの残り時間(秒)。 |
System データモデルは、セキュリティ、監査、システムレベルの操作など、プラットフォームのコア機能をサポートする基本的なフレームワークを定義します。メタデータ、ユーザーロール、ワークフロー、バックグラウンドプロセスを管理し、シームレスなデータガバナンスとビジネスアプリケーション間の統合を実現します。
ストアドプロシージャ は、SQLクエリを介して呼び出されるアクションです。標準的なCRUD 操作だけでなく、OAuth アクセストークンの取得や更新などより高度なタスクも実行します。
ストアドプロシージャはファンクションライクなインターフェースで、Microsoft Dataverse の単純なSELECT/INSERT/UPDATE/DELETE 処理にとどまらずSync App の機能を拡張します。
ストアドプロシージャは、パラメータのリストを受け取り、目的の機能を実行し、プロシージャが成功したか失敗したかを示すとともにMicrosoft Dataverse から関連するレスポンスデータを返します。
| Name | Description |
| CreateAssociation | ナビゲーションプロパティを使用して、2つのエンティティ間の関連を確立します。接続設定でナビゲーションプロパティが有効になっている必要があります。 |
| ListAssociations | 指定されたテーブルとそのナビゲーションプロパティのすべての関連付けを表示し、エンティティのリレーションシップを詳述します。 |
| ListNavigationProperties | 指定されたテーブルとその関連テーブルのナビゲーションプロパティをリストし、リレーションシップの発見を支援します。 |
| RemoveAssociation | ナビゲーションプロパティで管理されている、2つのエンティティ間の確立済みのリンクを削除します。 |
ナビゲーションプロパティを使用して、2つのエンティティ間の関連を確立します。接続設定でナビゲーションプロパティが有効になっている必要があります。
このプロシージャを実行するには、次のように入力します。
EXEC CreateAssociation FromId='your-account-id', FromTable='accounts', ToNavigationProperty='primarycontactid', ToId='your-contact-id'
| Name | Type | Required | Description |
| FromId | String | True | 関連付けを確立するソースエンティティの一意の識別子(Id)。 |
| FromTable | String | True | ソースエンティティを含むテーブルの名前。例えば、FromId がCustomers テーブルのレコードに属する場合、このパラメータを'Customers' に設定します。 |
| ToNavigationProperty | String | True | リレーションシップを定義するために使用されるナビゲーションプロパティの名前。このプロパティは、ListNavigationProperties プロシージャを使用して取得できます。 |
| ToId | String | True | ナビゲーションプロパティで定義された関連テーブル内のターゲットエンティティの一意の識別子(Id)。 |
| Name | Type | Description |
| Success | Boolean | 関連付け作成操作が成功(true)したか失敗(false)したかを示すboolean 値。 |
Produces a schema file outlining the structure of the specified table or view, supporting data analysis and integration.
データモデル内の既存のテーブルまたはビューからローカルスキーマファイル(.rsd)を作成します。
スキーマファイルは、このプロシージャが実行されると、Location 接続プロパティで設定されたディレクトリに作成されます。ファイルを編集してカラムを含めたり除外したり、カラム名を変更したり、カラムのデータ型を変更したりできます。
Sync App はLocation を確認し、.rsd ファイルの名前がデータモデルのテーブルまたはビューに一致するかどうかを判断します。重複がある場合、スキーマファイルはデータモデル内のこのテーブルのデフォルトインスタンスよりも優先されます。既存のテーブルまたはビューに一致しないスキーマファイルがLocation に存在する場合、新しいテーブルまたはビューのエントリがSync App のデータモデルに追加されます。
| Name | Type | Required | Description |
| TableName | String | True | The name of the table or view for which the schema will be generated. Provide the exact name as it appears in Common Data Service. |
| FileName | String | False | The file name for the generated schema. The file will be generated in 'Location property' + 'System' + 'FileName'. For example, if FileName is set to 'table.rsd', then the file will be generated in '%APPDATA%\\CData\\CDS Data Provider\\Schema\\System\\table.rsd' |
| Name | Type | Description |
| FileData | String | The file data that will be outputted encoded in Base64, if the FileName and FileStream inputs are not set. |
| Result | String | Indicates whether the schema generation was successful or failed. |
Microsoft Dataverse へのAPI コールの認証および認可に使用されるOAuth Access Token を取得します。
| Name | Type | Required | Description |
| AuthMode | String | False | 使用する認証方法を指定します。デスクトップまたはサーバーサイドのアプリケーションの場合は'App' に、クライアントサイドまたはブラウザベースのアプリケーションの場合は'Web' に設定します。
デフォルト値はAPPです。 |
| Verifier | String | False | ユーザー認可後にサービスによって提供される一意のverifier コード。このコードは、'Web' 認証モードを使用する際にアクセストークンと交換するために必要です。GetOAuthAuthorizationUrl によって返されるURL に移動して取得します。 |
| CallbackUrl | String | False | アプリケーションの認可後にユーザーがリダイレクトされるエンドポイントURL。これがOAuth プロバイダーに登録されているURL と一致していることを確認してください。 |
| State | String | False | リクエストとコールバックの間でアプリケーションの状態を保持するためのオプションのパラメータ。OAuth サーバーに送信され、レスポンスで返されます。CSRF の回避、ユーザー固有のルーティング、セッション状態の管理などに役立ちます。 |
| Prompt | String | False | ユーザー認証プロンプトの動作を定義します。オプションには、'select_account'(アカウントを選択するプロンプト)、'None'(プロンプトなし)、'login'(資格情報の入力を強制)、'consent'(アクセス許可についてユーザーの同意を要求)があります。 |
| Name | Type | Description |
| OAuthAccessToken | String | OAuth サービスから返されるOAuth Access Token で、ユーザーまたはアプリケーションに代わって認可されたAPI リクエストを行うために使用されます。 |
| ExpiresIn | Long | アクセストークンの有効期限が切れるまでの残り時間(秒)。有効期限が切れると、新しいトークンをリクエストする必要があります。 |
| OAuthRefreshToken | String | ユーザーの再認証を必要とせずにアクセストークンをリフレッシュするために使用されるトークン。 |
OAuth Authorization URL を取得します。これにより、クライアントがユーザーのブラウザを認可サーバーに直接誘導し、OAuth プロセスを開始できるようになります。
| Name | Type | Required | Description |
| CallbackURL | String | False | 認可プロセス完了後にユーザーがリダイレクトされるエンドポイントURL。リダイレクトを成功させるためには、OAuth プロバイダーに登録されているコールバックURL と一致する必要があります。 |
| State | String | False | リクエストとコールバックの間でアプリケーションの状態を保持するためのオプションのパラメータ。OAuth サーバーに送信され、レスポンスで返されます。セッション状態の管理、CSRF 対策、ユーザーを特定のアプリケーションリソースにリダイレクトする場合などに役立ちます。 |
| Prompt | String | False | 認証プロンプトの動作を指定します。オプションには、'select_account'(ユーザーにアカウントを選択させるプロンプト)、'None'(プロンプトなし)、'login'(再認証を強制)、'consent'(アクセス許可についてユーザーの同意を要求)があります。デフォルトは'select_account' です。 |
| Name | Type | Description |
| Url | String | アプリケーションにアクセス許可を付与するためにユーザーがアクセスする、生成された認可URL。URL には、コールバックURL、ステート、スコープなどの必要なクエリパラメータが含まれます。 |
指定されたテーブルとそのナビゲーションプロパティのすべての関連付けを表示し、エンティティのリレーションシップを詳述します。
このプロシージャを実行するには、次のように入力します。
EXEC ListAssociations FromId='your-account-id', FromTable='accounts', NavigationProperty='primarycontactid'
| Name | Type | Required | Description |
| FromId | String | True | 関連エンティティのリストを作成するソースエンティティの一意の識別子(Id)。 |
| FromTable | String | True | ソースエンティティを含むテーブルの名前。例えば、FromId がCustomers テーブルのレコードに属する場合、このパラメータを'Customers' に設定します。 |
| NavigationProperty | String | True | 取得したいリレーションシップを表すナビゲーションプロパティの名前。これは、ListNavigationProperties プロシージャを使用して取得できます。 |
| Name | Type | Description |
| Uri | String | 指定されたナビゲーションプロパティを通じて関連レコードにアクセスする方法を提供する、関連エンティティへのリンクURL。 |
期限切れのOAuth Access Token をリフレッシュし、ユーザーからの再認可を要求することなく、Microsoft Dataverse リソースへの継続的な認証済みのアクセスを維持します。
| Name | Type | Required | Description |
| OAuthRefreshToken | String | True | 最初の認可プロセスで取得したリフレッシュトークン。ユーザーの再認証を必要とせずに新しいアクセストークンを要求するために使用します。 |
| Name | Type | Description |
| OAuthAccessToken | String | OAuth サービスによって新たに生成されたOAuth Access Token で、認証されたAPI リクエストに使用されます。 |
| OAuthRefreshToken | String | 今後アクセストークンをリクエストする際に使用できるリフレッシュトークンで、発行された場合は古いリフレッシュトークンを置き換えます。 |
| ExpiresIn | String | 新しく生成されたアクセストークンが失効し、リフレッシュされるまでの残り時間(秒)。 |
ナビゲーションプロパティで管理されている、2つのエンティティ間の確立済みのリンクを削除します。
このプロシージャを実行するには、次のように入力します。
EXEC RemoveAssociation FromId='your-account-id', FromTable='accounts', ToNavigationProperty='primarycontactid', ToId='your-contact-id'
| Name | Type | Required | Description |
| FromId | String | True | 関連付けを削除したいソースエンティティの一意の識別子(Id)。 |
| FromTable | String | True | ソースエンティティを含むテーブルの名前。例えば、FromId がCustomers テーブルのレコードに属する場合、このパラメータを'Customers' に設定します。 |
| ToNavigationProperty | String | True | 削除したいリレーションシップを表すナビゲーションプロパティの名前。このプロパティは、ListNavigationProperties プロシージャを使用して取得できます。 |
| ToId | String | True | ナビゲーションプロパティで定義された関連テーブル内のターゲットエンティティの一意の識別子(Id)。 |
| Name | Type | Description |
| Success | Boolean | 関連付け削除操作が成功(true)したか失敗(false)したかを示すboolean 値。 |
Sync App は、データソースの型を、スキーマで使用可能な対応するデータ型にマッピングします。以下のテーブルはこれらのマッピングを説明します。
| Microsoft Dataverse (OData V4) | CData スキーマ |
| Edm.Binary | binary |
| Edm.Boolean | bool |
| Edm.Date | datetime |
| Edm.DateTimeOffset | datetime |
| Edm.Decimal | decimal |
| Edm.Double | double |
| Edm.Guid | guid |
| Edm.Int32 | int |
| Edm.String | string |
| Edm.TimeOfDay | time |
| プロパティ | 説明 |
| AuthScheme | Microsoft Dataverse に接続する際に使用する認証の種類を指定します。このプロパティが空白の場合は、デフォルトの認証が使用されます。 |
| OrganizationURL | Dynamics 365 組織のURL。リソースとも呼ばれます。お使いのMicrosoft Dataverse インスタンスの正確なURL を見つけるには、Web Services ページを検索してください。 |
| ApiVersion | 使用されているAPI のバージョンを示します。認証時に利用可能なAPI 機能の全範囲にアクセスできるように、この設定を最新の状態に保ってください。 |
| プロパティ | 説明 |
| AzureTenant | データにアクセスするために使用されているMicrosoft Dataverse テナントを識別します。テナントのドメイン名(例: contoso.onmicrosoft.com )またはディレクトリ(テナント)ID のいずれかを受け付けます。 |
| AzureEnvironment | 接続するAzure ネットワーク環境を指定します。Azure アカウントが追加されたネットワークと同じである必要があります。 |
| プロパティ | 説明 |
| OAuthClientId | カスタムOAuth アプリケーションに割り当てられたクライアントID(コンシューマーキーとも呼ばれます)を指定します。このID は、認証時にOAuth 認可サーバーにアプリケーションを識別させるために必要です。 |
| OAuthClientSecret | カスタムOAuth アプリケーションに割り当てられたクライアントシークレットを指定します。この機密情報は、OAuth 認可サーバーに対してアプリケーションを認証するために使用されます。(カスタム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 です。 |
| Schema | Microsoft Dataverse からメタデータをリストする際に使用するスキーマを指定します。 |
| プロパティ | 説明 |
| AllowNavigationDisassociation | Specifies whether the provider binds navigation properties to null values. |
| ContinueOnError | エラーが発生した後にバッチリクエストを続行するかどうかを指定します(OData 4.0 以降のみ)。 |
| EntityTypes | When using entity definitions define what type of entities to include during metadata discovery. |
| IncludeFormattedValues | Specifies whether columns that hold formatted values should be exposed. |
| IncludeLookUpLogicalName | Indicates if the referenced entity name for a LookUp field should be exposed. |
| IncludeNavigationKeys | Specifies whether the column listing should include the primary keys of navigation properties. (JSON responses only) |
| IncludeNavigationProperties | Specifies whether the column listing should include navigation properties. |
| MaxRows | 集計やGROUP BY を含まないクエリで返される最大行数を指定します。 |
| Other | 特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。 |
| UseDisplayNames | If set to true, the provider will use display names for some operations. |
| UserDefinedViews | カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。 |
このセクションでは、本プロバイダーの接続文字列で設定可能なAuthentication プロパティの全リストを提供します。
| プロパティ | 説明 |
| AuthScheme | Microsoft Dataverse に接続する際に使用する認証の種類を指定します。このプロパティが空白の場合は、デフォルトの認証が使用されます。 |
| OrganizationURL | Dynamics 365 組織のURL。リソースとも呼ばれます。お使いのMicrosoft Dataverse インスタンスの正確なURL を見つけるには、Web Services ページを検索してください。 |
| ApiVersion | 使用されているAPI のバージョンを示します。認証時に利用可能なAPI 機能の全範囲にアクセスできるように、この設定を最新の状態に保ってください。 |
Microsoft Dataverse に接続する際に使用する認証の種類を指定します。このプロパティが空白の場合は、デフォルトの認証が使用されます。
AuthScheme には以下が含まれます。
Azure AD で認証するためのカスタムアプリケーションの作成方法については、Entra ID(Azure AD)アプリケーションの作成 を参照してください。
Azure AD サービスプリンシパルで認証するためのカスタムアプリケーションの作成方法については、Entra ID(AzureAD)でのサービスプリンシパルアプリの作成 を参照してください。
Dynamics 365 組織のURL。リソースとも呼ばれます。お使いのMicrosoft Dataverse インスタンスの正確なURL を見つけるには、Web Services ページを検索してください。
リソースのURL 形式は通常https://abc123.cloudax.dynamics.com/ に類似していますが、Edition がHumanResources の場合は異なります。 HumanResources のURL は通常次のようになります:https://{cluster}.hr.talent.dynamics.com/namespaces/{namespace_guid}/。
使用されているAPI のバージョンを示します。認証時に利用可能なAPI 機能の全範囲にアクセスできるように、この設定を最新の状態に保ってください。
サービスAPI は、データモデルの新機能にアクセスする手段を提供します。 ApiVersion を変更すると、ドライバーによって公開されるテーブルやカラムを定義するために使用されるサービスドキュメントが変更されます。
このセクションでは、本プロバイダーの接続文字列で設定可能なAzure Authentication プロパティの全リストを提供します。
| プロパティ | 説明 |
| AzureTenant | データにアクセスするために使用されているMicrosoft Dataverse テナントを識別します。テナントのドメイン名(例: contoso.onmicrosoft.com )またはディレクトリ(テナント)ID のいずれかを受け付けます。 |
| AzureEnvironment | 接続するAzure ネットワーク環境を指定します。Azure アカウントが追加されたネットワークと同じである必要があります。 |
データにアクセスするために使用されているMicrosoft Dataverse テナントを識別します。テナントのドメイン名(例: 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 アプリケーションのみ) |
カスタム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:
接続設定時にこのプロパティを使用する方法の詳細については、接続の確立 を参照してください。
このセクションでは、本プロバイダーの接続文字列で設定可能な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 Dataverse への接続を開くポート。トラフィックはこの場所のプロキシを経由して行き来します。 |
| SOCKS4 | 1080 | Sync App がMicrosoft Dataverse への接続を開くポート。SOCKS 4 は次にFirewallUser 値をプロキシに渡し、接続リクエストが許容されるかどうかを決定します。 |
| SOCKS5 | 1080 | Sync App がMicrosoft Dataverse にデータを送信するポート。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 です。 |
| Schema | Microsoft Dataverse からメタデータをリストする際に使用するスキーマを指定します。 |
テーブル、ビュー、およびストアドプロシージャを定義するスキーマファイルを格納するディレクトリの場所を指定します。サービスの要件に応じて、これは絶対パスまたは相対パスのいずれかで表されます。
Location プロパティは、定義をカスタマイズしたり(例えば、カラム名を変更する、カラムを無視するなど)、新しいテーブル、ビュー、またはストアドプロシージャでデータモデルを拡張する場合にのみ必要です。
Note: Sync App は複数のスキーマをサポートするため、Microsoft Dataverse のカスタムスキーマファイルは以下のような構造にになります。
Location は常に親フォルダに設定されるべきで、個々のスキーマのフォルダに設定すべきではありません。
指定しない場合、デフォルトの場所は%APPDATA%\\CData\\CDS 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:複数のスキーマまたはカタログを持つデータソースに接続する場合は、確認する各ビューを完全修飾名で指定する必要があります。これにより、複数のカタログやスキーマに存在するビューが混同されることを防ぎます。
Microsoft Dataverse からメタデータをリストする際に使用するスキーマを指定します。
この接続プロパティには、以下の値を設定できます。
このセクションでは、本プロバイダーの接続文字列で設定可能なMiscellaneous プロパティの全リストを提供します。
| プロパティ | 説明 |
| AllowNavigationDisassociation | Specifies whether the provider binds navigation properties to null values. |
| ContinueOnError | エラーが発生した後にバッチリクエストを続行するかどうかを指定します(OData 4.0 以降のみ)。 |
| EntityTypes | When using entity definitions define what type of entities to include during metadata discovery. |
| IncludeFormattedValues | Specifies whether columns that hold formatted values should be exposed. |
| IncludeLookUpLogicalName | Indicates if the referenced entity name for a LookUp field should be exposed. |
| IncludeNavigationKeys | Specifies whether the column listing should include the primary keys of navigation properties. (JSON responses only) |
| IncludeNavigationProperties | Specifies whether the column listing should include navigation properties. |
| MaxRows | 集計やGROUP BY を含まないクエリで返される最大行数を指定します。 |
| Other | 特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。 |
| PseudoColumns | テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。 |
| Timeout | provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。 |
| UseDisplayNames | If set to true, the provider will use display names for some operations. |
| UserDefinedViews | カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。 |
エラーが発生した後にバッチリクエストを続行するかどうかを指定します(OData 4.0 以降のみ)。
ContinueOnError がtrue に設定されていてバッチでエラーが発生した場合、次のバッチに進み、失敗したバッチのステータス情報を提供します。
ContinueOnError がfalse の場合、エラーが発生するとそれ以降のバッチ処理を停止します。エラーが発生する前に行われたすべての変更はそのまま保持されます。
When using entity definitions define what type of entities to include during metadata discovery.
Specifies whether columns that hold formatted values should be exposed.
If set to true, an extra column named columnname_display is added beside each column. If the column contains a formatted value, the new column exposes that formatted values. If the field does not have a formatted value, columname_display is null.
Indicates if the referenced entity name for a LookUp field should be exposed.
For each key column, an extra one is added to expose the LookUp logical name value. New columns will have "_lookuplogicalname" postfix.
集計やGROUP BY を含まないクエリで返される最大行数を指定します。
このプロパティのデフォルト値である-1 は、クエリに明示的にLIMIT 句が含まれていない限り、行の制限が適用されないことを意味します。 (クエリにLIMIT 句が含まれている場合、クエリで指定された値がMaxRows 設定よりも優先されます。)
MaxRows を0より大きい整数に設定することで、クエリがデフォルトで過度に大きな結果セットを返さないようにします。
このプロパティは、非常に大きなデータセットを返す可能性のあるクエリを実行する際に、パフォーマンスを最適化し、過剰なリソース消費を防ぐのに役立ちます。
特定の問題に対処するため、特殊なシナリオ向けの高度な接続プロパティを指定します。このプロパティは、サポートチームの指示がある場合にのみ使用してください。
このプロパティにより、シニアユーザーはサポートチームのアドバイスに基づいて、特定の状況に対応する隠しプロパティを設定できます。 これらの設定は通常のユースケースには必要ありませんが、特定の要件に対応したり、追加の機能を提供したりすることができます。 複数のプロパティを定義するには、セミコロンで区切られたリストを使用します。
Note:特定のシナリオや問題に対処するためにサポートチームから助言があった場合にのみ、これらのプロパティを設定することを強く推奨します。
| プロパティ | 説明 |
| DefaultColumnSize | データソースがメタデータにカラムの長さを提供しない場合に、文字列フィールドのデフォルトの長さを設定します。デフォルト値は2000です。 |
| ConvertDateTimeToGMT=True | 日時の値を、マシンのローカルタイムではなくGMT グリニッジ標準時に変換します。デフォルト値はFalse(ローカルタイムを使用)です。 |
| RecordToFile=filename | 基底のソケットデータ転送を指定のファイルに記録します。 |
テーブルカラムとして公開する擬似カラムを、'TableName=ColumnName;TableName=ColumnName' の形式の文字列で指定します。
このプロパティを使用すると、Sync App がテーブルカラムとして公開する擬似カラムを定義できます。
個々の擬似カラムを指定するには、以下の形式を使用します。
Table1=Column1;Table1=Column2;Table2=Column3
すべてのテーブルのすべての擬似カラムを含めるには、次を使用してください:
*=*
provider がタイムアウトエラーを返すまでにサーバーからの応答を待機する最大時間を秒単位で指定します。
タイムアウトは、クエリや操作全体ではなくサーバーとの個々の通信に適用されます。 例えば、各ページング呼び出しがタイムアウト制限内に完了する場合、クエリは60秒を超えて実行を続けることができます。
タイムアウトはデフォルトで60秒に設定されています。タイムアウトを無効にするには、このプロパティを0に設定します。
タイムアウトを無効にすると、操作が成功するか、サーバー側のタイムアウト、ネットワークの中断、またはサーバーのリソース制限などの他の条件で失敗するまで無期限に実行されます。
Note: このプロパティは慎重に使用してください。長時間実行される操作がパフォーマンスを低下させたり、応答しなくなる可能性があるためです。
If set to true, the provider will use display names for some operations.
If set to true, the Sync App will use display names for some operations. This property is used only for Entities schema.
カスタムビューを定義するJSON 構成ファイルへのファイルパスを指定します。provider は、このファイルで指定されたビューを自動的に検出して使用します。
UserDefinedViews を使用すると、UserDefinedViews.json というJSON 形式の構成ファイルを通じてカスタムビューを定義および管理できます。 これらのビューはSync App によって自動的に認識され、標準のデータベースビューのようにカスタムSQL クエリを実行できるようになります。 JSON ファイルは、各ビューをルート要素として定義し、その子要素として"query" を持ちます。この"query" にはビューのSQL クエリが含まれています。
次に例を示します。
{
"MyView": {
"query": "SELECT * FROM Accounts WHERE MyColumn = 'value'"
},
"MyView2": {
"query": "SELECT * FROM MyTable WHERE Id IN (1,2,3)"
}
}
このプロパティを使用して、1つのファイルに複数のビューを定義し、ファイルパスを指定できます。
次に例を示します。
UserDefinedViews=C:\Path\To\UserDefinedViews.jsonUserDefinedViews でビューを指定すると、Sync App はそのビューだけを参照します。
詳しくは、ユーザー定義ビュー を参照してください。
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.