![]() |
VOOZH | about |
This article illustrates using the Dynamics 365 Business Central ADO.NET Data Provider within a SQL Server SSIS workflow for the direct transfer of Dynamics 365 Business Central data to a Microsoft SQL Server database. It's worth noting that the identical process detailed below is applicable to any CData ADO.NET Data Providers, enabling the direct connection of SQL Server with remote data through SSIS.
In the Data Flow screen, add an ADO.NET Source and an OLE DB Destination from the toolbox.
๐ The components used in the data task in this example.In the connection manager, enter the connection details for Dynamics 365 Business Central data.
To authenticate to Dynamics 365 Business Central, you must select an AuthScheme and provide the required properties (OAuth by default).
Specify the . If you have multiple companies in your organization, you must also specify the to indicate which company you would like to connect to. does not need to be specified if you have only one company.
To authenticate with an Access Key, set AuthScheme to "AccessKey" and provide the and properties.
To obtain the and values, navigate to the Users page in Dynamics 365 Business Central and then click on Edit. The User Name and Web Service Access Key values are what you will enter as the and connection string properties. Note that the User Name is not your email address. It is a shortened user name.
If you wish to authenticate through other methods, refer to the Help documentation.
๐ Connection properties in the Connection Manager dialog. (Salesforce is shown.)Open the DataReader editor and set the following information:
SELECT accountid, Name FROM Accounts
Open the OLE DB Destination and enter the following information in the Destination Component Editor.
Configure any properties you wish on the Mappings screen.
๐ Input and destination columns in the OLE DB Destination Editor.Download a free trial of the Dynamics 365 Business Central Data Provider to get started:
Download NowLearn more:
๐ Dynamics 365 Business Central (NAV) IconRapidly create and deploy powerful .NET applications that integrate with Dynamics 365 Business Central data including Items, Sales Orders, Purchase Orders, and more!