Replicating Data from Microsoft Dynamics NAV On Premises to Dynamics Business Central SaaS

Replicating Data from Microsoft Dynamics NAV On Premises to Dynamics Business Central SaaS

To replicate a database from Microsoft Dynamics NAV on premises to Dynamics Business Central SaaS, follow these steps:

NOTE: In this example, a Microsoft Dynamics NAV (on premises) Name Database has been restored as BC SaaS Testing.

  1. Copy the company “Cronus USA” using the Copy function, Create a New Company, and name it BCSaasTesting.
  2. Open the Business Central Tenant and login with the user name provided.Figure 1 – Microsoft Dynamics Business Central login
  3. Create the Sandbox environment.
    • Search – Sandxxxxxxxxxxxxxxxxxx
    • Click “Sandbox Environment (Preview)”

Figure 2- Creating a sandbox environment in Microsoft Dynamics Business Central
Figure 2- Creating a sandbox environment in Microsoft Dynamics Business Central
The Sandbox Environment (Preview) window will open.
Figure 3 – The sandbox environment Preview in Microsoft Dynamics Business Central
Figure 3 – The sandbox environment Preview in Microsoft Dynamics Business Central

  1. Click “Create” (to create the sandbox).
    You are now in the Sandbox environment.
    Figure 4 – The sandbox environment in Microsoft Dynamics Business Central
    Figure 4 – The sandbox environment in Microsoft Dynamics Business Central
  2. Click “Assisted Setup.”
  3. Click “Set up Intelligent Cloud.”
  4. Accept the INTELLIGENT CLOUD SETUP and click “Next.”
  5. Select the Product: Click on the 3 dots to get a list of Products.
  6. Select “Dynamics 365 Business Central” and click “OK;” then click “Next.”
  7. Select the SQL Configuration from the drop down and select “SQL Server.
  8. Enter the SQL Connection String. There are 2 ways to do this:
    • Server=WinSrv1SQL2008;Database=myDataBase;UID=myUsername;PWD=myPassword;
    • or Data Source= WinSrv1SQL2008;Initial Catalog=myDataBase;User Id=myUsername;Password=myPassword;

This example uses the first option:
Server=bcdev01NAVDEMO;Database= BC Saas Testing; UID=sa;PWD=xxx;

  1. Paste this string in SQL Connection String and click “Next”.
  2. ”Click “Download the Self Hosted Integration Runtime (SHIR).”
  3. Copy the Authentication Key and put it in your notepad.
  4. Self-Hosted Integration Runtime (SHIR) is downloaded. Run and Install the Setup.
    Figure 5 – Self-hosted Integration Runtime Setup Wizard in Microsoft Dynamics Business Central
    Figure 5 – Self-hosted Integration Runtime Setup Wizard in Microsoft Dynamics Business Central
  5. When the Setup is installed, click “Finish.”
  6. Paste the Authentication key you copied into your notepad and click “Register.”
  7. Click “Finish.”
    Integration Runtime has been successfully registered.
  8. Click “Launch Configuration Manager.”
    Microsoft Integration Runtime Configuration Manager window will open to Test Connection.
  9. Click “Test.”
  10. Click “Next.”
    The system will ask you which company you want to replicate.
  11. Select the company you want to replicate and click “Next.”
  12. Activate automatic schedule to replicate the Data by toggling the button. Click “Next.”
  13. Click “Finish” to replicate the company.
  14. Type in the first few letters of “Intelligent Cloud Management and click on it when it appears.
  15.  Initialization of the company is completed. The company is replicated, but as now it’s blank.
  16. To set the system manually to replicate the data, click “Action,” then click “Run Replication Now.”
  17. Note the time you started the data replication. Time on Virtual Machine: 2:35 PM.
  18. The system will ask “Are you sure you want to trigger replication?” Click “Yes.”
  19. A box with the message, “Replication has been successfully triggered; you can track the status on the Management page” will appear. Click “OK.”
  20. On the Intelligent Cloud Management page, you can check the completion of the Data replication status.
    Figure 6 – Intelligent Cloud Management page in Microsoft Dynamics Business Central
    Figure 6 – Intelligent Cloud Management page in Microsoft Dynamics Business Central
  21. Refresh the page in between to check the status.
    Figure 7 – Refreshing the status of the Intelligent Cloud Management page in Microsoft Dynamics Business Central
    Figure 7 – Refreshing the status of the Intelligent Cloud Management page in Microsoft Dynamics Business Central
    The process ends @ 2:42 PM. The data is replicated.
  22. Click the tile “482 Tables Successful” on the right side of the page to find which table data was replicated.
    Figure 8  – Table data successfully replicated in Microsoft Dynamics Business Central
    Figure 8  – Table data successfully replicated in Microsoft Dynamics Business Central
  23. Click tile “12 Tables Failed” to find out which table data was not replicated.
    Figure 9  – Table data NOT successfully replicated in Microsoft Dynamics Business Central
    Figure 9  – Table data NOT successfully replicated in Microsoft Dynamics Business Central

Why did the data in these 12 tables fail to replicate in this example? This example is an on-premises version of Business Central, so either a CU has been applied to the on-premises system before the update made it to the cloud tenant, or the cloud tenant has an update for which the corresponding CU has not been applied on premises. 

If you have any questions about this process, contact ArcherPoint.

Read more “How To” blogs from ArcherPoint for practical advice on using Microsoft Dynamics Business Central or NAV. If you are interested in NAV/Business Central development, check out our collection of NAV Development Blogs.

Trending Posts

Stay Informed

Choose Your Preferences
First Name
*required
Last Name
*required
Email
*required
Subscription Options
Your Privacy is Guaranteed