Microsoft Dynamics 365 CRM V2
Microsoft Dynamics 365 is a cloud-based business applications platform that provides customer relationship management (CRM). You can use Microsoft Dynamics 365 CRM as a data source when landing or replicating data.
Microsoft Dynamics 365 CRM integration replicates data using the Dynamics 365 Web API.
См. раздел Схема для получения списка объектов, доступных для репликации.Preparing for authentication
To access your data, you need to authenticate the connection with your account credentials.
To retrieve your credentials:
- Log into your Microsoft Azure account.
- Click New registration.
- Set Name to Precog.
- Set the redirect URL to https://precog.cloud and click Register.
- Copy the Application (client) ID and paste it into a secured file.
- Click Endpoints.
- Copy the value in OAuth 2.0 authorization endpoint (v1) — this is your Authorization Endpoint — and paste it into a secured file.
- Copy the value in OAuth 2.0 token endpoint (v1) — this is your Token Endpoint — and paste it into a secured file.
- Click API permissions.
- Click Add a permission > Microsoft Graph > Delegated permissions, select offline_access, and click Add permissions.
- Click Add a permission > Dynamics CRM, select user_impersonation, and click Add permissions.
- Click Grant admin consent for... and click Yes. If you do not have administrator rights, ask your Azure Active Directory administrator to grant consent.
- Click Certificates & secrets > New client secret, set the expiry to Never, and click Add.
Copy the Value — this is your Client Secret — and paste it into a secured file.
- In your Dynamics CRM instance, navigate to Settings > Customizations > Developer Resources.
Copy the Service Root URL and paste it into a secured file.
Creating the connection
Для получения дополнительной информации см. раздел Подключение к приложениям SaaS.
- Заполните необходимые свойства подключения.
Заполните поле Имя подключения.
Установите флажок Открыть метаданные подключения, чтобы определить метаданные для подключения, когда оно будет создано.
Щелкните Создать.
| Setting | Description |
|---|---|
| Data gateway | Выберите шлюз Шлюз движения данных, если этого требует текущий сценарий использования. Примечание к информации Это поле недоступно при использовании подписки Qlik Talend Cloud Starter, так как она не поддерживает Шлюз движения данных. Если используется другой уровень подписки или не требуется использовать Шлюз движения данных, выберите Нет. Для получения информации о преимуществах Шлюз движения данных и о сценариях, требующих его использования, см. раздел Шлюз данных Qlik — движение данных. |
| Client ID | Client ID. |
| Authorization Endpoint | Authorization endpoint. |
| Token Endpoint | Token endpoint. |
| Client Secret | Client secret. |
| Service Root URL | Service root URL. |
| Resource | The first part of your Service Root URL.
Example: https://example.crm.dynamics.com |
Schema
Schemas and naming conventions can change from version to version. Verify your version before continuing.
The schema information displayed below is for version 2.
Datasets are discovered dynamically from the Microsoft Dynamics 365 CRM metadata endpoint. All standard Dynamics 365 entities are supported.
Depending on your destination, table and column names may not appear as they are outlined below.
| Replication Method | CDC |
| Replication Key | modifiedOn |