Connect ADF to on-premise D365

Tim Goodsell (AP) 21 Reputation points
2024-11-11T06:29:55.52+00:00

Is there a good article that explains fully how one can connect ADF to an on-premise D365 instance that clearly explains how to set up the Self-Hosted IR and the recommended linked service option values (i.e. authentication type) when extracting data from it (via Copy)

Azure Data Factory
Azure Data Factory
An Azure service for ingesting, preparing, and transforming data at scale.
11,010 questions
{count} votes

Accepted answer
  1. Chandra Boorla 4,690 Reputation points Microsoft Vendor
    2024-11-11T09:06:01.6666667+00:00

    Hi @Tim Goodsell (AP)

    Greetings & Welcome to Microsoft Q&A forum! Thanks for posting your query!

    To connect Azure Data Factory (ADF) to an on-premises Dynamics 365 instance, you can use a Self-Hosted Integration Runtime (IR) and a Dynamics 365 linked service.

    Here are the steps to set up the Self-Hosted IR and the Dynamics 365 linked service:

    Set up the Self-Hosted IR:

    • Install the Self-Hosted IR on a machine that has access to the on-premises Dynamics 365 instance.
    • Register the Self-Hosted IR in the Azure portal and configure the connectivity settings.
    • Ensure that the machine running the Self-Hosted IR has the necessary permissions to access the Dynamics 365 instance.

    For more details, please refer Microsoft documentation: Create and configure a self-hosted integration runtime.

    Set up the Dynamics 365 linked service:

    • In the Azure portal, create a new linked service of type "Dynamics 365".
    • Provide the necessary connection details such as the Dynamics 365 instance URL, authentication type, and credentials.
    • Test the connection to ensure that the linked service is configured correctly.

    For additional information, please refer: Copy and transform data in Dynamics 365 (Microsoft Dataverse) or Dynamics CRM using Azure Data Factory or Azure Synapse Analytics.

    Once you have set up the Self-Hosted IR and the Dynamics 365 linked service, you can use the Copy activity in ADF to extract data from the Dynamics 365 instance.

    Please refer, please refer this article for additional insights: Copy data from D365 Finance and SC using Azure Data Factory

    I hope this information helps. Please do let us know if you have any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.


1 additional answer

Sort by: Most helpful
  1. Pinaki Ghatak 5,305 Reputation points Microsoft Employee
    2024-11-11T10:10:43.32+00:00

    Hi @Tim Goodsell (AP)

    To connect Azure Data Factory (ADF) to an on-premises Dynamics 365 instance, you need to create a Self-Hosted Integration Runtime (IR) and configure a linked service. Here are the steps to follow:

    1. First, you need to create a Self-Hosted IR. You can follow the instructions in this Microsoft documentation to create a Self-Hosted IR.
    2. Once you have created the Self-Hosted IR, you need to create a linked service to connect to your on-premises Dynamics 365 instance. You can follow the instructions in this Microsoft documentation to create a linked service.
    3. When creating the linked service, you need to select the appropriate authentication type based on your Dynamics 365 instance. If you are using an on-premises Dynamics 365 instance, you can use the Windows authentication type. If you are using a cloud-based Dynamics 365 instance, you can use the OAuth authentication type.
    4. After you have created the linked service, you can use the Copy activity in ADF to extract data from your on-premises Dynamics 365 instance. You can follow the instructions in this Microsoft documentation to use the Copy activity.

    I hope that this response has addressed your query and helped you overcome your challenges. If so, please mark this response as Answered. This will not only acknowledge our efforts, but also assist other community members who may be looking for similar solutions.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.